summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kxmlguitest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/tests/kxmlguitest.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/tests/kxmlguitest.cpp')
-rw-r--r--kdeui/tests/kxmlguitest.cpp12
1 files changed, 6 insertions, 6 deletions
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 <kdebug.h>
#include <kstdaction.h>
#include <kstandarddirs.h>
-#include <qlineedit.h>
-#include <qdir.h>
+#include <tqlineedit.h>
+#include <tqdir.h>
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" );