summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoStyleManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoStyleManager.cpp')
-rw-r--r--lib/kotext/KoStyleManager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kotext/KoStyleManager.cpp b/lib/kotext/KoStyleManager.cpp
index ef9252893..e921ff1e5 100644
--- a/lib/kotext/KoStyleManager.cpp
+++ b/lib/kotext/KoStyleManager.cpp
@@ -98,7 +98,7 @@ KoStyleManager::KoStyleManager( TQWidget *_parent, KoUnit::Unit unit,
newTab->setWidget( new KoParagTabulatorsWidget( unit, -1, newTab ) );
addTab( newTab );
- TQListBoxItem * item = m_stylesList->tqfindItem( activeStyleName );
+ TQListBoxItem * item = m_stylesList->findItem( activeStyleName );
m_stylesList->setCurrentItem( item ? m_stylesList->index(item) : 0 );
noSignals=false;
@@ -475,7 +475,7 @@ void KoStyleManager::deleteStyle() {
m_stylesList->removeItem(curItem);
m_styleCombo->removeItem(curItem);
- m_inheritCombo->listBox()->removeItem( m_inheritCombo->listBox()->index(m_inheritCombo->listBox()->tqfindItem(name )));
+ m_inheritCombo->listBox()->removeItem( m_inheritCombo->listBox()->index(m_inheritCombo->listBox()->findItem(name )));
numStyles--;
m_stylesList->setSelected( m_stylesList->currentItem(), true );
@@ -488,7 +488,7 @@ void KoStyleManager::moveUpStyle()
save();
const TQString currentStyleName = m_currentStyle->name();
const TQString currentStyleDisplayName = m_stylesList->currentText();
- int pos2 = m_styleOrder.tqfindIndex( currentStyleName );
+ int pos2 = m_styleOrder.findIndex( currentStyleName );
if ( pos2 != -1 )
{
m_styleOrder.remove( m_styleOrder.at(pos2));
@@ -516,7 +516,7 @@ void KoStyleManager::moveDownStyle()
save();
const TQString currentStyleName = m_currentStyle->name();
const TQString currentStyleDisplayName = m_stylesList->currentText();
- int pos2 = m_styleOrder.tqfindIndex( currentStyleName );
+ int pos2 = m_styleOrder.findIndex( currentStyleName );
if ( pos2 != -1 )
{
m_styleOrder.remove( m_styleOrder.at(pos2));