summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/ksgrd/StyleSettings.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /ksysguard/gui/ksgrd/StyleSettings.cc
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz
tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysguard/gui/ksgrd/StyleSettings.cc')
-rw-r--r--ksysguard/gui/ksgrd/StyleSettings.cc30
1 files changed, 15 insertions, 15 deletions
diff --git a/ksysguard/gui/ksgrd/StyleSettings.cc b/ksysguard/gui/ksgrd/StyleSettings.cc
index 6c7faf771..03d911464 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 *layout = new TQGridLayout( page, 6, 2, 0, spacingHint() );
+ TQGridLayout *tqlayout = new TQGridLayout( page, 6, 2, 0, spacingHint() );
TQLabel *label = new TQLabel( i18n( "First foreground color:" ), page );
- layout->addWidget( label, 0, 0 );
+ tqlayout->addWidget( label, 0, 0 );
mFirstForegroundColor = new KColorButton( page );
- layout->addWidget( mFirstForegroundColor, 0, 1 );
+ tqlayout->addWidget( mFirstForegroundColor, 0, 1 );
label->setBuddy( mFirstForegroundColor );
label = new TQLabel( i18n( "Second foreground color:" ), page );
- layout->addWidget( label, 1, 0 );
+ tqlayout->addWidget( label, 1, 0 );
mSecondForegroundColor = new KColorButton( page );
- layout->addWidget( mSecondForegroundColor, 1, 1 );
+ tqlayout->addWidget( mSecondForegroundColor, 1, 1 );
label->setBuddy( mSecondForegroundColor );
label = new TQLabel( i18n( "Alarm color:" ), page );
- layout->addWidget( label, 2, 0 );
+ tqlayout->addWidget( label, 2, 0 );
mAlarmColor = new KColorButton( page );
- layout->addWidget( mAlarmColor, 2, 1 );
+ tqlayout->addWidget( mAlarmColor, 2, 1 );
label->setBuddy( mAlarmColor );
label = new TQLabel( i18n( "Background color:" ), page );
- layout->addWidget( label, 3, 0 );
+ tqlayout->addWidget( label, 3, 0 );
mBackgroundColor = new KColorButton( page );
- layout->addWidget( mBackgroundColor, 3, 1 );
+ tqlayout->addWidget( mBackgroundColor, 3, 1 );
label->setBuddy( mBackgroundColor );
label = new TQLabel( i18n( "Font size:" ), page );
- layout->addWidget( label, 4, 0 );
+ tqlayout->addWidget( label, 4, 0 );
mFontSize = new TQSpinBox( 7, 48, 1, page );
mFontSize->setValue( 8 );
- layout->addWidget( mFontSize, 4, 1 );
+ tqlayout->addWidget( mFontSize, 4, 1 );
label->setBuddy( mFontSize );
- layout->setRowStretch( 5, 1 );
+ tqlayout->setRowStretch( 5, 1 );
page = addPage( i18n( "Sensor Colors" ) );
- layout = new TQGridLayout( page, 1, 2, 0, spacingHint() );
+ tqlayout = new TQGridLayout( page, 1, 2, 0, spacingHint() );
mColorListBox = new TQListBox( page );
- layout->addWidget( mColorListBox, 0, 0 );
+ tqlayout->addWidget( mColorListBox, 0, 0 );
mEditColorButton = new TQPushButton( i18n( "Change Color..." ), page );
mEditColorButton->setEnabled( false );
- layout->addWidget( mEditColorButton, 0, 1, Qt::AlignTop );
+ tqlayout->addWidget( mEditColorButton, 0, 1, Qt::AlignTop );
connect( mColorListBox, TQT_SIGNAL( selectionChanged( TQListBoxItem* ) ),
TQT_SLOT( selectionChanged( TQListBoxItem* ) ) );