summaryrefslogtreecommitdiffstats
path: root/korganizer/interfaces/korganizer/baseview.h
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/interfaces/korganizer/baseview.h')
-rw-r--r--korganizer/interfaces/korganizer/baseview.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/korganizer/interfaces/korganizer/baseview.h b/korganizer/interfaces/korganizer/baseview.h
index abaa85917..64fbd72b5 100644
--- a/korganizer/interfaces/korganizer/baseview.h
+++ b/korganizer/interfaces/korganizer/baseview.h
@@ -22,9 +22,9 @@
#ifndef KORG_BASEVIEW_H
#define KORG_BASEVIEW_H
-#include <qwidget.h>
-#include <qptrlist.h>
-#include <qvaluelist.h>
+#include <tqwidget.h>
+#include <tqptrlist.h>
+#include <tqvaluelist.h>
#include <klocale.h>
#include <kdebug.h>
@@ -66,9 +66,9 @@ class KDE_EXPORT BaseView : public QWidget
@param parent parent widget.
@param name name of this widget.
*/
- BaseView( Calendar *cal, QWidget *parent = 0,
+ BaseView( Calendar *cal, TQWidget *parent = 0,
const char *name = 0 )
- : QWidget( parent, name ), mCalendar( cal ), mChanger( 0 ) {}
+ : TQWidget( parent, name ), mCalendar( cal ), mChanger( 0 ) {}
/**
Destructor. Views will do view-specific cleanups here.
@@ -117,7 +117,7 @@ class KDE_EXPORT BaseView : public QWidget
@param start Start of date range.
@param end End of date range.
*/
- virtual void showDates( const QDate &start, const QDate &end ) = 0;
+ virtual void showDates( const TQDate &start, const TQDate &end ) = 0;
/**
Show given incidences. Depending on the actual view it might not be possible to
@@ -132,7 +132,7 @@ class KDE_EXPORT BaseView : public QWidget
in the calendar since the last display refresh.
*/
virtual void updateView() = 0;
- virtual void dayPassed( const QDate & ) { updateView(); }
+ virtual void dayPassed( const TQDate & ) { updateView(); }
/**
Assign a new incidence change helper object.
@@ -163,7 +163,7 @@ class KDE_EXPORT BaseView : public QWidget
/**
Set the default start/end date/time for new events. Return true if anything was changed
*/
- virtual bool eventDurationHint(QDateTime &/*startDt*/, QDateTime &/*endDt*/, bool &/*allDay*/) { return false; }
+ virtual bool eventDurationHint(TQDateTime &/*startDt*/, TQDateTime &/*endDt*/, bool &/*allDay*/) { return false; }
signals:
void incidenceSelected( Incidence * );
@@ -208,12 +208,12 @@ class KDE_EXPORT BaseView : public QWidget
void toggleAlarmSignal(Incidence *);
/** Dissociate from a recurring incidence the occurrence on the given
date to a new incidence */
- void dissociateOccurrenceSignal( Incidence *, const QDate & );
+ void dissociateOccurrenceSignal( Incidence *, const TQDate & );
/** Dissociate from a recurring incidence all occurrences after the given
date to a new incidence */
- void dissociateFutureOccurrenceSignal( Incidence *, const QDate & );
+ void dissociateFutureOccurrenceSignal( Incidence *, const TQDate & );
- void startMultiModify( const QString & );
+ void startMultiModify( const TQString & );
void endMultiModify();
/**
@@ -225,23 +225,23 @@ class KDE_EXPORT BaseView : public QWidget
* instructs the receiver to create a new event with the specified beginning
* time. Doesn't make sense to connect to more than one receiver.
*/
- void newEventSignal( const QDate & );
+ void newEventSignal( const TQDate & );
/**
* instructs the receiver to create a new event with the specified beginning
* time. Doesn't make sense to connect to more than one receiver.
*/
- void newEventSignal( const QDateTime & );
+ void newEventSignal( const TQDateTime & );
/**
* instructs the receiver to create a new event, with the specified
* beginning end ending times. Doesn't make sense to connect to more
* than one receiver.
*/
- void newEventSignal( const QDateTime &, const QDateTime & );
+ void newEventSignal( const TQDateTime &, const TQDateTime & );
- void newTodoSignal( const QDate & );
+ void newTodoSignal( const TQDate & );
void newSubTodoSignal( Todo * );
- void newJournalSignal( const QDate & );
+ void newJournalSignal( const TQDate & );
private:
Calendar *mCalendar;