diff options
Diffstat (limited to 'twin/tools/decobenchmark')
| -rw-r--r-- | twin/tools/decobenchmark/main.cpp | 2 | ||||
| -rw-r--r-- | twin/tools/decobenchmark/preview.cpp | 10 | ||||
| -rw-r--r-- | twin/tools/decobenchmark/preview.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/twin/tools/decobenchmark/main.cpp b/twin/tools/decobenchmark/main.cpp index c4efddace..d4930ee84 100644 --- a/twin/tools/decobenchmark/main.cpp +++ b/twin/tools/decobenchmark/main.cpp @@ -130,7 +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" diff --git a/twin/tools/decobenchmark/preview.cpp b/twin/tools/decobenchmark/preview.cpp index 6034a613e..33ee8fd3e 100644 --- a/twin/tools/decobenchmark/preview.cpp +++ b/twin/tools/decobenchmark/preview.cpp @@ -67,7 +67,7 @@ void KDecorationPreview::performRepaintTest(int n) positionPreviews(0); for (int i = 0; i < n; ++i) { deco->widget()->repaint(); - kapp->processEvents(); + tdeApp->processEvents(); } } @@ -80,7 +80,7 @@ void KDecorationPreview::performCaptionTest(int n) bridge->setCaption(caption.arg(i) ); deco->captionChange(); deco->widget()->repaint(); - kapp->processEvents(); + tdeApp->processEvents(); } } @@ -91,7 +91,7 @@ void KDecorationPreview::performResizeTest(int n) deco->captionChange(); for (int i = 0; i < n; ++i) { positionPreviews(i % 200); - kapp->processEvents(); + tdeApp->processEvents(); } } @@ -103,7 +103,7 @@ void KDecorationPreview::performRecreationTest(int n) positionPreviews(0); for (int i = 0; i < n; ++i) { recreateDecoration(); - kapp->processEvents(); + tdeApp->processEvents(); } } @@ -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 d69a2f57f..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 ); |
