diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kresources/configpage.cpp | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.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/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/configpage.cpp')
-rw-r--r-- | kresources/configpage.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kresources/configpage.cpp b/kresources/configpage.cpp index d84db12f1..5e5e61198 100644 --- a/kresources/configpage.cpp +++ b/kresources/configpage.cpp @@ -106,9 +106,9 @@ ConfigPage::ConfigPage( TQWidget *parent, const char *name ) TQGroupBox *groupBox = new TQGroupBox( i18n( "Resources" ), this ); groupBox->setColumnLayout(0, Qt::Vertical ); - groupBox->tqlayout()->setSpacing( 6 ); - groupBox->tqlayout()->setMargin( 11 ); - TQGridLayout *groupBoxLayout = new TQGridLayout( groupBox->tqlayout(), 2, 2 ); + groupBox->layout()->setSpacing( 6 ); + groupBox->layout()->setMargin( 11 ); + TQGridLayout *groupBoxLayout = new TQGridLayout( groupBox->layout(), 2, 2 ); mFamilyCombo = new KComboBox( false, groupBox ); groupBoxLayout->addMultiCellWidget( mFamilyCombo, 0, 0, 0, 1 ); @@ -130,7 +130,7 @@ ConfigPage::ConfigPage( TQWidget *parent, const char *name ) mEditButton->setEnabled( false ); mStandardButton = buttonBox->addButton( i18n( "&Use as Standard" ), this, TQT_SLOT(slotStandard()) ); mStandardButton->setEnabled( false ); - buttonBox->tqlayout(); + buttonBox->layout(); groupBoxLayout->addWidget( buttonBox, 1, 1 ); @@ -179,7 +179,7 @@ void ConfigPage::load() KTrader::OfferList::ConstIterator end = plugins.end(); for ( ; it != end; ++it ) { const TQString family = (*it)->property( "X-KDE-ResourceFamily" ).toString(); - if ( compatFamilyNames.tqfind( family ) == compatFamilyNames.end() ) + if ( compatFamilyNames.find( family ) == compatFamilyNames.end() ) compatFamilyNames.append( family ); } @@ -300,7 +300,7 @@ void ConfigPage::slotAdd() if ( !ok ) return; - TQString type = types[ descs.tqfindIndex( desc ) ]; + TQString type = types[ descs.findIndex( desc ) ]; // Create new resource Resource *resource = mCurrentManager->createResource( type ); @@ -460,7 +460,7 @@ void ConfigPage::resourceModified( Resource *resource ) { kdDebug(5650) << "ConfigPage::resourceModified( " << resource->resourceName() << " )" << endl; - ConfigViewItem *item = tqfindItem( resource ); + ConfigViewItem *item = findItem( resource ); if ( !item ) return; // TODO: Reread resource config. Otherwise we won't see the modification. @@ -473,13 +473,13 @@ void ConfigPage::resourceDeleted( Resource *resource ) kdDebug(5650) << "ConfigPage::resourceDeleted( " << resource->resourceName() << " )" << endl; - ConfigViewItem *item = tqfindItem( resource ); + ConfigViewItem *item = findItem( resource ); if ( !item ) return; delete item; } -ConfigViewItem *ConfigPage::tqfindItem( Resource *resource ) +ConfigViewItem *ConfigPage::findItem( Resource *resource ) { TQListViewItem *i; for( i = mListView->firstChild(); i; i = i->nextSibling() ) { |