From 8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:21:02 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- tdeui/tests/twindowtest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tdeui/tests/twindowtest.cpp') diff --git a/tdeui/tests/twindowtest.cpp b/tdeui/tests/twindowtest.cpp index b967987bf..32027bce1 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", KApplication::kApplication(), + fileMenu->insertItem ("&Exit", TDEApplication::kApplication(), TQT_SLOT( quit() ), ALT + Key_Q ); // Another popup... @@ -148,7 +148,7 @@ setAutoSaveSettings(); // Now add another button and align it right pix = BarIcon("exit"); - tb->insertButton(pix, 6, TQT_SIGNAL(clicked()), KApplication::kApplication(), + tb->insertButton(pix, 6, TQT_SIGNAL(clicked()), TDEApplication::kApplication(), TQT_SLOT( quit() ), true, "Exit"); tb->alignItemRight (6); @@ -408,7 +408,7 @@ void testWindow::slotExit () { TQPixmap pix; pix = BarIcon("exit"); - tb->insertButton(pix, 6, TQT_SIGNAL(clicked()), KApplication::kApplication(), + tb->insertButton(pix, 6, TQT_SIGNAL(clicked()), TDEApplication::kApplication(), TQT_SLOT( quit() ), true, "Exit"); tb->alignItemRight (6); exitB = true; @@ -504,7 +504,7 @@ int main( int argc, char *argv[] ) int i; TDECmdLineArgs::init(argc, argv, "KWindowTest", "description", "version"); - KApplication *myApp = new KApplication(); + TDEApplication *myApp = new TDEApplication(); testWindow *test = new testWindow; myApp->setMainWidget(test); -- cgit v1.2.1