-rw-r--r-- | korganizer/mainwindow.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index 076ab94..5b9f903 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h @@ -7,2 +7,3 @@ #include <qfile.h> +#include <qmenubar.h> #include <qtextstream.h> @@ -25,3 +26,2 @@ class KSyncProfile; class QPEToolBar; -class QPEMenuBar; @@ -32,2 +32,9 @@ class CalendarLocal; +class KOMenuBar : public QMenuBar +{ + public: + KOMenuBar( QWidget *parent=0 ): QMenuBar (parent ) {;} + QSize sizeHint () const{ qDebug("sizejint ");return QSize ( 40,25 );} +}; + using namespace KCal; @@ -52,2 +59,3 @@ class MainWindow : public QMainWindow void setCaptionToDates(); + void weekAction(); void about(); @@ -122,3 +130,6 @@ class MainWindow : public QMainWindow QAction *mNewSubTodoAction; - QPEMenuBar *menuBarWeek; + QAction *mWeekAction; + QFont mWeekFont; + QPixmap mWeekPixmap; + QColor mWeekBgColor; |