diff options
Diffstat (limited to 'korganizer/interfaces/korganizer/part.h')
-rw-r--r-- | korganizer/interfaces/korganizer/part.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/korganizer/interfaces/korganizer/part.h b/korganizer/interfaces/korganizer/part.h index 5db429298..2ce21c13f 100644 --- a/korganizer/interfaces/korganizer/part.h +++ b/korganizer/interfaces/korganizer/part.h @@ -21,7 +21,7 @@ #ifndef KORG_PART_H #define KORG_PART_H -#include <qstring.h> +#include <tqstring.h> #include <klibloader.h> #include <kparts/part.h> @@ -34,18 +34,18 @@ class Part : public KParts::Part { public: static int interfaceVersion() { return 2; } - static QString serviceType() { return "KOrganizer/Part"; } + static TQString serviceType() { return "KOrganizer/Part"; } - typedef QPtrList<Part> List; + typedef TQPtrList<Part> List; Part( MainWindow *parent, const char *name ) : KParts::Part( parent?(parent->topLevelWidget()):0, name ), mMainWindow( parent ) {} virtual ~Part() {} - virtual QString info() = 0; + virtual TQString info() = 0; /** short name of the part, used as category in the keybindings dialog */ - virtual QString shortInfo() = 0; + virtual TQString shortInfo() = 0; MainWindow *mainWindow() { return mMainWindow; } @@ -59,8 +59,8 @@ class PartFactory : public KLibFactory virtual Part *create( MainWindow *parent, const char *name = 0 ) = 0; protected: - virtual QObject *createObject( QObject *, const char *,const char *, - const QStringList & ) + virtual TQObject *createObject( TQObject *, const char *,const char *, + const TQStringList & ) { return 0; } |