author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /korganizer/kolistview.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | korganizer/kolistview.h | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/korganizer/kolistview.h b/korganizer/kolistview.h index 99d0561..9fb0b00 100644 --- a/korganizer/kolistview.h +++ b/korganizer/kolistview.h | |||
@@ -26,5 +26,11 @@ | |||
26 | 26 | ||
27 | #include <qlistview.h> | 27 | #include <q3listview.h> |
28 | #include <qmap.h> | 28 | #include <qmap.h> |
29 | #include <qdict.h> | 29 | #include <q3dict.h> |
30 | //Added by qt3to4: | ||
31 | #include <QMouseEvent> | ||
32 | #include <Q3PtrList> | ||
33 | #include <Q3PopupMenu> | ||
34 | #include <QKeyEvent> | ||
35 | #include <Q3VBoxLayout> | ||
30 | 36 | ||
@@ -49,3 +55,3 @@ class KOListViewWhatsThis; | |||
49 | #include <qcheckbox.h> | 55 | #include <qcheckbox.h> |
50 | #include <qhbox.h> | 56 | #include <q3hbox.h> |
51 | #include <qlabel.h> | 57 | #include <qlabel.h> |
@@ -62,3 +68,3 @@ class KOAlarmPrefs : public QDialog | |||
62 | setCaption( i18n("Alarm Options") ); | 68 | setCaption( i18n("Alarm Options") ); |
63 | QVBoxLayout* alarmLayout = new QVBoxLayout( this ); | 69 | Q3VBoxLayout* alarmLayout = new Q3VBoxLayout( this ); |
64 | alarmLayout->setSpacing( 3 ); | 70 | alarmLayout->setSpacing( 3 ); |
@@ -76,3 +82,3 @@ class KOAlarmPrefs : public QDialog | |||
76 | alarmLayout->addWidget(mAlarmIncrCombo); | 82 | alarmLayout->addWidget(mAlarmIncrCombo); |
77 | QHBox * hb = new QHBox ( parent ); | 83 | Q3HBox * hb = new Q3HBox ( parent ); |
78 | alarmLayout->addWidget(hb); | 84 | alarmLayout->addWidget(hb); |
@@ -212,3 +218,3 @@ class KOListViewListView : public KListView | |||
212 | KOListViewListView(KOListView * lv ); | 218 | KOListViewListView(KOListView * lv ); |
213 | bool hasMultiSelection(QListViewItem*); | 219 | bool hasMultiSelection(Q3ListViewItem*); |
214 | void printList(); | 220 | void printList(); |
@@ -242,3 +248,3 @@ class KOListView : public KOEventView | |||
242 | virtual int currentDateCount(); | 248 | virtual int currentDateCount(); |
243 | virtual QPtrList<Incidence> selectedIncidences(); | 249 | virtual Q3PtrList<Incidence> selectedIncidences(); |
244 | virtual DateList selectedDates(); | 250 | virtual DateList selectedDates(); |
@@ -247,4 +253,4 @@ class KOListView : public KOEventView | |||
247 | Incidence* currentItem(); | 253 | Incidence* currentItem(); |
248 | void addTodos(QPtrList<Todo> eventList); | 254 | void addTodos(Q3PtrList<Todo> eventList); |
249 | void addJournals(QPtrList<Journal> eventList); | 255 | void addJournals(Q3PtrList<Journal> eventList); |
250 | virtual void printPreview(CalPrinter *calPrinter, | 256 | virtual void printPreview(CalPrinter *calPrinter, |
@@ -259,3 +265,3 @@ class KOListView : public KOEventView | |||
259 | QString getWhatsThisText(QPoint p); | 265 | QString getWhatsThisText(QPoint p); |
260 | QPtrList<Incidence> KOListView::getSelectedIncidences( bool includeEvents = true, bool includeTodos = true , bool includeJournals = true, bool onlyDueTodos = false ); | 266 | Q3PtrList<Incidence> getSelectedIncidences( bool includeEvents = true, bool includeTodos = true , bool includeJournals = true, bool onlyDueTodos = false ); |
261 | void showCompletedTodos(); | 267 | void showCompletedTodos(); |
@@ -263,3 +269,3 @@ class KOListView : public KOEventView | |||
263 | void signalNewEvent(); | 269 | void signalNewEvent(); |
264 | void beamIncidenceList(QPtrList<Incidence>); | 270 | void beamIncidenceList(Q3PtrList<Incidence>); |
265 | 271 | ||
@@ -271,3 +277,3 @@ class KOListView : public KOEventView | |||
271 | virtual void showDates(const QDate &start, const QDate &end); | 277 | virtual void showDates(const QDate &start, const QDate &end); |
272 | virtual void showEvents(QPtrList<Event> eventList); | 278 | virtual void showEvents(Q3PtrList<Event> eventList); |
273 | void clearSelection(); | 279 | void clearSelection(); |
@@ -289,4 +295,4 @@ class KOListView : public KOEventView | |||
289 | 295 | ||
290 | void defaultItemAction(QListViewItem *item); | 296 | void defaultItemAction(Q3ListViewItem *item); |
291 | void popupMenu(QListViewItem *item,const QPoint &,int); | 297 | void popupMenu(Q3ListViewItem *item,const QPoint &,int); |
292 | void setCalendar( int c ); | 298 | void setCalendar( int c ); |
@@ -295,3 +301,3 @@ class KOListView : public KOEventView | |||
295 | protected slots: | 301 | protected slots: |
296 | void processSelectionChange(QListViewItem *); | 302 | void processSelectionChange(Q3ListViewItem *); |
297 | void catChanged( Incidence* ); | 303 | void catChanged( Incidence* ); |
@@ -300,3 +306,3 @@ class KOListView : public KOEventView | |||
300 | void writeToFile( bool iCal ); | 306 | void writeToFile( bool iCal ); |
301 | void addEvents(QPtrList<Event> eventList); | 307 | void addEvents(Q3PtrList<Event> eventList); |
302 | void addIncidence(Incidence *); | 308 | void addIncidence(Incidence *); |
@@ -306,3 +312,3 @@ class KOListView : public KOEventView | |||
306 | bool mForceShowCompletedTodos; | 312 | bool mForceShowCompletedTodos; |
307 | QPopupMenu* mCalPopup; | 313 | Q3PopupMenu* mCalPopup; |
308 | KOListViewWhatsThis *mKOListViewWhatsThis; | 314 | KOListViewWhatsThis *mKOListViewWhatsThis; |
@@ -311,3 +317,3 @@ class KOListView : public KOEventView | |||
311 | KOListViewItem *mActiveItem; | 317 | KOListViewItem *mActiveItem; |
312 | QDict<Incidence> mUidDict; | 318 | Q3Dict<Incidence> mUidDict; |
313 | QDate mStartDate; | 319 | QDate mStartDate; |