summaryrefslogtreecommitdiffstats
path: root/knewstuff/ghns.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 /knewstuff/ghns.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 'knewstuff/ghns.cpp')
-rw-r--r--knewstuff/ghns.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/knewstuff/ghns.cpp b/knewstuff/ghns.cpp
index 6c273b03a..90596da3d 100644
--- a/knewstuff/ghns.cpp
+++ b/knewstuff/ghns.cpp
@@ -20,10 +20,10 @@
*/
#include <iostream>
-#include <qlayout.h>
-#include <qfile.h>
-#include <qtextstream.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqfile.h>
+#include <tqtextstream.h>
+#include <tqlabel.h>
#include <kaboutdata.h>
#include <kapplication.h>
@@ -43,25 +43,25 @@ GhnsWidget::GhnsWidget()
{
mWallpapers = new KNewStuffGeneric( "kdesktop/wallpaper", this );
- QBoxLayout *topLayout = new QVBoxLayout( this );
+ TQBoxLayout *topLayout = new TQVBoxLayout( this );
topLayout->setMargin( KDialog::marginHint() );
topLayout->setSpacing( KDialog::spacingHint() );
- topLayout->addWidget( new QLabel( i18n("Get hot new stuff:"), this ) );
+ topLayout->addWidget( new TQLabel( i18n("Get hot new stuff:"), this ) );
- QPushButton *button = new QPushButton( "Wallpapers", this );
+ TQPushButton *button = new TQPushButton( "Wallpapers", this );
topLayout->addWidget( button );
- connect( button, SIGNAL( clicked() ), SLOT( downloadWallpapers() ) );
+ connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( downloadWallpapers() ) );
topLayout->addSpacing( 5 );
- QBoxLayout *buttonLayout = new QHBoxLayout( topLayout );
+ TQBoxLayout *buttonLayout = new TQHBoxLayout( topLayout );
buttonLayout->addStretch();
- QPushButton *closeButton = new QPushButton( "Close", this );
+ TQPushButton *closeButton = new TQPushButton( "Close", this );
buttonLayout->addWidget( closeButton );
- connect( closeButton, SIGNAL( clicked() ), kapp, SLOT( quit() ) );
+ connect( closeButton, TQT_SIGNAL( clicked() ), kapp, TQT_SLOT( quit() ) );
}
GhnsWidget::~GhnsWidget()