diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kwin/tools/decobenchmark/main.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/tools/decobenchmark/main.cpp')
-rw-r--r-- | kwin/tools/decobenchmark/main.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kwin/tools/decobenchmark/main.cpp b/kwin/tools/decobenchmark/main.cpp index 847fef69c..d0d165005 100644 --- a/kwin/tools/decobenchmark/main.cpp +++ b/kwin/tools/decobenchmark/main.cpp @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include <qtimer.h> +#include <tqtimer.h> #include <kdebug.h> #include <kconfig.h> @@ -45,7 +45,7 @@ static KCmdLineOptions options[] = { 0, 0, 0 } }; -DecoBenchApplication::DecoBenchApplication(const QString &library, Tests tests, int count) : +DecoBenchApplication::DecoBenchApplication(const TQString &library, Tests tests, int count) : m_tests(tests), m_count(count) { @@ -99,7 +99,7 @@ void DecoBenchApplication::executeTest() int main(int argc, char** argv) { - QString style = "keramik"; + TQString style = "keramik"; // KApplication app(argc, argv); KAboutData about("decobenchmark", "DecoBenchmark", "0.1", "kwin decoration performance tester...", KAboutData::License_LGPL, "(C) 2005 Sandro Giessl"); KCmdLineArgs::init(argc, argv, &about); @@ -110,9 +110,9 @@ int main(int argc, char** argv) if (args->count() != 3) KCmdLineArgs::usage("Wrong number of arguments!"); - QString library = QString(args->arg(0) ); - QString t = QString(args->arg(1) ); - int count = QString(args->arg(2) ).toInt(); + TQString library = TQString(args->arg(0) ); + TQString t = TQString(args->arg(1) ); + int count = TQString(args->arg(2) ).toInt(); Tests test; if (t == "all") @@ -130,7 +130,7 @@ int main(int argc, char** argv) DecoBenchApplication app(library, test, count); - QTimer::singleShot(0, &app, SLOT(executeTest())); + TQTimer::singleShot(0, &app, TQT_SLOT(executeTest())); app.exec(); } #include "main.moc" |