From d8cc8bdfa7fa624a526d5aa1626974e1444cb799 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 27 May 2011 19:21:21 +0000 Subject: 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 --- src/k3blsofwrapper.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/k3blsofwrapper.cpp') diff --git a/src/k3blsofwrapper.cpp b/src/k3blsofwrapper.cpp index 56d5d5b..0362de6 100644 --- a/src/k3blsofwrapper.cpp +++ b/src/k3blsofwrapper.cpp @@ -19,13 +19,13 @@ #include #include -#include -#include +#include +#include #include #include -static K3bLsofWrapper::Process createProcess( const QString& name, int pid ) +static K3bLsofWrapper::Process createProcess( const TQString& name, int pid ) { K3bLsofWrapper::Process p; p.name = name; @@ -37,8 +37,8 @@ static K3bLsofWrapper::Process createProcess( const QString& name, int pid ) class K3bLsofWrapper::Private { public: - QValueList apps; - QString lsofBin; + TQValueList apps; + TQString lsofBin; }; @@ -77,10 +77,10 @@ bool K3bLsofWrapper::checkDevice( K3bDevice::Device* dev ) // // now process its output - QStringList l = QStringList::split( "\n", out.output() ); - for( QStringList::iterator it = l.begin(); it != l.end(); ++it ) { + TQStringList l = TQStringList::split( "\n", out.output() ); + for( TQStringList::iterator it = l.begin(); it != l.end(); ++it ) { int pid = (*it).mid(1).toInt(); - QString app = (*(++it)).mid(1); + TQString app = (*(++it)).mid(1); kdDebug() << "(K3bLsofWrapper) matched: app: " << app << " pid: " << pid << endl; @@ -93,7 +93,7 @@ bool K3bLsofWrapper::checkDevice( K3bDevice::Device* dev ) } -const QValueList& K3bLsofWrapper::usingApplications() const +const TQValueList& K3bLsofWrapper::usingApplications() const { return d->apps; } -- cgit v1.2.3