diff options
Diffstat (limited to 'src/sidebars.h')
-rw-r--r-- | src/sidebars.h | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/src/sidebars.h b/src/sidebars.h index d7eac77..afdaa13 100644 --- a/src/sidebars.h +++ b/src/sidebars.h @@ -23,28 +23,29 @@ #ifndef _SIDEBARS_H_ #define _SIDEBARS_H_ -#include <qwidget.h> +#include <tqwidget.h> class KURL; -class QComboBox; -class QVBoxLayout; +class TQComboBox; +class TQVBoxLayout; class SidebarPage; -class leftSidebar : public QWidget +class leftSidebar : public TQWidget { Q_OBJECT + TQ_OBJECT public: - leftSidebar(QWidget* parent); + leftSidebar(TQWidget* tqparent); virtual ~leftSidebar(); - virtual QSize sizeHint() const; + virtual TQSize tqsizeHint() const; signals: /** * The user selected an item on sidebar widget and item has - * URL property, so inform the parent to go to this URL; + * URL property, so inform the tqparent to go to this URL; */ void urlChanged(const KURL& url); @@ -52,27 +53,28 @@ class leftSidebar : public QWidget void createPage(int index); private: - int indexForName(const QString& name) const; + int indexForName(const TQString& name) const; - QComboBox* m_pagesSelector; + TQComboBox* m_pagesSelector; SidebarPage* m_page; - QVBoxLayout* m_layout; + TQVBoxLayout* m_tqlayout; }; -class rightSidebar : public QWidget +class rightSidebar : public TQWidget { Q_OBJECT + TQ_OBJECT public: - rightSidebar(QWidget* parent); + rightSidebar(TQWidget* tqparent); virtual ~rightSidebar(); - virtual QSize sizeHint() const; + virtual TQSize tqsizeHint() const; signals: /** * The user selected an item on sidebar widget and item has - * URL property, so inform the parent togo to this URL; + * URL property, so inform the tqparent togo to this URL; */ void urlChanged(const KURL& url); @@ -80,11 +82,11 @@ class rightSidebar : public QWidget void createPage(int index); private: - int indexForName(const QString& name) const; + int indexForName(const TQString& name) const; - QComboBox* m_pagesSelector; + TQComboBox* m_pagesSelector; SidebarPage* m_page; - QVBoxLayout* m_layout; + TQVBoxLayout* m_tqlayout; }; #endif // _SIDEBARS_H_ |