From 84f5a315c3429b47a7eff15e626e2efdbe4f6e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 8 Oct 2013 00:13:25 +0200 Subject: Initial TQt conversion --- src/kscope.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/kscope.h') 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 #endif -#include +#include #include #include #include @@ -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); }; -- cgit v1.2.1