summaryrefslogtreecommitdiffstats
path: root/src/k3bdirview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
commitd8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch)
treef295f1c545b319963d5357af79fe08991d8141d9 /src/k3bdirview.h
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz
k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip
TQt4 port k3b
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/k3bdirview.h')
-rw-r--r--src/k3bdirview.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/k3bdirview.h b/src/k3bdirview.h
index 7d4cdf0..e13899c 100644
--- a/src/k3bdirview.h
+++ b/src/k3bdirview.h
@@ -17,11 +17,11 @@
#ifndef K3BDIRVIEW_H
#define K3BDIRVIEW_H
-#include <qvbox.h>
+#include <tqvbox.h>
#include <k3bmedium.h>
-class QSplitter;
+class TQSplitter;
class KURL;
class K3bAudioCdView;
class K3bVideoCdView;
@@ -29,10 +29,10 @@ class K3bFileView;
class K3bVideoDVDRippingView;
class KComboBox;
class K3bFileTreeView;
-class QWidgetStack;
+class TQWidgetStack;
class K3bDiskInfoView;
-class QScrollView;
-class QLabel;
+class TQScrollView;
+class TQLabel;
class KConfig;
class K3bDeviceBranch;
@@ -49,12 +49,13 @@ namespace KIO {
/**
*@author Sebastian Trueg
*/
-class K3bDirView : public QVBox
+class K3bDirView : public TQVBox
{
Q_OBJECT
+ TQ_OBJECT
public:
- K3bDirView(K3bFileTreeView* tree, QWidget *parent=0, const char *name=0);
+ K3bDirView(K3bFileTreeView* tree, TQWidget *tqparent=0, const char *name=0);
~K3bDirView();
public slots:
@@ -65,21 +66,21 @@ class K3bDirView : public QVBox
protected slots:
void slotDirActivated( const KURL& );
- void slotDirActivated( const QString& );
- void slotMountFinished( const QString& );
+ void slotDirActivated( const TQString& );
+ void slotMountFinished( const TQString& );
void slotUnmountFinished( bool );
void showMediumInfo( const K3bMedium& );
void slotDetectingDiskInfo( K3bDevice::Device* dev );
void home();
- void slotFileTreeContextMenu( K3bDevice::Device* dev, const QPoint& p );
+ void slotFileTreeContextMenu( K3bDevice::Device* dev, const TQPoint& p );
signals:
void urlEntered( const KURL& );
void deviceSelected( K3bDevice::Device* );
private:
- QWidgetStack* m_viewStack;
- QScrollView* m_scroll;
+ TQWidgetStack* m_viewStack;
+ TQScrollView* m_scroll;
K3bAudioCdView* m_cdView;
K3bVideoCdView* m_videoView;
@@ -88,7 +89,7 @@ class K3bDirView : public QVBox
K3bDiskInfoView* m_infoView;
KComboBox* m_urlCombo;
- QSplitter* m_mainSplitter;
+ TQSplitter* m_mainSplitter;
K3bFileTreeView* m_fileTreeView;
bool m_bViewDiskInfo;