summaryrefslogtreecommitdiffstats
path: root/karm/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'karm/mainwindow.h')
-rw-r--r--karm/mainwindow.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/karm/mainwindow.h b/karm/mainwindow.h
index 7f066af30..f4f25f7d1 100644
--- a/karm/mainwindow.h
+++ b/karm/mainwindow.h
@@ -29,8 +29,8 @@ class MainWindow : public KParts::MainWindow, virtual public KarmDCOPIface
private:
void makeMenus();
- QString _hasTask( Task* task, const QString &taskname ) const;
- Task* _hasUid( Task* task, const QString &uid ) const;
+ TQString _hasTask( Task* task, const TQString &taskname ) const;
+ Task* _hasUid( Task* task, const TQString &uid ) const;
KAccel* _accel;
KAccelMenuWatch* _watcher;
@@ -49,7 +49,7 @@ class MainWindow : public KParts::MainWindow, 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;
@@ -60,35 +60,35 @@ class MainWindow : public KParts::MainWindow, virtual public KarmDCOPIface
public:
- MainWindow( const QString &icsfile = "" );
+ MainWindow( const TQString &icsfile = "" );
virtual ~MainWindow();
// DCOP
- QString version() const;
- QString taskIdFromName( const QString &taskName ) const;
+ TQString version() const;
+ TQString taskIdFromName( const TQString &taskName ) const;
/** @reimp from KarmDCOPIface::addTask */
- int addTask( const QString &storage );
+ int addTask( const TQString &storage );
/** @reimp from KarmDCOPIface::setPerCentComplete */
- QString setPerCentComplete( const QString& taskName, int PerCent );
+ TQString setPerCentComplete( const TQString& taskName, int PerCent );
/** @reimp from KarmDCOPIface::bookTime */
- int bookTime( const QString& taskId, const QString& iso8601StartDateTime, long durationInMinutes );
+ int bookTime( const TQString& taskId, const TQString& iso8601StartDateTime, long durationInMinutes );
/** @reimp from KarmDCOPIface::getError */
- QString getError( int karmErrorNumber ) const;
- int totalMinutesForTaskId( const QString& taskId );
+ TQString getError( int karmErrorNumber ) const;
+ int totalMinutesForTaskId( const TQString& taskId );
/** start the timer for taskname */
- QString starttimerfor( const QString &taskname );
+ TQString starttimerfor( const TQString &taskname );
/** stop the timer for taskname */
- QString stoptimerfor( const QString &taskname );
- QString deletetodo();
+ TQString stoptimerfor( const TQString &taskname );
+ TQString deletetodo();
/** shall there be a "really delete" question */
bool getpromptdelete();
/** set if there will be a "really delete" question */
- QString setpromptdelete( bool prompt );
- QString exportcsvfile( QString filename, QString from, QString to, int type, bool decimalMinutes, bool allTasks, QString delimiter, QString quote );
- QString importplannerfile( QString filename );
+ TQString setpromptdelete( bool prompt );
+ TQString exportcsvfile( TQString filename, TQString from, TQString to, int type, bool decimalMinutes, bool allTasks, TQString delimiter, TQString quote );
+ TQString importplannerfile( TQString filename );
public slots:
- void setStatusBar( QString );
+ void setStatusBar( TQString );
void quit();
protected slots:
@@ -101,7 +101,7 @@ class MainWindow : public KParts::MainWindow, virtual public KarmDCOPIface
void exportcsvHistory();
void print();
void slotSelectionChanged();
- void contextMenuRequest( QListViewItem*, const QPoint&, int );
+ void contextMenuRequest( TQListViewItem*, const TQPoint&, int );
void enableStopAll();
void disableStopAll();
// void timeLoggingChanged( bool on );