summaryrefslogtreecommitdiffstats
path: root/lib/kopalette/kotoolboxpalette.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kopalette/kotoolboxpalette.cc')
-rw-r--r--lib/kopalette/kotoolboxpalette.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kopalette/kotoolboxpalette.cc b/lib/kopalette/kotoolboxpalette.cc
index c41382cf..2ba9f3bb 100644
--- a/lib/kopalette/kotoolboxpalette.cc
+++ b/lib/kopalette/kotoolboxpalette.cc
@@ -65,7 +65,7 @@ void KoToolBoxPalette::showPage(TQWidget *w)
int KoToolBoxPalette::indexOf(TQWidget *w)
{
- if (m_hiddenPages.tqfind(w) != m_hiddenPages.end()) {
+ if (m_hiddenPages.find(w) != m_hiddenPages.end()) {
return m_page->indexOf(w);
}
else {
@@ -86,13 +86,13 @@ void KoToolBoxPalette::makeVisible(bool v)
bool KoToolBoxPalette::isHidden(TQWidget * w)
{
- return (m_hiddenPages.tqfind(w) != m_hiddenPages.end());
+ return (m_hiddenPages.find(w) != m_hiddenPages.end());
}
void KoToolBoxPalette::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->insertItem(i, w, w->caption());
show();
}
@@ -109,7 +109,7 @@ void KoToolBoxPalette::togglePageHidden(TQWidget *w)
void KoToolBoxPalette::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->removeItem(w);
m_hiddenPages[w] = i;