summaryrefslogtreecommitdiffstats
path: root/kword/KWTableStyleManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWTableStyleManager.cpp')
-rw-r--r--kword/KWTableStyleManager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kword/KWTableStyleManager.cpp b/kword/KWTableStyleManager.cpp
index d2a0c1ea..7bd70eb6 100644
--- a/kword/KWTableStyleManager.cpp
+++ b/kword/KWTableStyleManager.cpp
@@ -501,7 +501,7 @@ void KWTableStyleManager::moveUpStyle()
const TQString currentStyleName = m_currentTableStyle->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) );
@@ -529,7 +529,7 @@ void KWTableStyleManager::moveDownStyle()
const TQString currentStyleName = m_currentTableStyle->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) );
@@ -677,12 +677,12 @@ void KWTableStyleManager::updateAllStyleCombos()
// - 1. Count is the same, but the user has delete the same number as he added
// - 2. Old name is not in new list, old index is wrong index in new list
if ( ( static_cast<unsigned int>(m_style->count())!=m_doc->styleCollection()->styleList().count() ) &&
- ( m_style->listBox()->tqfindItem( oldS ) ) ) {
- oldSindex = m_style->listBox()->index( m_style->listBox()->tqfindItem( oldS ) );
+ ( m_style->listBox()->findItem( oldS ) ) ) {
+ oldSindex = m_style->listBox()->index( m_style->listBox()->findItem( oldS ) );
}
if ( ( m_frameStyle->count() != m_doc->frameStyleCollection()->count() ) &&
- ( m_frameStyle->listBox()->tqfindItem( oldFS ) ) ) {
- oldFSindex = m_frameStyle->listBox()->index( m_frameStyle->listBox()->tqfindItem( oldFS ) );
+ ( m_frameStyle->listBox()->findItem( oldFS ) ) ) {
+ oldFSindex = m_frameStyle->listBox()->index( m_frameStyle->listBox()->findItem( oldFS ) );
}
// Update the comboboxes