summaryrefslogtreecommitdiffstats
path: root/kresources/configpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/configpage.cpp')
-rw-r--r--kresources/configpage.cpp18
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() ) {