diff options
Diffstat (limited to 'lib/kopalette/kotabpalette.cc')
-rw-r--r-- | lib/kopalette/kotabpalette.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kopalette/kotabpalette.cc b/lib/kopalette/kotabpalette.cc index 972a8144..c1b7a8a2 100644 --- a/lib/kopalette/kotabpalette.cc +++ b/lib/kopalette/kotabpalette.cc @@ -70,9 +70,9 @@ void KoTabPalette::unplug(const TQWidget * w) void KoTabPalette::showPage(TQWidget *w) { m_page->showPage(w); - if (m_hiddenPages.tqfind(w) == m_hiddenPages.end()) return; + if (m_hiddenPages.find(w) == m_hiddenPages.end()) return; - int i = *m_hiddenPages.tqfind(w); + int i = *m_hiddenPages.find(w); m_page->insertTab(w, w->caption(), i); m_hiddenPages.erase(w); show(); @@ -89,7 +89,7 @@ void KoTabPalette::makeVisible(bool v) int KoTabPalette::indexOf(TQWidget *w) { - if (m_hiddenPages.tqfind(w) != m_hiddenPages.end()) { + if (m_hiddenPages.find(w) != m_hiddenPages.end()) { int i = m_page->indexOf(w); return -i; } @@ -100,12 +100,12 @@ int KoTabPalette::indexOf(TQWidget *w) bool KoTabPalette::isHidden(TQWidget * w) { - return (m_hiddenPages.tqfind(w) != m_hiddenPages.end()); + return (m_hiddenPages.find(w) != m_hiddenPages.end()); } void KoTabPalette::hidePage( TQWidget *w) { - if (m_hiddenPages.tqfind(w) != m_hiddenPages.end()) return; + if (m_hiddenPages.find(w) != m_hiddenPages.end()) return; int i = m_page->indexOf(w); m_page->removePage(w); @@ -117,8 +117,8 @@ void KoTabPalette::hidePage( TQWidget *w) void KoTabPalette::togglePageHidden(TQWidget *w) { - if (m_hiddenPages.tqfind(w) != m_hiddenPages.end()) { - int i = *m_hiddenPages.tqfind(w); + if (m_hiddenPages.find(w) != m_hiddenPages.end()) { + int i = *m_hiddenPages.find(w); m_page->insertTab(w, w->caption(), i); m_hiddenPages.erase(w); show(); |