summaryrefslogtreecommitdiffstats
path: root/keduca/keducabuilder
diff options
context:
space:
mode:
Diffstat (limited to 'keduca/keducabuilder')
-rw-r--r--keduca/keducabuilder/kcontrolheader.cpp8
-rw-r--r--keduca/keducabuilder/ktagcombobox.cpp8
2 files changed, 8 insertions, 8 deletions
diff --git a/keduca/keducabuilder/kcontrolheader.cpp b/keduca/keducabuilder/kcontrolheader.cpp
index 4c1081a2..7f20e321 100644
--- a/keduca/keducabuilder/kcontrolheader.cpp
+++ b/keduca/keducabuilder/kcontrolheader.cpp
@@ -261,10 +261,10 @@ void KControlHeader::loadCountryList(KLanguageCombo *combo)
TQString tag = *it;
int index;
- index = tag.tqfindRev('/');
+ index = tag.findRev('/');
if (index != -1) tag = tag.mid(index + 1);
- index = tag.tqfindRev('.');
+ index = tag.findRev('.');
if (index != -1) tag.truncate(index);
KSimpleConfig entry(*it);
@@ -287,9 +287,9 @@ void KControlHeader::loadCountryList(KLanguageCombo *combo)
TQString submenu = '-' + entry.readEntry(TQString::tqfromLatin1("Region"));
TQString tag = *it;
- int index = tag.tqfindRev('/');
+ int index = tag.findRev('/');
tag.truncate(index);
- index = tag.tqfindRev('/');
+ index = tag.findRev('/');
tag = tag.mid(index+1);
combo->insertLanguage(tag, name, sub, submenu);
}
diff --git a/keduca/keducabuilder/ktagcombobox.cpp b/keduca/keducabuilder/ktagcombobox.cpp
index f89f14df..0a801f94 100644
--- a/keduca/keducabuilder/ktagcombobox.cpp
+++ b/keduca/keducabuilder/ktagcombobox.cpp
@@ -105,12 +105,12 @@ int KTagComboBox::count() const
static inline TQPopupMenu *checkInsertIndex(TQPopupMenu *popup, const TQStringList *tags, const TQString &submenu, int *index)
{
- int pos = tags->tqfindIndex(submenu);
+ int pos = tags->findIndex(submenu);
TQPopupMenu *pi = 0;
if (pos != -1)
{
- TQMenuItem *p = popup->tqfindItem(popup->idAt(pos));
+ TQMenuItem *p = popup->findItem(popup->idAt(pos));
pi = p?p->popup():0;
}
if (!pi) pi = popup;
@@ -183,7 +183,7 @@ void KTagComboBox::paintEvent( TQPaintEvent * ev)
bool KTagComboBox::containsTag( const TQString &str ) const
{
- return _tags->tqcontains(str) > 0;
+ return _tags->contains(str) > 0;
}
TQString KTagComboBox::currentTag() const
@@ -215,7 +215,7 @@ void KTagComboBox::setCurrentItem(int i)
void KTagComboBox::setCurrentItem(const TQString &code)
{
- int i = _tags->tqfindIndex(code);
+ int i = _tags->findIndex(code);
if (code.isNull())
i = 0;
if (i != -1)