-rw-r--r-- | korganizer/koagendaitem.cpp | 8 | ||||
-rw-r--r-- | korganizer/kodaymatrix.cpp | 2 | ||||
-rw-r--r-- | korganizer/kolistview.cpp | 8 | ||||
-rw-r--r-- | korganizer/kolistview.h | 3 | ||||
-rw-r--r-- | korganizer/komonthview.cpp | 6 | ||||
-rw-r--r-- | korganizer/kotodoview.cpp | 8 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 6 | ||||
-rw-r--r-- | korganizer/mainwindow.h | 1 |
8 files changed, 35 insertions, 7 deletions
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp index 1801d7e..df2e478 100644 --- a/korganizer/koagendaitem.cpp +++ b/korganizer/koagendaitem.cpp | |||
@@ -146,26 +146,30 @@ void KOAgendaItem::init ( Incidence *incidence, QDate qd ) | |||
146 | mSelected = true; | 146 | mSelected = true; |
147 | select(false); | 147 | select(false); |
148 | QFontMetrics fontinf(KOPrefs::instance()->mAgendaViewFont); | 148 | QFontMetrics fontinf(KOPrefs::instance()->mAgendaViewFont); |
149 | mFontPixelSize = fontinf.height();; | 149 | mFontPixelSize = fontinf.height();; |
150 | hide(); | 150 | hide(); |
151 | xPaintCoord = -1; | 151 | xPaintCoord = -1; |
152 | yPaintCoord = -1; | 152 | yPaintCoord = -1; |
153 | } | 153 | } |
154 | 154 | ||
155 | 155 | ||
156 | KOAgendaItem::~KOAgendaItem() | 156 | KOAgendaItem::~KOAgendaItem() |
157 | { | 157 | { |
158 | // qDebug("deleteKOAgendaItem::~KOAgendaItem( "); | 158 | #if QT_VERSION >= 0x030000 |
159 | // delete mKOAgendaItemWhatsThis; | 159 | |
160 | #else | ||
161 | delete mKOAgendaItemWhatsThis; | ||
162 | #endif | ||
163 | |||
160 | } | 164 | } |
161 | 165 | ||
162 | void KOAgendaItem::recreateIncidence() | 166 | void KOAgendaItem::recreateIncidence() |
163 | { | 167 | { |
164 | #if 0 | 168 | #if 0 |
165 | Incidence* newInc = mIncidence->clone(); | 169 | Incidence* newInc = mIncidence->clone(); |
166 | newInc->recreate(); | 170 | newInc->recreate(); |
167 | if ( mIncidence->doesRecur() ) { | 171 | if ( mIncidence->doesRecur() ) { |
168 | mIncidence->addExDate( mDate ); | 172 | mIncidence->addExDate( mDate ); |
169 | newInc->recurrence()->unsetRecurs(); | 173 | newInc->recurrence()->unsetRecurs(); |
170 | int len = mIncidence->dtStart().secsTo( ((Event*)mIncidence)->dtEnd()); | 174 | int len = mIncidence->dtStart().secsTo( ((Event*)mIncidence)->dtEnd()); |
171 | QTime tim = mIncidence->dtStart().time(); | 175 | QTime tim = mIncidence->dtStart().time(); |
diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp index c32a2a4..53ebdb2 100644 --- a/korganizer/kodaymatrix.cpp +++ b/korganizer/kodaymatrix.cpp | |||
@@ -54,25 +54,25 @@ | |||
54 | // ============================================================================ | 54 | // ============================================================================ |
55 | 55 | ||
56 | DynamicTip::DynamicTip( QWidget * parent ) | 56 | DynamicTip::DynamicTip( QWidget * parent ) |
57 | : QToolTip( parent ) | 57 | : QToolTip( parent ) |
58 | { | 58 | { |
59 | matrix = (KODayMatrix*)parent; | 59 | matrix = (KODayMatrix*)parent; |
60 | } | 60 | } |
61 | 61 | ||
62 | class KODaymatrixWhatsThis :public QWhatsThis | 62 | class KODaymatrixWhatsThis :public QWhatsThis |
63 | { | 63 | { |
64 | public: | 64 | public: |
65 | KODaymatrixWhatsThis( KODayMatrix* view ) : QWhatsThis( view ),_view (view) { ;}; | 65 | KODaymatrixWhatsThis( KODayMatrix* view ) : QWhatsThis( view ),_view (view) { ;}; |
66 | ~KODaymatrixWhatsThis() { qDebug("DELETE KODaymatrixWhatsThis "); }; | 66 | ~KODaymatrixWhatsThis() { ; }; |
67 | 67 | ||
68 | protected: | 68 | protected: |
69 | virtual QString text( const QPoint& p ) | 69 | virtual QString text( const QPoint& p ) |
70 | { | 70 | { |
71 | return _view->getWhatsThisText( p ) ; | 71 | return _view->getWhatsThisText( p ) ; |
72 | } | 72 | } |
73 | private: | 73 | private: |
74 | KODayMatrix * _view; | 74 | KODayMatrix * _view; |
75 | }; | 75 | }; |
76 | 76 | ||
77 | void DynamicTip::maybeTip( const QPoint &pos ) | 77 | void DynamicTip::maybeTip( const QPoint &pos ) |
78 | { | 78 | { |
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index fd86095..b94916a 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp | |||
@@ -252,25 +252,25 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent, | |||
252 | mListView->setColumnAlignment(0,AlignLeft); | 252 | mListView->setColumnAlignment(0,AlignLeft); |
253 | mListView->setColumnAlignment(1,AlignLeft); | 253 | mListView->setColumnAlignment(1,AlignLeft); |
254 | mListView->setColumnAlignment(2,AlignHCenter); | 254 | mListView->setColumnAlignment(2,AlignHCenter); |
255 | mListView->setColumnAlignment(3,AlignLeft); | 255 | mListView->setColumnAlignment(3,AlignLeft); |
256 | mListView->setColumnAlignment(4,AlignHCenter); | 256 | mListView->setColumnAlignment(4,AlignHCenter); |
257 | mListView->setColumnAlignment(5,AlignLeft); | 257 | mListView->setColumnAlignment(5,AlignLeft); |
258 | mListView->setColumnAlignment(6,AlignLeft); | 258 | mListView->setColumnAlignment(6,AlignLeft); |
259 | mListView->setColumnAlignment(7,AlignLeft); | 259 | mListView->setColumnAlignment(7,AlignLeft); |
260 | mListView->setColumnAlignment(8,AlignLeft); | 260 | mListView->setColumnAlignment(8,AlignLeft); |
261 | mListView->setColumnAlignment(9,AlignLeft); | 261 | mListView->setColumnAlignment(9,AlignLeft); |
262 | mListView->setColumnAlignment(10,AlignLeft); | 262 | mListView->setColumnAlignment(10,AlignLeft); |
263 | mListView->setColumnWidthMode(10, QListView::Manual); | 263 | mListView->setColumnWidthMode(10, QListView::Manual); |
264 | new KOListViewWhatsThis(mListView->viewport(),this); | 264 | mKOListViewWhatsThis = new KOListViewWhatsThis(mListView->viewport(),this); |
265 | 265 | ||
266 | int iii = 0; | 266 | int iii = 0; |
267 | for ( iii = 0; iii< 10 ; ++iii ) | 267 | for ( iii = 0; iii< 10 ; ++iii ) |
268 | mListView->setColumnWidthMode( iii, QListView::Manual ); | 268 | mListView->setColumnWidthMode( iii, QListView::Manual ); |
269 | 269 | ||
270 | QBoxLayout *layoutTop = new QVBoxLayout(this); | 270 | QBoxLayout *layoutTop = new QVBoxLayout(this); |
271 | layoutTop->addWidget(mListView); | 271 | layoutTop->addWidget(mListView); |
272 | mListView->setFont ( KOPrefs::instance()->mListViewFont ); | 272 | mListView->setFont ( KOPrefs::instance()->mListViewFont ); |
273 | mPopupMenu = eventPopup(); | 273 | mPopupMenu = eventPopup(); |
274 | mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), | 274 | mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), |
275 | i18n("Select all"),this, | 275 | i18n("Select all"),this, |
276 | SLOT(allSelection()),true); | 276 | SLOT(allSelection()),true); |
@@ -329,24 +329,29 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent, | |||
329 | this,SLOT(popupMenu(QListViewItem *,const QPoint &,int))); | 329 | this,SLOT(popupMenu(QListViewItem *,const QPoint &,int))); |
330 | QObject::connect(mListView,SIGNAL(currentChanged(QListViewItem *)), | 330 | QObject::connect(mListView,SIGNAL(currentChanged(QListViewItem *)), |
331 | SLOT(processSelectionChange(QListViewItem *))); | 331 | SLOT(processSelectionChange(QListViewItem *))); |
332 | QObject::connect(mListView,SIGNAL(showIncidence(Incidence *)), | 332 | QObject::connect(mListView,SIGNAL(showIncidence(Incidence *)), |
333 | SIGNAL(showIncidenceSignal(Incidence *)) ); | 333 | SIGNAL(showIncidenceSignal(Incidence *)) ); |
334 | 334 | ||
335 | readSettings(KOGlobals::config(),"KOListView Layout"); | 335 | readSettings(KOGlobals::config(),"KOListView Layout"); |
336 | } | 336 | } |
337 | 337 | ||
338 | KOListView::~KOListView() | 338 | KOListView::~KOListView() |
339 | { | 339 | { |
340 | delete mPopupMenu; | 340 | delete mPopupMenu; |
341 | #if QT_VERSION >= 0x030000 | ||
342 | |||
343 | #else | ||
344 | delete mKOListViewWhatsThis; | ||
345 | #endif | ||
341 | } | 346 | } |
342 | 347 | ||
343 | QString KOListView::getWhatsThisText(QPoint p) | 348 | QString KOListView::getWhatsThisText(QPoint p) |
344 | { | 349 | { |
345 | KOListViewItem* item = ( KOListViewItem* ) mListView->itemAt( p ); | 350 | KOListViewItem* item = ( KOListViewItem* ) mListView->itemAt( p ); |
346 | if ( item ) | 351 | if ( item ) |
347 | return KIncidenceFormatter::instance()->getFormattedText( item->data(), | 352 | return KIncidenceFormatter::instance()->getFormattedText( item->data(), |
348 | KOPrefs::instance()->mWTshowDetails, | 353 | KOPrefs::instance()->mWTshowDetails, |
349 | KOPrefs::instance()->mWTshowCreated, | 354 | KOPrefs::instance()->mWTshowCreated, |
350 | KOPrefs::instance()->mWTshowChanged); | 355 | KOPrefs::instance()->mWTshowChanged); |
351 | return i18n("That is the list view" ); | 356 | return i18n("That is the list view" ); |
352 | 357 | ||
@@ -1172,24 +1177,25 @@ void KOListViewListView::keyPressEvent ( QKeyEvent *e) | |||
1172 | } | 1177 | } |
1173 | } | 1178 | } |
1174 | e->accept(); | 1179 | e->accept(); |
1175 | } | 1180 | } |
1176 | break; | 1181 | break; |
1177 | default: | 1182 | default: |
1178 | e->ignore(); | 1183 | e->ignore(); |
1179 | } | 1184 | } |
1180 | } | 1185 | } |
1181 | KOListViewListView::KOListViewListView(KOListView * lv ) | 1186 | KOListViewListView::KOListViewListView(KOListView * lv ) |
1182 | : KListView( lv, "kolistlistview", false ) | 1187 | : KListView( lv, "kolistlistview", false ) |
1183 | { | 1188 | { |
1189 | mYMousePos = 0; | ||
1184 | mPopupTimer = new QTimer(this); | 1190 | mPopupTimer = new QTimer(this); |
1185 | connect(mPopupTimer , SIGNAL(timeout()), this, SLOT(popupMenu())); | 1191 | connect(mPopupTimer , SIGNAL(timeout()), this, SLOT(popupMenu())); |
1186 | #ifndef DESKTOP_VERSION | 1192 | #ifndef DESKTOP_VERSION |
1187 | //QPEApplication::setStylusOperation(viewport(), QPEApplication::RightOnHold ); | 1193 | //QPEApplication::setStylusOperation(viewport(), QPEApplication::RightOnHold ); |
1188 | #endif | 1194 | #endif |
1189 | setSelectionMode( QListView::Multi ); | 1195 | setSelectionMode( QListView::Multi ); |
1190 | setMultiSelection( true); | 1196 | setMultiSelection( true); |
1191 | } | 1197 | } |
1192 | void KOListViewListView::contentsMouseDoubleClickEvent(QMouseEvent *e) | 1198 | void KOListViewListView::contentsMouseDoubleClickEvent(QMouseEvent *e) |
1193 | { | 1199 | { |
1194 | if (!e) return; | 1200 | if (!e) return; |
1195 | QPoint vp = contentsToViewport(e->pos()); | 1201 | QPoint vp = contentsToViewport(e->pos()); |
diff --git a/korganizer/kolistview.h b/korganizer/kolistview.h index eb5bb6e..2051d60 100644 --- a/korganizer/kolistview.h +++ b/korganizer/kolistview.h | |||
@@ -33,25 +33,25 @@ | |||
33 | #ifndef DESKTOP_VERSION | 33 | #ifndef DESKTOP_VERSION |
34 | #include <qtopia/ir.h> | 34 | #include <qtopia/ir.h> |
35 | #else | 35 | #else |
36 | #define Ir char | 36 | #define Ir char |
37 | #endif | 37 | #endif |
38 | #include <libkcal/incidence.h> | 38 | #include <libkcal/incidence.h> |
39 | 39 | ||
40 | #include "koeventview.h" | 40 | #include "koeventview.h" |
41 | #include "customlistviewitem.h" | 41 | #include "customlistviewitem.h" |
42 | 42 | ||
43 | using namespace KCal; | 43 | using namespace KCal; |
44 | 44 | ||
45 | 45 | class KOListViewWhatsThis; | |
46 | 46 | ||
47 | #include <qpushbutton.h> | 47 | #include <qpushbutton.h> |
48 | #include <qlayout.h> | 48 | #include <qlayout.h> |
49 | #include <qdialog.h> | 49 | #include <qdialog.h> |
50 | #include <qtimer.h> | 50 | #include <qtimer.h> |
51 | #include <qcombobox.h> | 51 | #include <qcombobox.h> |
52 | #include <qspinbox.h> | 52 | #include <qspinbox.h> |
53 | #include <qtooltip.h> | 53 | #include <qtooltip.h> |
54 | #include <qcheckbox.h> | 54 | #include <qcheckbox.h> |
55 | #include <qhbox.h> | 55 | #include <qhbox.h> |
56 | #include <qlabel.h> | 56 | #include <qlabel.h> |
57 | #include <kiconloader.h> | 57 | #include <kiconloader.h> |
@@ -291,21 +291,22 @@ class KOListView : public KOEventView | |||
291 | void popupMenu(QListViewItem *item,const QPoint &,int); | 291 | void popupMenu(QListViewItem *item,const QPoint &,int); |
292 | 292 | ||
293 | protected slots: | 293 | protected slots: |
294 | void processSelectionChange(QListViewItem *); | 294 | void processSelectionChange(QListViewItem *); |
295 | 295 | ||
296 | protected: | 296 | protected: |
297 | void writeToFile( bool iCal ); | 297 | void writeToFile( bool iCal ); |
298 | void addEvents(QPtrList<Event> eventList); | 298 | void addEvents(QPtrList<Event> eventList); |
299 | void addIncidence(Incidence *); | 299 | void addIncidence(Incidence *); |
300 | KOListViewItem *getItemForEvent(Event *event); | 300 | KOListViewItem *getItemForEvent(Event *event); |
301 | 301 | ||
302 | private: | 302 | private: |
303 | KOListViewWhatsThis *mKOListViewWhatsThis; | ||
303 | KOListViewListView *mListView; | 304 | KOListViewListView *mListView; |
304 | KOEventPopupMenu *mPopupMenu; | 305 | KOEventPopupMenu *mPopupMenu; |
305 | KOListViewItem *mActiveItem; | 306 | KOListViewItem *mActiveItem; |
306 | QDict<Incidence> mUidDict; | 307 | QDict<Incidence> mUidDict; |
307 | QDate mStartDate; | 308 | QDate mStartDate; |
308 | void keyPressEvent ( QKeyEvent * ) ; | 309 | void keyPressEvent ( QKeyEvent * ) ; |
309 | }; | 310 | }; |
310 | 311 | ||
311 | #endif | 312 | #endif |
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index ae61db6..7927307 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp | |||
@@ -80,25 +80,29 @@ KNoScrollListBox::KNoScrollListBox(QWidget *parent,const char *name) | |||
80 | : QListBox(parent, name, WRepaintNoErase) | 80 | : QListBox(parent, name, WRepaintNoErase) |
81 | { | 81 | { |
82 | #ifndef DESKTOP_VERSION | 82 | #ifndef DESKTOP_VERSION |
83 | QPEApplication::setStylusOperation( viewport(), QPEApplication::RightOnHold ); | 83 | QPEApplication::setStylusOperation( viewport(), QPEApplication::RightOnHold ); |
84 | #endif | 84 | #endif |
85 | mWT = new KNOWhatsThis(this); | 85 | mWT = new KNOWhatsThis(this); |
86 | resetOnFocusIn = true; | 86 | resetOnFocusIn = true; |
87 | setVScrollBarMode(QScrollView::AlwaysOff); | 87 | setVScrollBarMode(QScrollView::AlwaysOff); |
88 | setHScrollBarMode(QScrollView::AlwaysOff); | 88 | setHScrollBarMode(QScrollView::AlwaysOff); |
89 | } | 89 | } |
90 | KNoScrollListBox::~KNoScrollListBox() | 90 | KNoScrollListBox::~KNoScrollListBox() |
91 | { | 91 | { |
92 | 92 | #if QT_VERSION >= 0x030000 | |
93 | |||
94 | #else | ||
95 | delete mWT; | ||
96 | #endif | ||
93 | } | 97 | } |
94 | 98 | ||
95 | 99 | ||
96 | void KNoScrollListBox::focusInEvent ( QFocusEvent * e ) | 100 | void KNoScrollListBox::focusInEvent ( QFocusEvent * e ) |
97 | { | 101 | { |
98 | QListBox::focusInEvent ( e ); | 102 | QListBox::focusInEvent ( e ); |
99 | if ( count() ){ | 103 | if ( count() ){ |
100 | int ci = currentItem(); | 104 | int ci = currentItem(); |
101 | if ( ci < 0 ) ci = 0; | 105 | if ( ci < 0 ) ci = 0; |
102 | 106 | ||
103 | setCurrentItem( ci ); | 107 | setCurrentItem( ci ); |
104 | setSelected ( ci, true ); | 108 | setSelected ( ci, true ); |
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index f26d16d..e95039d 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp | |||
@@ -579,25 +579,31 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : | |||
579 | connect( mTodoListView, SIGNAL(unparentTodoSignal(Todo *) ), SIGNAL(unparentTodoSignal(Todo *) )); | 579 | connect( mTodoListView, SIGNAL(unparentTodoSignal(Todo *) ), SIGNAL(unparentTodoSignal(Todo *) )); |
580 | connect( mTodoListView, SIGNAL( deleteTodo(Todo *) ), SIGNAL(deleteTodoSignal(Todo *) )); | 580 | connect( mTodoListView, SIGNAL( deleteTodo(Todo *) ), SIGNAL(deleteTodoSignal(Todo *) )); |
581 | 581 | ||
582 | connect( mTodoListView, SIGNAL(selectionChanged() ), | 582 | connect( mTodoListView, SIGNAL(selectionChanged() ), |
583 | SLOT( processSelectionChange() ) ); | 583 | SLOT( processSelectionChange() ) ); |
584 | connect( mQuickAdd, SIGNAL( returnPressed () ), | 584 | connect( mQuickAdd, SIGNAL( returnPressed () ), |
585 | SLOT( addQuickTodo() ) ); | 585 | SLOT( addQuickTodo() ) ); |
586 | 586 | ||
587 | } | 587 | } |
588 | 588 | ||
589 | KOTodoView::~KOTodoView() | 589 | KOTodoView::~KOTodoView() |
590 | { | 590 | { |
591 | // delete mKOTodoViewWhatsThis; | 591 | |
592 | #if QT_VERSION >= 0x030000 | ||
593 | |||
594 | #else | ||
595 | delete mKOTodoViewWhatsThis; | ||
596 | #endif | ||
597 | |||
592 | delete mDocPrefs; | 598 | delete mDocPrefs; |
593 | } | 599 | } |
594 | QString KOTodoView::getWhatsThisText(QPoint p) | 600 | QString KOTodoView::getWhatsThisText(QPoint p) |
595 | { | 601 | { |
596 | KOTodoViewItem* item = ( KOTodoViewItem* ) mTodoListView->itemAt( p ); | 602 | KOTodoViewItem* item = ( KOTodoViewItem* ) mTodoListView->itemAt( p ); |
597 | if ( item ) | 603 | if ( item ) |
598 | return KIncidenceFormatter::instance()->getFormattedText( item->todo(), | 604 | return KIncidenceFormatter::instance()->getFormattedText( item->todo(), |
599 | KOPrefs::instance()->mWTshowDetails, | 605 | KOPrefs::instance()->mWTshowDetails, |
600 | KOPrefs::instance()->mWTshowCreated, | 606 | KOPrefs::instance()->mWTshowCreated, |
601 | KOPrefs::instance()->mWTshowChanged); | 607 | KOPrefs::instance()->mWTshowChanged); |
602 | return i18n("That is the todo view" ); | 608 | return i18n("That is the todo view" ); |
603 | 609 | ||
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 87cef20..68e5e5a 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -581,24 +581,30 @@ void MainWindow::recieve( const QCString& cmsg, const QByteArray& data ) | |||
581 | 581 | ||
582 | } | 582 | } |
583 | 583 | ||
584 | showMaximized(); | 584 | showMaximized(); |
585 | raise(); | 585 | raise(); |
586 | } | 586 | } |
587 | 587 | ||
588 | QPixmap MainWindow::loadPixmap( QString name ) | 588 | QPixmap MainWindow::loadPixmap( QString name ) |
589 | { | 589 | { |
590 | return SmallIcon( name ); | 590 | return SmallIcon( name ); |
591 | 591 | ||
592 | } | 592 | } |
593 | void MainWindow::setUsesBigPixmaps ( bool b ) | ||
594 | { | ||
595 | qDebug("KO: MainWindow::setUsesBigPixmaps %d called", b); | ||
596 | if ( b ) | ||
597 | qDebug("KO: BigPixmaps are not supported "); | ||
598 | } | ||
593 | void MainWindow::initActions() | 599 | void MainWindow::initActions() |
594 | { | 600 | { |
595 | //KOPrefs::instance()->mShowFullMenu | 601 | //KOPrefs::instance()->mShowFullMenu |
596 | iconToolBar->clear(); | 602 | iconToolBar->clear(); |
597 | KOPrefs *p = KOPrefs::instance(); | 603 | KOPrefs *p = KOPrefs::instance(); |
598 | //QPEMenuBar *menuBar1;// = new QPEMenuBar( iconToolBar ); | 604 | //QPEMenuBar *menuBar1;// = new QPEMenuBar( iconToolBar ); |
599 | 605 | ||
600 | QPopupMenu *viewMenu = new QPopupMenu( this ); | 606 | QPopupMenu *viewMenu = new QPopupMenu( this ); |
601 | QPopupMenu *actionMenu = new QPopupMenu( this ); | 607 | QPopupMenu *actionMenu = new QPopupMenu( this ); |
602 | QPopupMenu *importMenu = new QPopupMenu( this ); | 608 | QPopupMenu *importMenu = new QPopupMenu( this ); |
603 | QPopupMenu *importMenu_X = new QPopupMenu( this ); | 609 | QPopupMenu *importMenu_X = new QPopupMenu( this ); |
604 | QPopupMenu *exportMenu_X = new QPopupMenu( this ); | 610 | QPopupMenu *exportMenu_X = new QPopupMenu( this ); |
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index 8fd3d24..6895e36 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h | |||
@@ -34,24 +34,25 @@ using namespace KCal; | |||
34 | 34 | ||
35 | class MainWindow : public QMainWindow | 35 | class MainWindow : public QMainWindow |
36 | { | 36 | { |
37 | Q_OBJECT | 37 | Q_OBJECT |
38 | public: | 38 | public: |
39 | MainWindow( QWidget *parent = 0, const char *name = 0, QString command = ""); | 39 | MainWindow( QWidget *parent = 0, const char *name = 0, QString command = ""); |
40 | ~MainWindow(); | 40 | ~MainWindow(); |
41 | bool beamReceiveEnabled(); | 41 | bool beamReceiveEnabled(); |
42 | static QString defaultFileName(); | 42 | static QString defaultFileName(); |
43 | static QString syncFileName(); | 43 | static QString syncFileName(); |
44 | static QString resourcePath(); | 44 | static QString resourcePath(); |
45 | public slots: | 45 | public slots: |
46 | void setUsesBigPixmaps ( bool ); | ||
46 | void setCaption ( const QString & ); | 47 | void setCaption ( const QString & ); |
47 | void updateWeekNum(const KCal::DateList &); | 48 | void updateWeekNum(const KCal::DateList &); |
48 | void updateWeek(QDate); | 49 | void updateWeek(QDate); |
49 | void updateFilterToolbar(); | 50 | void updateFilterToolbar(); |
50 | virtual void showMaximized (); | 51 | virtual void showMaximized (); |
51 | void configureAgenda( int ); | 52 | void configureAgenda( int ); |
52 | void recieve( const QCString& msg, const QByteArray& data ); | 53 | void recieve( const QCString& msg, const QByteArray& data ); |
53 | protected slots: | 54 | protected slots: |
54 | void setCaptionToDates(); | 55 | void setCaptionToDates(); |
55 | void weekAction(); | 56 | void weekAction(); |
56 | void about(); | 57 | void about(); |
57 | void licence(); | 58 | void licence(); |