summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/KSGAppletSettings.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /ksysguard/gui/KSGAppletSettings.cc
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysguard/gui/KSGAppletSettings.cc')
-rw-r--r--ksysguard/gui/KSGAppletSettings.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/ksysguard/gui/KSGAppletSettings.cc b/ksysguard/gui/KSGAppletSettings.cc
index df4748cb8..5160dbddb 100644
--- a/ksysguard/gui/KSGAppletSettings.cc
+++ b/ksysguard/gui/KSGAppletSettings.cc
@@ -18,54 +18,54 @@
Boston, MA 02110-1301, USA.
*/
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qspinbox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqspinbox.h>
#include <kaccelmanager.h>
#include <klocale.h>
#include "KSGAppletSettings.h"
-KSGAppletSettings::KSGAppletSettings( QWidget *parent, const char *name )
- : KDialogBase( parent, name, false, QString::null, Ok|Apply|Cancel,
+KSGAppletSettings::KSGAppletSettings( TQWidget *parent, const char *name )
+ : KDialogBase( parent, name, false, TQString::null, Ok|Apply|Cancel,
Ok, true )
{
setCaption( i18n( "System Guard Settings" ) );
- QWidget *page = new QWidget( this );
+ TQWidget *page = new TQWidget( this );
setMainWidget( page );
- QGridLayout *topLayout = new QGridLayout( page, 3, 2, KDialog::marginHint(),
+ TQGridLayout *topLayout = new TQGridLayout( page, 3, 2, KDialog::marginHint(),
KDialog::spacingHint() );
- QLabel *label = new QLabel( i18n( "Number of displays:" ), page );
+ TQLabel *label = new TQLabel( i18n( "Number of displays:" ), page );
topLayout->addWidget( label, 0, 0 );
- mNumDisplay = new QSpinBox( 1, 32, 1, page );
+ mNumDisplay = new TQSpinBox( 1, 32, 1, page );
mNumDisplay->setValue(2);
topLayout->addWidget( mNumDisplay, 0, 1 );
label->setBuddy( mNumDisplay );
- label = new QLabel( i18n( "Size ratio:" ), page );
+ label = new TQLabel( i18n( "Size ratio:" ), page );
topLayout->addWidget( label, 1, 0 );
- mSizeRatio = new QSpinBox( 50, 500, 50, page );
+ mSizeRatio = new TQSpinBox( 50, 500, 50, page );
mSizeRatio->setSuffix( i18n( "%" ) );
mSizeRatio->setValue(100);
topLayout->addWidget( mSizeRatio, 1, 1 );
label->setBuddy( mSizeRatio );
- label = new QLabel( i18n( "Update interval:" ), page );
+ label = new TQLabel( i18n( "Update interval:" ), page );
topLayout->addWidget( label, 2, 0 );
- mInterval = new QSpinBox( 1, 300, 1, page );
+ mInterval = new TQSpinBox( 1, 300, 1, page );
mInterval->setValue(2);
mInterval->setSuffix( i18n( " sec" ) );
topLayout->addWidget( mInterval, 2, 1 );
label->setBuddy( mInterval );
- resize( QSize( 250, 130 ).expandedTo( minimumSizeHint() ) );
+ resize( TQSize( 250, 130 ).expandedTo( minimumSizeHint() ) );
KAcceleratorManager::manage( page );
}