diff options
Diffstat (limited to 'twin/tools/decobenchmark')
-rw-r--r-- | twin/tools/decobenchmark/main.cpp | 6 | ||||
-rw-r--r-- | twin/tools/decobenchmark/main.h | 4 | ||||
-rw-r--r-- | twin/tools/decobenchmark/preview.cpp | 2 | ||||
-rw-r--r-- | twin/tools/decobenchmark/preview.h | 4 |
4 files changed, 6 insertions, 10 deletions
diff --git a/twin/tools/decobenchmark/main.cpp b/twin/tools/decobenchmark/main.cpp index 32300016d..d4930ee84 100644 --- a/twin/tools/decobenchmark/main.cpp +++ b/twin/tools/decobenchmark/main.cpp @@ -39,7 +39,7 @@ static TDECmdLineOptions options[] = { - { "+decoration", "Decoration library to use, such as twin3_plastik.", 0 }, + { "+decoration", "Decoration library to use, such as twin_plastik.", 0 }, { "+tests", "Which test should be executed ('all', 'repaint', 'caption', 'resize', 'recreation')", 0 }, { "+repetitions", "Number of test repetitions.", 0 }, { 0, 0, 0 } @@ -130,9 +130,7 @@ int main(int argc, char** argv) DecoBenchApplication app(library, test, count); - TQTimer::singleShot(0, &app, TQT_SLOT(executeTest())); + TQTimer::singleShot(0, &app, TQ_SLOT(executeTest())); app.exec(); } #include "main.moc" - -// kate: space-indent off; tab-width 4; diff --git a/twin/tools/decobenchmark/main.h b/twin/tools/decobenchmark/main.h index e556c1350..3745697f0 100644 --- a/twin/tools/decobenchmark/main.h +++ b/twin/tools/decobenchmark/main.h @@ -31,7 +31,7 @@ enum Tests { class DecoBenchApplication : public TDEApplication { - Q_OBJECT + TQ_OBJECT public: DecoBenchApplication(const TQString &library, Tests tests, int count); ~DecoBenchApplication(); @@ -47,5 +47,3 @@ private: }; #endif // BENCH_MAIN_H - -// kate: space-indent off; tab-width 4; diff --git a/twin/tools/decobenchmark/preview.cpp b/twin/tools/decobenchmark/preview.cpp index 6034a613e..c706eb5df 100644 --- a/twin/tools/decobenchmark/preview.cpp +++ b/twin/tools/decobenchmark/preview.cpp @@ -188,7 +188,7 @@ TQWidget* KDecorationPreviewBridge::initialParentWidget() const return preview; } -Qt::WFlags KDecorationPreviewBridge::initialWFlags() const +TQt::WFlags KDecorationPreviewBridge::initialWFlags() const { return 0; } diff --git a/twin/tools/decobenchmark/preview.h b/twin/tools/decobenchmark/preview.h index 2138c51b7..38cd08b19 100644 --- a/twin/tools/decobenchmark/preview.h +++ b/twin/tools/decobenchmark/preview.h @@ -30,7 +30,7 @@ class KDecorationPreviewBridge; class KDecorationPreviewOptions; class KDecorationPreview - : public QWidget + : public TQWidget { public: KDecorationPreview( KDecorationPlugins* plugin, TQWidget* parent = NULL, const char* name = NULL ); @@ -101,7 +101,7 @@ class KDecorationPreviewBridge virtual void setKeepBelow( bool ); virtual int currentDesktop() const; virtual TQWidget* initialParentWidget() const; - virtual Qt::WFlags initialWFlags() const; + virtual TQt::WFlags initialWFlags() const; virtual void helperShowHide( bool show ); virtual void grabXServer( bool grab ); private: |