diff options
Diffstat (limited to 'karm/karm_part.h')
-rw-r--r-- | karm/karm_part.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/karm/karm_part.h b/karm/karm_part.h index 85c1e99f7..86308b09c 100644 --- a/karm/karm_part.h +++ b/karm/karm_part.h @@ -6,7 +6,7 @@ #include <kparts/factory.h> #include <karmdcopiface.h> #include "reportcriteria.h" -#include <qlistview.h> +#include <tqlistview.h> class KAccel; class KAccelMenuWatch; @@ -33,9 +33,9 @@ class karmPart : public KParts::ReadWritePart, virtual public KarmDCOPIface private: void makeMenus(); - QString _hastodo( Task* task, const QString &taskname ) const; - QString _hasTask( Task* task, const QString &taskname ) const; - Task* _hasUid( Task* task, const QString &uid ) const; + TQString _hastodo( Task* task, const TQString &taskname ) const; + TQString _hasTask( Task* task, const TQString &taskname ) const; + Task* _hasUid( Task* task, const TQString &uid ) const; KAccel* _accel; KAccelMenuWatch* _watcher; @@ -53,34 +53,34 @@ class karmPart : public KParts::ReadWritePart, virtual public KarmDCOPIface KAction* actionPreferences; KAction* actionClipTotals; KAction* actionClipHistory; - QString m_error[ KARM_MAX_ERROR_NO + 1 ]; + TQString m_error[ KARM_MAX_ERROR_NO + 1 ]; friend class KarmTray; public: - karmPart(QWidget *parentWidget, const char *widgetName, - QObject *parent, const char *name); + karmPart(TQWidget *parentWidget, const char *widgetName, + TQObject *parent, const char *name); // DCOP void quit(); virtual bool save(); - QString version() const; - QString taskIdFromName( const QString &taskName ) const; + TQString version() const; + TQString taskIdFromName( const TQString &taskName ) const; /** @reimp from KarmDCOPIface */ - int addTask( const QString &taskName ); + int addTask( const TQString &taskName ); /** @reimp from KarmDCOPIface */ - QString setPerCentComplete( const QString& taskName, int PerCent ); + TQString setPerCentComplete( const TQString& taskName, int PerCent ); /** @reimp from KarmDCOPIface */ - int bookTime( const QString& taskId, const QString& iso8601StartDateTime, long durationInMinutes ); + int bookTime( const TQString& taskId, const TQString& iso8601StartDateTime, long durationInMinutes ); /** @reimp from KarmDCOPIface */ - QString getError( int karmErrorNumber ) const; - int totalMinutesForTaskId( const QString& taskId ); - QString starttimerfor( const QString &taskname ); - QString stoptimerfor( const QString &taskname ); - QString deletetodo(); + TQString getError( int karmErrorNumber ) const; + int totalMinutesForTaskId( const TQString& taskId ); + TQString starttimerfor( const TQString &taskname ); + TQString stoptimerfor( const TQString &taskname ); + TQString deletetodo(); bool getpromptdelete(); - QString setpromptdelete( bool prompt ); - QString exportcsvfile( QString filename, QString from, QString to, int type = 0, bool decimalMinutes=true, bool allTasks=true, QString delimiter="r", QString quote="q" ); - QString importplannerfile( QString filename ); + TQString setpromptdelete( bool prompt ); + TQString exportcsvfile( TQString filename, TQString from, TQString to, int type = 0, bool decimalMinutes=true, bool allTasks=true, TQString delimiter="r", TQString quote="q" ); + TQString importplannerfile( TQString filename ); virtual ~karmPart(); @@ -108,7 +108,7 @@ protected: virtual bool saveFile(); protected slots: - void contextMenuRequest( QListViewItem*, const QPoint& point, int ); + void contextMenuRequest( TQListViewItem*, const TQPoint& point, int ); void fileOpen(); void fileSaveAs(); void slotSelectionChanged(); @@ -124,9 +124,9 @@ class karmPartFactory : public KParts::Factory public: karmPartFactory(); virtual ~karmPartFactory(); - virtual KParts::Part* createPartObject( QWidget *parentWidget, const char *widgetName, - QObject *parent, const char *name, - const char *classname, const QStringList &args ); + virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName, + TQObject *parent, const char *name, + const char *classname, const TQStringList &args ); static KInstance* instance(); private: |