summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kstatusbartest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tests/kstatusbartest.cpp')
-rw-r--r--tdeui/tests/kstatusbartest.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdeui/tests/kstatusbartest.cpp b/tdeui/tests/kstatusbartest.cpp
index 669044c55..0a8c6d10c 100644
--- a/tdeui/tests/kstatusbartest.cpp
+++ b/tdeui/tests/kstatusbartest.cpp
@@ -10,19 +10,19 @@
#include <stdlib.h>
#include "kstatusbar.h"
-#include <kapplication.h>
-#include <kmainwindow.h>
-#include <kmenubar.h>
+#include <tdeapplication.h>
+#include <tdemainwindow.h>
+#include <tdemenubar.h>
#include "kstatusbartest.h"
testWindow::testWindow (TQWidget *, const char *name)
- : KMainWindow (0, name)
+ : TDEMainWindow (0, name)
{
// Setup Menus
menuBar = new KMenuBar (this);
fileMenu = new TQPopupMenu;
menuBar->insertItem ("&File", fileMenu);
- fileMenu->insertItem ("&Exit", KApplication::kApplication(),
+ fileMenu->insertItem ("&Exit", TDEApplication::kApplication(),
TQT_SLOT( quit() ), ALT + Key_Q );
statusbar = new KStatusBar (this);
statusbar->insertItem("Zoom: XXXX", 0);
@@ -41,7 +41,7 @@ testWindow::testWindow (TQWidget *, const char *name)
setCentralWidget(widget);
- setCaption( KApplication::kApplication()->caption() );
+ setCaption( TDEApplication::kApplication()->caption() );
smenu = new TQPopupMenu;
@@ -104,7 +104,7 @@ testWindow::~testWindow ()
int main( int argc, char *argv[] )
{
- KApplication *myApp = new KApplication( argc, argv, "KStatusBarTest" );
+ TDEApplication *myApp = new TDEApplication( argc, argv, "KStatusBarTest" );
testWindow *test = new testWindow;
myApp->setMainWidget(test);