diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-10-08 00:13:25 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-10-08 05:14:53 +0200 |
commit | 84f5a315c3429b47a7eff15e626e2efdbe4f6e5e (patch) | |
tree | 770861aa9033e1dc6c5168358194ff85b32dd429 /src/editortabs.h | |
parent | 57d8bb3d12aed373eee08915f0ff19f5233aabe3 (diff) | |
download | kscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.tar.gz kscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.zip |
Initial TQt conversion
Diffstat (limited to 'src/editortabs.h')
-rw-r--r-- | src/editortabs.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/editortabs.h b/src/editortabs.h index 67d0c17..76fb4b2 100644 --- a/src/editortabs.h +++ b/src/editortabs.h @@ -28,13 +28,13 @@ #ifndef EDITORTABS_H #define EDITORTABS_H -#include <qwidget.h> -#include <qpopupmenu.h> +#include <ntqwidget.h> +#include <ntqpopupmenu.h> #include "tabwidget.h" #include "editorpage.h" #include "projectmanager.h" -typedef QMap<QString, EditorPage*> EditorMap; +typedef TQMap<TQString, EditorPage*> EditorMap; class QueryView; /** @@ -49,12 +49,12 @@ class EditorTabs : public TabWidget Q_OBJECT public: - EditorTabs(QWidget* pParent = 0, const char* szName = 0); + EditorTabs(TQWidget* pParent = 0, const char* szName = 0); ~EditorTabs(); - void setWindowMenu(QPopupMenu*); + void setWindowMenu(TQPopupMenu*); void addEditorPage(EditorPage*); - EditorPage* findEditorPage(const QString&, bool bForceChange = false); + EditorPage* findEditorPage(const TQString&, bool bForceChange = false); EditorPage* getCurrentPage(); void removeCurrentPage(); bool removeAllPages(); @@ -65,7 +65,7 @@ public: void showBookmarks(QueryView*); public slots: - void slotRemovePage(QWidget*); + void slotRemovePage(TQWidget*); void slotToggleTagList(); void slotSaveAll(); void slotGoLeft(); @@ -89,11 +89,11 @@ signals: * Indicates that files were dragged and dropped over the tab widget. * @param pEvent The drop event information */ - void filesDropped(QDropEvent* pEvent); + void filesDropped(TQDropEvent* pEvent); protected: - virtual void dragMoveEvent(QDragMoveEvent*); - virtual void dropEvent(QDropEvent*); + virtual void dragMoveEvent(TQDragMoveEvent*); + virtual void dropEvent(TQDropEvent*); private: /** Links a file name with an editor page that has this file open. */ @@ -104,7 +104,7 @@ private: EditorPage* m_pCurPage; /** A popup menu with Cscope operations for the editor windows. */ - QPopupMenu* m_pWindowMenu; + TQPopupMenu* m_pWindowMenu; /** The number of items added to the window menu (used for removing old items). */ @@ -114,14 +114,14 @@ private: int m_nNewFiles; int getModifiedFilesCount(); - bool removePage(QWidget*, bool); + bool removePage(TQWidget*, bool); private slots: - void slotCurrentChanged(QWidget*); - void slotAttachFile(EditorPage*, const QString&); + void slotCurrentChanged(TQWidget*); + void slotAttachFile(EditorPage*, const TQString&); void slotNewFile(EditorPage*); void slotFileModified(EditorPage*, bool); - void slotInitiateDrag(QWidget*); + void slotInitiateDrag(TQWidget*); void slotFillWindowMenu(); void slotSetCurrentPage(int); }; |