summaryrefslogtreecommitdiffabout
path: root/korganizer/mainwindow.h
Side-by-side diff
Diffstat (limited to 'korganizer/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/mainwindow.h15
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
@@ -6,4 +6,5 @@
#include <qdict.h>
#include <qfile.h>
+#include <qmenubar.h>
#include <qtextstream.h>
#include <qregexp.h>
@@ -24,5 +25,4 @@ class KSyncProfile;
#endif
class QPEToolBar;
-class QPEMenuBar;
@@ -31,4 +31,11 @@ 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;
@@ -51,4 +58,5 @@ class MainWindow : public QMainWindow
protected slots:
void setCaptionToDates();
+ void weekAction();
void about();
void licence();
@@ -121,5 +129,8 @@ class MainWindow : public QMainWindow
CalendarView *mView;
QAction *mNewSubTodoAction;
- QPEMenuBar *menuBarWeek;
+ QAction *mWeekAction;
+ QFont mWeekFont;
+ QPixmap mWeekPixmap;
+ QColor mWeekBgColor;
QAction *mShowAction;