diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
commit | d8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch) | |
tree | f295f1c545b319963d5357af79fe08991d8141d9 /src/k3binterface.cpp | |
parent | 2a39a080579fb52a2599c02b2939795385b89093 (diff) | |
download | k3b-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/k3binterface.cpp')
-rw-r--r-- | src/k3binterface.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/k3binterface.cpp b/src/k3binterface.cpp index c95e598..cd6f4d7 100644 --- a/src/k3binterface.cpp +++ b/src/k3binterface.cpp @@ -26,8 +26,8 @@ #include <k3bglobals.h> #include <dcopclient.h> -#include <qptrlist.h> -#include <qtimer.h> +#include <tqptrlist.h> +#include <tqtimer.h> @@ -105,11 +105,11 @@ DCOPRef K3bInterface::openProject( const KURL& url ) return DCOPRef(); } -QValueList<DCOPRef> K3bInterface::projects() +TQValueList<DCOPRef> K3bInterface::projects() { - QValueList<DCOPRef> lst; - const QPtrList<K3bDoc>& docs = k3bappcore->projectManager()->projects(); - for( QPtrListIterator<K3bDoc> it( docs ); it.current(); ++it ) + TQValueList<DCOPRef> lst; + const TQPtrList<K3bDoc>& docs = k3bappcore->projectManager()->projects(); + for( TQPtrListIterator<K3bDoc> it( docs ); it.current(); ++it ) lst.append( DCOPRef( kapp->dcopClient()->appId(), k3bappcore->projectManager()->dcopInterface( it.current() )->objId() ) ); return lst; @@ -143,28 +143,28 @@ void K3bInterface::copyDvd( const KURL& dev ) void K3bInterface::copyCd() { // HACK since we want this method to return immediately - QTimer::singleShot( 0, m_main, SLOT(slotCdCopy()) ); + TQTimer::singleShot( 0, m_main, TQT_SLOT(slotCdCopy()) ); } void K3bInterface::copyDvd() { // HACK since we want this method to return immediately - QTimer::singleShot( 0, m_main, SLOT(slotDvdCopy()) ); + TQTimer::singleShot( 0, m_main, TQT_SLOT(slotDvdCopy()) ); } void K3bInterface::eraseCdrw() { // HACK since we want this method to return immediately - QTimer::singleShot( 0, m_main, SLOT(slotBlankCdrw()) ); + TQTimer::singleShot( 0, m_main, TQT_SLOT(slotBlankCdrw()) ); } void K3bInterface::formatDvd() { // HACK since we want this method to return immediately - QTimer::singleShot( 0, m_main, SLOT(slotFormatDvd()) ); + TQTimer::singleShot( 0, m_main, TQT_SLOT(slotFormatDvd()) ); } |