summaryrefslogtreecommitdiffstats
path: root/src/k3bmediacontentsview.cpp
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/k3bmediacontentsview.cpp
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/k3bmediacontentsview.cpp')
-rw-r--r--src/k3bmediacontentsview.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/k3bmediacontentsview.cpp b/src/k3bmediacontentsview.cpp
index 4f42595..2a2671a 100644
--- a/src/k3bmediacontentsview.cpp
+++ b/src/k3bmediacontentsview.cpp
@@ -18,10 +18,10 @@
#include <k3bmediacache.h>
#include <k3bapplication.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpixmap.h>
-#include <qwidgetstack.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqpixmap.h>
+#include <tqwidgetstack.h>
class K3bMediaContentsView::Private
@@ -40,9 +40,9 @@ K3bMediaContentsView::K3bMediaContentsView( bool withHeader,
int mediumContent,
int mediumTypes,
int mediumState,
- QWidget* parent,
+ TQWidget* tqparent,
const char* name )
- : K3bContentsView( withHeader, parent, name )
+ : K3bContentsView( withHeader, tqparent, name )
{
d = new Private;
d->supportedMediumContent = mediumContent;
@@ -50,8 +50,8 @@ K3bMediaContentsView::K3bMediaContentsView( bool withHeader,
d->supportedMediumStates = mediumState;
d->autoReload = true;
- connect( k3bappcore->mediaCache(), SIGNAL(mediumChanged(K3bDevice::Device*)),
- this, SLOT(slotMediumChanged(K3bDevice::Device*)) );
+ connect( k3bappcore->mediaCache(), TQT_SIGNAL(mediumChanged(K3bDevice::Device*)),
+ this, TQT_SLOT(slotMediumChanged(K3bDevice::Device*)) );
}
@@ -131,9 +131,9 @@ void K3bMediaContentsView::enableInteraction( bool enable )
void K3bMediaContentsView::slotMediumChanged( K3bDevice::Device* dev )
{
- // FIXME: derive a K3bContentsStack from QWidgetStack and let it set an active flag
+ // FIXME: derive a K3bContentsStack from TQWidgetStack and let it set an active flag
// to replace this hack
- if( QWidgetStack* stack = dynamic_cast<QWidgetStack*>( parentWidget() ) )
+ if( TQWidgetStack* stack = dynamic_cast<TQWidgetStack*>( tqparentWidget() ) )
if( stack->visibleWidget() != this )
return;