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/editortabs.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/editortabs.h') 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 -#include +#include +#include #include "tabwidget.h" #include "editorpage.h" #include "projectmanager.h" -typedef QMap EditorMap; +typedef TQMap 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); }; -- cgit v1.2.1