diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:13 -0600 |
commit | ba2a3ce341c0c71bbbcf350fcbcd60c552220b31 (patch) | |
tree | 08ba9504290f461f1244dded6b37fc4db00847ab /kitchensync/src/groupitem.cpp | |
parent | d5b298be14c173d62e8fbc6a3803ba8f657f3dcb (diff) | |
download | tdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.tar.gz tdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kitchensync/src/groupitem.cpp')
-rw-r--r-- | kitchensync/src/groupitem.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kitchensync/src/groupitem.cpp b/kitchensync/src/groupitem.cpp index 5409fc171..08b12625f 100644 --- a/kitchensync/src/groupitem.cpp +++ b/kitchensync/src/groupitem.cpp @@ -50,7 +50,7 @@ GroupItem::GroupItem( KWidgetList *parent, SyncProcess *process ) boldFont.setBold( true ); boldFont.setPointSize( boldFont.pointSize() + 2 ); - TQGridLayout *tqlayout = new TQGridLayout( this, 4, 4, KDialog::marginHint(), KDialog::spacingHint() ); + TQGridLayout *layout = new TQGridLayout( this, 4, 4, KDialog::marginHint(), KDialog::spacingHint() ); mBox = new TQVBox( this ); mBox->setMargin( 5 ); @@ -93,16 +93,16 @@ GroupItem::GroupItem( KWidgetList *parent, SyncProcess *process ) hbox->setPaletteBackgroundColor( colorGroup().mid() ); hbox->setMaximumHeight( hbox->minimumSizeHint().height() ); - tqlayout->addMultiCellWidget( hbox, 0, 0, 0, 3 ); - tqlayout->addMultiCellWidget( mBox, 1, 1, 0, 3 ); - tqlayout->addWidget( mTime, 2, 0 ); - tqlayout->addWidget( mSyncAction, 2, 1 ); - tqlayout->addWidget( mConfigureAction, 2, 2 ); - tqlayout->addWidget( mProgressBar, 2, 3 ); - tqlayout->setColStretch( 0, 1 ); - tqlayout->setRowStretch( 3, 1 ); + layout->addMultiCellWidget( hbox, 0, 0, 0, 3 ); + layout->addMultiCellWidget( mBox, 1, 1, 0, 3 ); + layout->addWidget( mTime, 2, 0 ); + layout->addWidget( mSyncAction, 2, 1 ); + layout->addWidget( mConfigureAction, 2, 2 ); + layout->addWidget( mProgressBar, 2, 3 ); + layout->setColStretch( 0, 1 ); + layout->setRowStretch( 3, 1 ); - setPaletteBackgroundColor( kapp->tqpalette().active().base() ); + setPaletteBackgroundColor( kapp->palette().active().base() ); connect( mCallbackHandler, TQT_SIGNAL( conflict( QSync::SyncMapping ) ), this, TQT_SLOT( conflict( QSync::SyncMapping ) ) ); @@ -358,12 +358,12 @@ MemberItem::MemberItem( TQWidget *parent, SyncProcess *process, QSync::Plugin plugin = member.plugin(); - TQVBoxLayout *tqlayout = new TQVBoxLayout( this ); + TQVBoxLayout *layout = new TQVBoxLayout( this ); TQHBox* box = new TQHBox( this ); box->setMargin( 5 ); box->setSpacing( 6 ); - tqlayout->addWidget( box ); + layout->addWidget( box ); mIcon = new TQLabel( box ); mIcon->setPixmap( icon ); |