diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
commit | 7a741e43ff09e70396a918956219b8316c48e522 (patch) | |
tree | 3d0f60eccd59786cea7236db2d5c4c1f25874515 /src/sidebars.h | |
parent | a48487ef0c329434b58b6f920111bb0999f1109e (diff) | |
download | dolphin-7a741e43ff09e70396a918956219b8316c48e522.tar.gz dolphin-7a741e43ff09e70396a918956219b8316c48e522.zip |
TQt4 port Dolphin
This enables compilation under Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1229359 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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_ |