diff options
author | Slávek Banko <[email protected]> | 2013-10-08 00:13:25 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-10-08 05:14:53 +0200 |
commit | 84f5a315c3429b47a7eff15e626e2efdbe4f6e5e (patch) | |
tree | 770861aa9033e1dc6c5168358194ff85b32dd429 /src/kscope.h | |
parent | 57d8bb3d12aed373eee08915f0ff19f5233aabe3 (diff) | |
download | kscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.tar.gz kscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.zip |
Initial TQt conversion
Diffstat (limited to 'src/kscope.h')
-rw-r--r-- | src/kscope.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/kscope.h b/src/kscope.h index f1b646e..8b8ee07 100644 --- a/src/kscope.h +++ b/src/kscope.h @@ -32,7 +32,7 @@ #include <config.h> #endif -#include <qtimer.h> +#include <ntqtimer.h> #include <kcmdlineargs.h> #include <kapp.h> #include <kparts/dockmainwindow.h> @@ -73,12 +73,12 @@ class KScope : public KParts::DockMainWindow Q_OBJECT public: - KScope(QWidget* pParent = 0, const char* szName = 0); + KScope(TQWidget* pParent = 0, const char* szName = 0); ~KScope(); - void openProject(const QString&); + void openProject(const TQString&); void openLastProject(); - bool openCscopeOut(const QString&); + bool openCscopeOut(const TQString&); void parseCmdLine(KCmdLineArgs *pArgs); void verifyCscope(); @@ -113,7 +113,7 @@ private: CscopeFrontend* m_pCscopeBuild; /** A timer for rebuilding the database after a file has been saved. */ - QTimer m_timerRebuild; + TQTimer m_timerRebuild; /** Whether the query window should be hidden after the user selects an item. */ @@ -129,7 +129,7 @@ private: CscopeMsgDlg* m_pMsgDlg; /** The path of the file currently being edited. */ - QString m_sCurFilePath; + TQString m_sCurFilePath; /** The line number of the current cursor position. */ int m_nCurLine; @@ -168,8 +168,8 @@ private: void initMainWindow(); void initCscope(); - bool getSymbol(uint&, QString&, bool&, bool bPrompt = true); - EditorPage* addEditor(const QString&s); + bool getSymbol(uint&, TQString&, bool&, bool bPrompt = true); + EditorPage* addEditor(const TQString&s); EditorPage* createEditorPage(); inline bool isAutoRebuildEnabled(); void restoreSession(); @@ -213,22 +213,22 @@ private slots: // Other slots void slotProjectFilesChanged(); - void slotFilesAdded(const QStringList&); + void slotFilesAdded(const TQStringList&); void slotQuery(uint, bool); void slotDeleteEditor(EditorPage*); void slotChangeEditor(EditorPage*, EditorPage*); - void slotShowEditor(const QString&, uint); - void slotFileOpened(EditorPage*, const QString&); - void slotFileSaved(const QString&, bool); - void slotCscopeError(const QString&); + void slotShowEditor(const TQString&, uint); + void slotFileOpened(EditorPage*, const TQString&); + void slotFileSaved(const TQString&, bool); + void slotCscopeError(const TQString&); void slotBuildProgress(int, int); void slotBuildInvIndex(); void slotBuildFinished(uint); void slotBuildAborted(); void slotApplyPref(); void slotShowCursorPos(uint, uint); - void slotQueryShowEditor(const QString&, uint); - void slotDropEvent(QDropEvent*); + void slotQueryShowEditor(const TQString&, uint); + void slotDropEvent(TQDropEvent*); void slotCscopeVerified(bool, uint); }; |