From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/tests/kxmlguitest.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kdeui/tests/kxmlguitest.cpp') diff --git a/kdeui/tests/kxmlguitest.cpp b/kdeui/tests/kxmlguitest.cpp index 949eb03c4..a903aeb3f 100644 --- a/kdeui/tests/kxmlguitest.cpp +++ b/kdeui/tests/kxmlguitest.cpp @@ -8,8 +8,8 @@ #include #include #include -#include -#include +#include +#include void Client::slotSec() { @@ -22,11 +22,11 @@ int main( int argc, char **argv ) // KXMLGUIClient looks in the "data" resource for the .rc files // Let's add $PWD (ideally $srcdir instead...) to it - KGlobal::dirs()->addResourceDir( "data", QDir::currentDirPath() ); + KGlobal::dirs()->addResourceDir( "data", TQDir::currentDirPath() ); KMainWindow *mainwindow = new KMainWindow; - QLineEdit* line = new QLineEdit( mainwindow ); + TQLineEdit* line = new TQLineEdit( mainwindow ); mainwindow->setCentralWidget( line ); mainwindow->show(); @@ -37,7 +37,7 @@ int main( int argc, char **argv ) Client *shell = new Client; shell->setInstance( new KInstance( "konqueror" ) ); - shell->instance()->dirs()->addResourceDir( "data", QDir::currentDirPath() ); + shell->instance()->dirs()->addResourceDir( "data", TQDir::currentDirPath() ); (void)new KAction( "Split", "view_left_right", 0, 0, 0, shell->actionCollection(), "splitviewh" ); @@ -48,7 +48,7 @@ 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, SLOT( slotSec() ), part->actionCollection(), "security" ); + (void)new KAction( "sec", "unlock", Qt::ALT + Qt::Key_1, part, TQT_SLOT( slotSec() ), part->actionCollection(), "security" ); part->setXMLFile( "./kxmlguitest_part.rc" ); -- cgit v1.2.3