From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/koincidenceeditor.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'korganizer/koincidenceeditor.h') diff --git a/korganizer/koincidenceeditor.h b/korganizer/koincidenceeditor.h index a2ac6055a..4ff8915b2 100644 --- a/korganizer/koincidenceeditor.h +++ b/korganizer/koincidenceeditor.h @@ -19,8 +19,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #ifndef KOINCIDENCEEDITOR_H #define KOINCIDENCEEDITOR_H @@ -57,12 +57,13 @@ using namespace KOrg; class KOIncidenceEditor : public KDialogBase { Q_OBJECT + TQ_OBJECT public: /** Construct new IncidenceEditor. */ KOIncidenceEditor( const TQString &caption, Calendar *calendar, - TQWidget *parent ); + TQWidget *tqparent ); virtual ~KOIncidenceEditor(); /** This incidence has been modified externally */ @@ -78,7 +79,7 @@ class KOIncidenceEditor : public KDialogBase This should be called when editing only one occurrence of a recurring incidence, before showing the editor. - It gives the editor a pointer to the original incidence, which tqcontains all occurrences + It gives the editor a pointer to the original incidence, which contains all occurrences and a pointer to the original incidence already dissociated from the event (mEvent). If the user presses ok/apply the changes made to the incAfterDissociation are commited @@ -133,7 +134,7 @@ class KOIncidenceEditor : public KDialogBase virtual void slotTemplatesChanged( const TQStringList& ); protected: - virtual TQString type() { return TQString::null; } + virtual TQString type() { return TQString(); } virtual TQStringList& templates() const = 0; virtual void loadTemplate( /*const*/ CalendarLocal& ) = 0; -- cgit v1.2.1