diff options
Diffstat (limited to 'koshell/koshell_shell.h')
-rw-r--r-- | koshell/koshell_shell.h | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/koshell/koshell_shell.h b/koshell/koshell_shell.h index dd0f4c7c..9841f18e 100644 --- a/koshell/koshell_shell.h +++ b/koshell/koshell_shell.h @@ -25,17 +25,17 @@ #include <KoMainWindow.h> #include <KoQueryTrader.h> #include <ktabwidget.h> -#include <qptrlist.h> -#include <qmap.h> -#include <qtoolbutton.h> -#include <qvaluelist.h> +#include <tqptrlist.h> +#include <tqmap.h> +#include <tqtoolbutton.h> +#include <tqvaluelist.h> #include "iconsidepane.h" -class QVBox; -class QIconView; -class QIconViewItem; -class QSplitter; +class TQVBox; +class TQIconView; +class TQIconViewItem; +class TQSplitter; class KoDocumentEntry; class KoView; class KoShellGUIClient; @@ -45,6 +45,7 @@ class KoShellGUIClient; class KoShellWindow : public KoMainWindow { Q_OBJECT + TQ_OBJECT public: @@ -58,7 +59,7 @@ public: */ virtual void updateCaption(); - virtual QString configFile() const; + virtual TQString configFile() const; KAction *mnuSaveAll; KAction* partSpecificHelpAction; @@ -74,7 +75,7 @@ protected slots: void slotSidebar_Part(int); void slotSidebar_Document(int); - void tab_contextMenu(QWidget * ,const QPoint &); + void tab_contextMenu(TQWidget * ,const TQPoint &); /** Used for showing or hiding the sidebar and the components-label. @@ -85,9 +86,9 @@ protected slots: document which can be edited with the chosen component. @param item The component the user clicked on */ - void slotSidebarItemClicked( QIconViewItem *item ); + void slotSidebarItemClicked( TQIconViewItem *item ); void slotKSLoadCompleted(); - void slotKSLoadCanceled (const QString &); + void slotKSLoadCanceled (const TQString &); void slotNewDocumentName(); /** This slot is called whenever the user clicks on a tab to change the document. It looks for the @@ -95,7 +96,7 @@ protected slots: to the page corresponding to the widget. @param widget The current widget */ - void slotUpdatePart( QWidget* widget ); + void slotUpdatePart( TQWidget* widget ); private: @@ -111,20 +112,20 @@ private: virtual void slotConfigureKeys(); void closeDocument(); void saveSettings(); - void switchToPage( QValueList<Page>::Iterator it ); + void switchToPage( TQValueList<Page>::Iterator it ); - QValueList<Page> m_lstPages; - QValueList<Page>::Iterator m_activePage; + TQValueList<Page> m_lstPages; + TQValueList<Page>::Iterator m_activePage; IconSidePane *m_pSidebar; - QLabel *m_pComponentsLabel; - QSplitter *m_pLayout; + TQLabel *m_pComponentsLabel; + TQSplitter *m_pLayout; KTabWidget *m_pFrame; - QToolButton *m_tabCloseButton; + TQToolButton *m_tabCloseButton; // Map of available parts (the int is the koolbar item id) - QMap<int,KoDocumentEntry> m_mapComponents; + TQMap<int,KoDocumentEntry> m_mapComponents; // Saved between openDocument and setRootDocument KoDocumentEntry m_documentEntry; |