diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-03 02:49:54 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-03 02:49:54 +0000 |
commit | 6ffad5a006df848f5e9a80ca31e5faec8ed65e62 (patch) | |
tree | 3757770dc3586efff30fdfe30f7e36b64ab883f1 /krusader/Panel/panelpopup.h | |
parent | 1359f43e963c10d08c6c78f4806da291ca216bfe (diff) | |
download | krusader-6ffad5a006df848f5e9a80ca31e5faec8ed65e62.tar.gz krusader-6ffad5a006df848f5e9a80ca31e5faec8ed65e62.zip |
TQt4 port krusader
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/krusader@1239136 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krusader/Panel/panelpopup.h')
-rw-r--r-- | krusader/Panel/panelpopup.h | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/krusader/Panel/panelpopup.h b/krusader/Panel/panelpopup.h index 3c09a0b..b41294e 100644 --- a/krusader/Panel/panelpopup.h +++ b/krusader/Panel/panelpopup.h @@ -1,21 +1,21 @@ #ifndef _PANELPOPUP_H #define _PANELPOPUP_H -#include <qwidget.h> -#include <qwidgetstack.h> -#include <qpixmap.h> -#include <qvaluelist.h> +#include <tqwidget.h> +#include <tqwidgetstack.h> +#include <tqpixmap.h> +#include <tqvaluelist.h> #include <kfileitem.h> -#include <qguardedptr.h> +#include <tqguardedptr.h> #include <kio/previewjob.h> #include <kurl.h> -class QButtonGroup; -class QLabel; -class QListViewItem; -class QSplitter; +class TQButtonGroup; +class TQLabel; +class TQListViewItem; +class TQSplitter; class KFileTreeView; -class QToolButton; +class TQToolButton; class KrSqueezedTextLabel; class KLineEdit; class KComboBox; @@ -23,11 +23,12 @@ class KrusaderImageFilePreview; class PanelViewer; class DiskUsageViewer; -class PanelPopup: public QWidget { +class PanelPopup: public TQWidget { Q_OBJECT + TQ_OBJECT enum Parts { Tree, Preview, QuickPanel, View, DskUsage, Last=0xFF }; public: - PanelPopup( QSplitter *splitter, bool left ); + PanelPopup( TQSplitter *splitter, bool left ); ~PanelPopup(); inline int currentPage() const { return stack->id(stack->visibleWidget()); } @@ -45,29 +46,29 @@ signals: protected slots: virtual void setFocus(); void tabSelected(int id); - void treeSelection(QListViewItem*); - void slotDroppedOnTree(QWidget *widget, QDropEvent *e, KURL::List &lst, KURL &); + void treeSelection(TQListViewItem*); + void slotDroppedOnTree(TQWidget *widget, TQDropEvent *e, KURL::List &lst, KURL &); void handleOpenURLRequest(const KURL &url); void quickSelect(); - void quickSelect(const QString &); + void quickSelect(const TQString &); void quickSelectStore(); protected: bool _left; bool _hidden; - QWidgetStack *stack; + TQWidgetStack *stack; KrusaderImageFilePreview *viewer; KrSqueezedTextLabel *dataLine; - QGuardedPtr<KIO::PreviewJob> pjob; + TQGuardedPtr<KIO::PreviewJob> pjob; KFileTreeView *tree; - QToolButton *treeBtn, *previewBtn, *quickBtn, *viewerBtn, *duBtn; - QButtonGroup *btns; + TQToolButton *treeBtn, *previewBtn, *quickBtn, *viewerBtn, *duBtn; + TQButtonGroup *btns; KLineEdit *quickFilter; KComboBox *quickSelectCombo; PanelViewer *panelviewer; DiskUsageViewer *diskusage; - QValueList<int> splitterSizes; - QSplitter *splitter; + TQValueList<int> splitterSizes; + TQSplitter *splitter; }; #endif // _PANELPOPUP_H |