-rw-r--r-- | korganizer/interfaces/korganizer/baseview.h | 8 | ||||
-rw-r--r-- | korganizer/interfaces/korganizer/calendarviewbase.h | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/korganizer/interfaces/korganizer/baseview.h b/korganizer/interfaces/korganizer/baseview.h index 2ac9de1..c828573 100644 --- a/korganizer/interfaces/korganizer/baseview.h +++ b/korganizer/interfaces/korganizer/baseview.h @@ -24,8 +24,8 @@ // KOBaseView is the abstract base class of all calendar views. #include <qwidget.h> -#include <qptrlist.h> -#include <qvaluelist.h> +#include <q3ptrlist.h> +#include <q3valuelist.h> #include <klocale.h> #include <kdebug.h> @@ -88,7 +88,7 @@ class BaseView : public QWidget select a single event at a time, but some may be able to select more than one. */ - virtual QPtrList<Incidence> selectedIncidences() = 0; + virtual Q3PtrList<Incidence> selectedIncidences() = 0; /** @return a list of the dates of selected events. Most views can probably only @@ -153,7 +153,7 @@ class BaseView : public QWidget @param eventList a list of events to show. */ - virtual void showEvents(QPtrList<Event> eventList) = 0; + virtual void showEvents(Q3PtrList<Event> eventList) = 0; /** Updates the current display to reflect changes that may have happened diff --git a/korganizer/interfaces/korganizer/calendarviewbase.h b/korganizer/interfaces/korganizer/calendarviewbase.h index 3c715b1..1f49357 100644 --- a/korganizer/interfaces/korganizer/calendarviewbase.h +++ b/korganizer/interfaces/korganizer/calendarviewbase.h @@ -23,6 +23,8 @@ #include <qwidget.h> #include <qlayout.h> +//Added by qt3to4: +#include <Q3VBoxLayout> #include <libkcal/calendar.h> @@ -40,7 +42,7 @@ class CalendarViewBase : public QWidget Q_OBJECT public: CalendarViewBase(QWidget *parent, const char *name) : - QWidget(parent,name) {new QVBoxLayout(this);} + QWidget(parent,name) {new Q3VBoxLayout(this);} virtual ~CalendarViewBase() {}; virtual KCal::Calendar *calendar() = 0; |