summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kxmlguitest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tests/kxmlguitest.cpp')
-rw-r--r--tdeui/tests/kxmlguitest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeui/tests/kxmlguitest.cpp b/tdeui/tests/kxmlguitest.cpp
index 4c9e83bc1..17f7daac9 100644
--- a/tdeui/tests/kxmlguitest.cpp
+++ b/tdeui/tests/kxmlguitest.cpp
@@ -24,7 +24,7 @@ int main( int argc, char **argv )
// Let's add $PWD (ideally $srcdir instead...) to it
TDEGlobal::dirs()->addResourceDir( "data", TQDir::currentDirPath() );
- KMainWindow *mainwindow = new KMainWindow;
+ TDEMainWindow *mainwindow = new TDEMainWindow;
TQLineEdit* line = new TQLineEdit( mainwindow );
mainwindow->setCentralWidget( line );
@@ -39,7 +39,7 @@ int main( int argc, char **argv )
shell->setInstance( new TDEInstance( "konqueror" ) );
shell->instance()->dirs()->addResourceDir( "data", TQDir::currentDirPath() );
- (void)new KAction( "Split", "view_left_right", 0, 0, 0, shell->actionCollection(), "splitviewh" );
+ (void)new TDEAction( "Split", "view_left_right", 0, 0, 0, shell->actionCollection(), "splitviewh" );
shell->setXMLFile( "./kxmlguitest_shell.rc" );
@@ -47,8 +47,8 @@ int main( int argc, char **argv )
Client *part = new Client;
- (void)new KAction( "decfont", "viewmag-", 0, 0, 0, part->actionCollection(), "decFontSizes" );
- (void)new KAction( "sec", "unlock", Qt::ALT + Qt::Key_1, part, TQT_SLOT( slotSec() ), part->actionCollection(), "security" );
+ (void)new TDEAction( "decfont", "viewmag-", 0, 0, 0, part->actionCollection(), "decFontSizes" );
+ (void)new TDEAction( "sec", "unlock", Qt::ALT + Qt::Key_1, part, TQT_SLOT( slotSec() ), part->actionCollection(), "security" );
part->setXMLFile( "./kxmlguitest_part.rc" );