diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 |
commit | fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch) | |
tree | 9eda848e56fcb862fdfdf479adeccd95b6fe387a /ksysguard/gui/ksgrd | |
parent | 02f67d0e1355b79b1806746efb0f2f640e57f13d (diff) | |
download | tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysguard/gui/ksgrd')
-rw-r--r-- | ksysguard/gui/ksgrd/HostConnector.cc | 16 | ||||
-rw-r--r-- | ksysguard/gui/ksgrd/SensorClient.h | 4 | ||||
-rw-r--r-- | ksysguard/gui/ksgrd/StyleSettings.cc | 30 | ||||
-rw-r--r-- | ksysguard/gui/ksgrd/TimerSettings.cc | 8 |
4 files changed, 29 insertions, 29 deletions
diff --git a/ksysguard/gui/ksgrd/HostConnector.cc b/ksysguard/gui/ksgrd/HostConnector.cc index 0b4536f41..3885a9518 100644 --- a/ksysguard/gui/ksgrd/HostConnector.cc +++ b/ksysguard/gui/ksgrd/HostConnector.cc @@ -38,30 +38,30 @@ HostConnector::HostConnector( TQWidget *parent, const char *name ) parent, name, true, true ) { TQFrame *page = plainPage(); - TQGridLayout *tqlayout = new TQGridLayout( page, 2, 2, 0, spacingHint() ); - tqlayout->setColStretch( 1, 1 ); + TQGridLayout *layout = new TQGridLayout( page, 2, 2, 0, spacingHint() ); + layout->setColStretch( 1, 1 ); TQLabel *label = new TQLabel( i18n( "Host:" ), page ); - tqlayout->addWidget( label, 0, 0 ); + layout->addWidget( label, 0, 0 ); mHostNames = new KComboBox( true, page ); mHostNames->setMaxCount( 20 ); mHostNames->setInsertionPolicy( TQComboBox::AtTop ); mHostNames->setAutoCompletion( true ); mHostNames->setDuplicatesEnabled( false ); - tqlayout->addWidget( mHostNames, 0, 1 ); + layout->addWidget( mHostNames, 0, 1 ); label->setBuddy( mHostNames ); TQWhatsThis::add( mHostNames, i18n( "Enter the name of the host you want to connect to." ) ); mHostNameLabel = new TQLabel( page ); mHostNameLabel->hide(); - tqlayout->addWidget( mHostNameLabel, 0, 1 ); + layout->addWidget( mHostNameLabel, 0, 1 ); TQButtonGroup *group = new TQButtonGroup( 0, Qt::Vertical, i18n( "Connection Type" ), page ); - TQGridLayout *groupLayout = new TQGridLayout( group->tqlayout(), 4, 4, + TQGridLayout *groupLayout = new TQGridLayout( group->layout(), 4, 4, spacingHint() ); - groupLayout->tqsetAlignment( Qt::AlignTop ); + groupLayout->setAlignment( Qt::AlignTop ); mUseSsh = new TQRadioButton( i18n( "ssh" ), group ); mUseSsh->setEnabled( true ); @@ -109,7 +109,7 @@ HostConnector::HostConnector( TQWidget *parent, const char *name ) label = new TQLabel( i18n( "e.g. ssh -l root remote.host.org ksysguardd" ), group ); groupLayout->addMultiCellWidget( label, 3, 3, 2, 3 ); - tqlayout->addMultiCellWidget( group, 1, 1, 0, 1 ); + layout->addMultiCellWidget( group, 1, 1, 0, 1 ); connect( mUseCustom, TQT_SIGNAL( toggled( bool ) ), mCommands, TQT_SLOT( setEnabled( bool ) ) ); diff --git a/ksysguard/gui/ksgrd/SensorClient.h b/ksysguard/gui/ksgrd/SensorClient.h index e2831ebf3..d4e286cb1 100644 --- a/ksysguard/gui/ksgrd/SensorClient.h +++ b/ksysguard/gui/ksgrd/SensorClient.h @@ -103,7 +103,7 @@ class SensorTokenizer }; /** - An integer info tqcontains 4 fields seperated by TABS, a description + An integer info contains 4 fields seperated by TABS, a description (name), the minimum and the maximum values and the unit. e.g. Swap Memory 0 133885952 KB */ @@ -137,7 +137,7 @@ class SensorIntegerInfo : public SensorTokenizer }; /** - An float info tqcontains 4 fields seperated by TABS, a description + An float info contains 4 fields seperated by TABS, a description (name), the minimum and the maximum values and the unit. e.g. CPU Voltage 0.0 5.0 V */ diff --git a/ksysguard/gui/ksgrd/StyleSettings.cc b/ksysguard/gui/ksgrd/StyleSettings.cc index 03d911464..6c7faf771 100644 --- a/ksysguard/gui/ksgrd/StyleSettings.cc +++ b/ksysguard/gui/ksgrd/StyleSettings.cc @@ -42,55 +42,55 @@ StyleSettings::StyleSettings( TQWidget *parent, const char *name ) Cancel, Ok, parent, name, true, true ) { TQFrame *page = addPage( i18n( "Display Style" ) ); - TQGridLayout *tqlayout = new TQGridLayout( page, 6, 2, 0, spacingHint() ); + TQGridLayout *layout = new TQGridLayout( page, 6, 2, 0, spacingHint() ); TQLabel *label = new TQLabel( i18n( "First foreground color:" ), page ); - tqlayout->addWidget( label, 0, 0 ); + layout->addWidget( label, 0, 0 ); mFirstForegroundColor = new KColorButton( page ); - tqlayout->addWidget( mFirstForegroundColor, 0, 1 ); + layout->addWidget( mFirstForegroundColor, 0, 1 ); label->setBuddy( mFirstForegroundColor ); label = new TQLabel( i18n( "Second foreground color:" ), page ); - tqlayout->addWidget( label, 1, 0 ); + layout->addWidget( label, 1, 0 ); mSecondForegroundColor = new KColorButton( page ); - tqlayout->addWidget( mSecondForegroundColor, 1, 1 ); + layout->addWidget( mSecondForegroundColor, 1, 1 ); label->setBuddy( mSecondForegroundColor ); label = new TQLabel( i18n( "Alarm color:" ), page ); - tqlayout->addWidget( label, 2, 0 ); + layout->addWidget( label, 2, 0 ); mAlarmColor = new KColorButton( page ); - tqlayout->addWidget( mAlarmColor, 2, 1 ); + layout->addWidget( mAlarmColor, 2, 1 ); label->setBuddy( mAlarmColor ); label = new TQLabel( i18n( "Background color:" ), page ); - tqlayout->addWidget( label, 3, 0 ); + layout->addWidget( label, 3, 0 ); mBackgroundColor = new KColorButton( page ); - tqlayout->addWidget( mBackgroundColor, 3, 1 ); + layout->addWidget( mBackgroundColor, 3, 1 ); label->setBuddy( mBackgroundColor ); label = new TQLabel( i18n( "Font size:" ), page ); - tqlayout->addWidget( label, 4, 0 ); + layout->addWidget( label, 4, 0 ); mFontSize = new TQSpinBox( 7, 48, 1, page ); mFontSize->setValue( 8 ); - tqlayout->addWidget( mFontSize, 4, 1 ); + layout->addWidget( mFontSize, 4, 1 ); label->setBuddy( mFontSize ); - tqlayout->setRowStretch( 5, 1 ); + layout->setRowStretch( 5, 1 ); page = addPage( i18n( "Sensor Colors" ) ); - tqlayout = new TQGridLayout( page, 1, 2, 0, spacingHint() ); + layout = new TQGridLayout( page, 1, 2, 0, spacingHint() ); mColorListBox = new TQListBox( page ); - tqlayout->addWidget( mColorListBox, 0, 0 ); + layout->addWidget( mColorListBox, 0, 0 ); mEditColorButton = new TQPushButton( i18n( "Change Color..." ), page ); mEditColorButton->setEnabled( false ); - tqlayout->addWidget( mEditColorButton, 0, 1, Qt::AlignTop ); + layout->addWidget( mEditColorButton, 0, 1, Qt::AlignTop ); connect( mColorListBox, TQT_SIGNAL( selectionChanged( TQListBoxItem* ) ), TQT_SLOT( selectionChanged( TQListBoxItem* ) ) ); diff --git a/ksysguard/gui/ksgrd/TimerSettings.cc b/ksysguard/gui/ksgrd/TimerSettings.cc index f52b2e2d8..5e1d8d8b2 100644 --- a/ksysguard/gui/ksgrd/TimerSettings.cc +++ b/ksysguard/gui/ksgrd/TimerSettings.cc @@ -38,18 +38,18 @@ TimerSettings::TimerSettings( TQWidget *parent, const char *name ) { TQFrame *page = plainPage(); - TQGridLayout *tqlayout = new TQGridLayout( page, 2, 2, 0, spacingHint() ); + TQGridLayout *layout = new TQGridLayout( page, 2, 2, 0, spacingHint() ); mUseGlobalUpdate = new TQCheckBox( i18n( "Use update interval of worksheet" ), page ); - tqlayout->addMultiCellWidget( mUseGlobalUpdate, 0, 0, 0, 1 ); + layout->addMultiCellWidget( mUseGlobalUpdate, 0, 0, 0, 1 ); mLabel = new TQLabel( i18n( "Update interval:" ), page ); - tqlayout->addWidget( mLabel, 1, 0 ); + layout->addWidget( mLabel, 1, 0 ); mInterval = new TQSpinBox( 1, 300, 1, page ); mInterval->setValue( 2 ); mInterval->setSuffix( i18n( " sec" ) ); - tqlayout->addWidget( mInterval, 1, 1 ); + layout->addWidget( mInterval, 1, 1 ); mLabel->setBuddy( mInterval ); TQWhatsThis::add( mInterval, i18n( "All displays of the sheet are updated at the rate specified here." ) ); |