diff options
Diffstat (limited to 'src/kchmviewwindowmgr.h')
-rw-r--r-- | src/kchmviewwindowmgr.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/kchmviewwindowmgr.h b/src/kchmviewwindowmgr.h index 2b07544..d3a4931 100644 --- a/src/kchmviewwindowmgr.h +++ b/src/kchmviewwindowmgr.h @@ -26,13 +26,14 @@ #include "forwarddeclarations.h" #include "kchmsettings.h" -#include <qvaluevector.h> +#include <tqvaluevector.h> -class KCHMViewWindowMgr : public QTabWidget +class KCHMViewWindowMgr : public TQTabWidget { Q_OBJECT + TQ_OBJECT public: - KCHMViewWindowMgr( QWidget *parent = 0 ); + KCHMViewWindowMgr( TQWidget *tqparent = 0 ); ~KCHMViewWindowMgr( ); // Returns a handle to a currently viewed window. @@ -45,10 +46,10 @@ class KCHMViewWindowMgr : public QTabWidget // Sets the tab name and updates Windows menu void setTabName( KCHMViewWindow* window ); - void invalidate(); + void tqinvalidate(); // Creates a Window menu - void createMenu( KCHMMainWindow * parent ); + void createMenu( KCHMMainWindow * tqparent ); // Saves and restores current settings between sessions void restoreSettings( const KCHMSettings::viewindow_saved_settings_t& settings ); @@ -58,7 +59,7 @@ class KCHMViewWindowMgr : public QTabWidget void closeCurrentWindow(); protected slots: - void onTabChanged( QWidget * newtab ); + void onTabChanged( TQWidget * newtab ); void onCloseWindow( int id ); void onActiveWindow( int id ); void updateCloseButtons(); @@ -66,7 +67,7 @@ class KCHMViewWindowMgr : public QTabWidget private: typedef struct { - QWidget * widget; + TQWidget * widget; KCHMViewWindow * window; int menuitem; } tab_window_t; @@ -74,16 +75,16 @@ class KCHMViewWindowMgr : public QTabWidget void closeWindow( const tab_window_t& tab ); void deleteAllWindows(); void updateTabAccel(); - QKeySequence key(int); + TQKeySequence key(int); - QMap<QWidget*,tab_window_t> m_Windows; - typedef QMap<QWidget*,tab_window_t>::iterator WindowsIterator; + TQMap<TQWidget*,tab_window_t> m_Windows; + typedef TQMap<TQWidget*,tab_window_t>::iterator WindowsIterator; - QValueList<int> m_idSlot; - typedef QValueList<int>::iterator IdIterator; + TQValueList<int> m_idSlot; + typedef TQValueList<int>::iterator IdIterator; - QPushButton * m_closeButton; - KQPopupMenu * m_MenuWindow; + TQPushButton * m_closeButton; + KTQPopupMenu * m_MenuWindow; int m_menuIdClose; }; |