summaryrefslogtreecommitdiffstats
path: root/kio/tests/speed.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kio/tests/speed.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/tests/speed.cpp')
-rw-r--r--kio/tests/speed.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kio/tests/speed.cpp b/kio/tests/speed.cpp
index fc7128f35..d8ddae20a 100644
--- a/kio/tests/speed.cpp
+++ b/kio/tests/speed.cpp
@@ -22,20 +22,20 @@
#include "speed.h"
#include <kio/job.h>
#include <kcmdlineargs.h>
-#include <qdir.h>
+#include <tqdir.h>
#include <kio/global.h>
using namespace KIO;
SpeedTest::SpeedTest( const KURL & url )
- : QObject(0, "speed")
+ : TQObject(0, "speed")
{
Job *job = listRecursive( url );
- //Job *job = del( KURL("file:" + QDir::currentDirPath()) ); DANGEROUS !
- connect(job, SIGNAL( result( KIO::Job*)),
- SLOT( finished( KIO::Job* ) ));
- /*connect(job, SIGNAL( entries( KIO::Job*, const KIO::UDSEntryList&)),
- SLOT( entries( KIO::Job*, const KIO::UDSEntryList&)));
+ //Job *job = del( KURL("file:" + TQDir::currentDirPath()) ); DANGEROUS !
+ connect(job, TQT_SIGNAL( result( KIO::Job*)),
+ TQT_SLOT( finished( KIO::Job* ) ));
+ /*connect(job, TQT_SIGNAL( entries( KIO::Job*, const KIO::UDSEntryList&)),
+ TQT_SLOT( entries( KIO::Job*, const KIO::UDSEntryList&)));
*/
}
@@ -77,11 +77,11 @@ int main(int argc, char **argv) {
if ( args->count() == 1 )
url = args->url(0);
else
- url = "file:" + QDir::currentDirPath();
+ url = "file:" + TQDir::currentDirPath();
kdDebug() << url.url() << " is probably " << (KIO::probably_slow_mounted(url.path()) ? "slow" : "normal") << " mounted\n";
kdDebug() << url.url() << " is " << (KIO::manually_mounted(url.path()) ? "manually" : "system") << " mounted\n";
- QString mp = KIO::findDeviceMountPoint(url.path());
+ TQString mp = KIO::findDeviceMountPoint(url.path());
if (mp.isEmpty()) {
kdDebug() << "no mount point for device " << url.url() << " found\n";
} else
@@ -103,7 +103,7 @@ int main(int argc, char **argv) {
// SpeedTest test( url );
// app.exec();
- url.setPath(QDir::homeDirPath());
+ url.setPath(TQDir::homeDirPath());
mp = KIO::findPathMountPoint(url.path());
if (mp.isEmpty()) {
@@ -124,7 +124,7 @@ int main(int argc, char **argv) {
if ( args->count() == 1 )
url = args->url(0);
else
- url = "file:" + QDir::currentDirPath();
+ url = "file:" + TQDir::currentDirPath();
mp = KIO::findPathMountPoint(url.path());
if (mp.isEmpty()) {