diff options
Diffstat (limited to 'tdeui/tests/twindowtest.cpp')
-rw-r--r-- | tdeui/tests/twindowtest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeui/tests/twindowtest.cpp b/tdeui/tests/twindowtest.cpp index 8fd5170e0..2f43c15d8 100644 --- a/tdeui/tests/twindowtest.cpp +++ b/tdeui/tests/twindowtest.cpp @@ -55,7 +55,7 @@ setAutoSaveSettings(); menuBar->insertItem ("&File", fileMenu); // We insert item "Exit" with accelerator ALT-Q, and connect // it to application's exit-slot. - fileMenu->insertItem ("&Exit", TDEApplication::kApplication(), + fileMenu->insertItem ("&Exit", tdeApp, TQ_SLOT( quit() ), ALT + Key_Q ); // Another popup... @@ -148,7 +148,7 @@ setAutoSaveSettings(); // Now add another button and align it right pix = BarIcon("system-log-out"); - tb->insertButton(pix, 6, TQ_SIGNAL(clicked()), TDEApplication::kApplication(), + tb->insertButton(pix, 6, TQ_SIGNAL(clicked()), tdeApp, TQ_SLOT( quit() ), true, "Exit"); tb->alignItemRight (6); @@ -291,7 +291,7 @@ void testWindow::slotGoGoGoo() void testWindow::slotSave() { - kapp->beep(); + tdeApp->beep(); statusBar->changeItem("Saving properties...", 0); } @@ -408,7 +408,7 @@ void testWindow::slotExit () { TQPixmap pix; pix = BarIcon("system-log-out"); - tb->insertButton(pix, 6, TQ_SIGNAL(clicked()), TDEApplication::kApplication(), + tb->insertButton(pix, 6, TQ_SIGNAL(clicked()), tdeApp, TQ_SLOT( quit() ), true, "Exit"); tb->alignItemRight (6); exitB = true; |