summaryrefslogtreecommitdiffstats
path: root/kword/KWFrameStyleManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWFrameStyleManager.cpp')
-rw-r--r--kword/KWFrameStyleManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kword/KWFrameStyleManager.cpp b/kword/KWFrameStyleManager.cpp
index b0395d24..0a770770 100644
--- a/kword/KWFrameStyleManager.cpp
+++ b/kword/KWFrameStyleManager.cpp
@@ -151,7 +151,7 @@ KWFrameStyleManager::KWFrameStyleManager( TQWidget *_parent, KWDocument *_doc,
KWFrameStyleBackgroundTab *bgTab = new KWFrameStyleBackgroundTab( m_tabs );
addTab( bgTab );
- TQListBoxItem * item = m_stylesList->tqfindItem( activeStyleName );
+ TQListBoxItem * item = m_stylesList->findItem( activeStyleName );
m_stylesList->setCurrentItem( item ? m_stylesList->index(item) : 0 );
noSignals=false;
@@ -428,7 +428,7 @@ void KWFrameStyleManager::moveUpStyle()
TQString currentStyleName = m_stylesList->currentText();
if ( currentStyleName.isEmpty() )
return;
- int pos2 = m_styleOrder.tqfindIndex( currentStyleName );
+ int pos2 = m_styleOrder.findIndex( currentStyleName );
if ( pos2 > 0 ) // neither -1 nor 0
{
m_styleOrder.remove( m_styleOrder.at(pos2));
@@ -457,7 +457,7 @@ void KWFrameStyleManager::moveDownStyle()
if ( currentStyleName.isEmpty() )
return;
- int pos2 = m_styleOrder.tqfindIndex( currentStyleName );
+ int pos2 = m_styleOrder.findIndex( currentStyleName );
if ( pos2 != -1 )
{
m_styleOrder.remove( m_styleOrder.at(pos2));