summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/twindowtest.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-13 23:01:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-15 16:22:14 +0900
commitb71912fbcb90d5504aad9f17530c94169a661fed (patch)
treee9039e4a956fb8af5ba2878db5320236eb0f93b1 /tdeui/tests/twindowtest.cpp
parent8ee06ec529e375693eaefa6fb68dc496d36fd367 (diff)
downloadtdelibs-rename/kapp-tdeapp.tar.gz
tdelibs-rename/kapp-tdeapp.zip
Rename TDEApplication::kApplication() to TDEApplication::tdeApplication() and kapp to tdeApp.rename/kapp-tdeapp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeui/tests/twindowtest.cpp')
-rw-r--r--tdeui/tests/twindowtest.cpp8
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;