summaryrefslogtreecommitdiffabout
path: root/korganizer/interfaces/korganizer
authorMichael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
committer Michael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
commita08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (side-by-side diff)
tree8ee90d686081c52e7c69b5ce946e9b1a7d690001 /korganizer/interfaces/korganizer
parent11edc920afe4f274c0964436633aa632c8288a40 (diff)
downloadkdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip
kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz
kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2
initial public commit of qt4 portp1
Diffstat (limited to 'korganizer/interfaces/korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/interfaces/korganizer/baseview.h8
-rw-r--r--korganizer/interfaces/korganizer/calendarviewbase.h4
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
@@ -21,14 +21,14 @@
#ifndef KORG_BASEVIEW_H
#define KORG_BASEVIEW_H
// $Id$
// 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>
#include <kmessagebox.h>
#include <libkcal/event.h>
@@ -85,13 +85,13 @@ class BaseView : public QWidget
/**
@return a list of selected events. Most views can probably only
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
select a single event at a time, but some may be able to select
more than one.
*/
@@ -150,13 +150,13 @@ class BaseView : public QWidget
/**
Show given events. Depending on the actual view it might not be possible to
show all given events.
@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
in the calendar since the last display refresh.
*/
virtual void updateView() = 0;
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
@@ -20,12 +20,14 @@
#ifndef KORG_CALENDARVIEWBASE_H
#define KORG_CALENDARVIEWBASE_H
// $Id$
#include <qwidget.h>
#include <qlayout.h>
+//Added by qt3to4:
+#include <Q3VBoxLayout>
#include <libkcal/calendar.h>
#include <korganizer/baseview.h>
@@ -37,13 +39,13 @@ namespace KOrg {
*/
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;
virtual QDate startDate() = 0;
virtual QDate endDate() = 0;