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/filterbar.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/filterbar.h')
-rw-r--r-- | src/filterbar.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/filterbar.h b/src/filterbar.h index 7f9c8b8..6904531 100644 --- a/src/filterbar.h +++ b/src/filterbar.h @@ -20,9 +20,9 @@ #ifndef FILTERBAR_H #define FILTERBAR_H -#include <qwidget.h> +#include <tqwidget.h> -class QLabel; +class TQLabel; class KLineEdit; class KPushButton; @@ -31,12 +31,13 @@ class KPushButton; * * @author Gregor Kališnik <[email protected]> */ -class FilterBar : public QWidget +class FilterBar : public TQWidget { Q_OBJECT + TQ_OBJECT public: - FilterBar(QWidget *parent = 0, const char *name = 0); + FilterBar(TQWidget *tqparent = 0, const char *name = 0); virtual ~FilterBar(); signals: @@ -44,20 +45,20 @@ signals: * Signal that reports the name filter has been * changed to \a nameFilter. */ - void signalFilterChanged(const QString& nameFilter); + void signalFilterChanged(const TQString& nameFilter); public slots: - /** @see QWidget::hide() */ + /** @see TQWidget::hide() */ virtual void hide(); - /** @see QWidget::show() */ + /** @see TQWidget::show() */ virtual void show(); protected: - virtual void keyReleaseEvent(QKeyEvent* event); + virtual void keyReleaseEvent(TQKeyEvent* event); private: - QLabel* m_filter; + TQLabel* m_filter; KLineEdit* m_filterInput; KPushButton* m_close; }; |