summaryrefslogtreecommitdiffstats
path: root/parts/tools/toolsconfigwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/tools/toolsconfigwidget.cpp')
-rw-r--r--parts/tools/toolsconfigwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/parts/tools/toolsconfigwidget.cpp b/parts/tools/toolsconfigwidget.cpp
index b4643b26..5020b123 100644
--- a/parts/tools/toolsconfigwidget.cpp
+++ b/parts/tools/toolsconfigwidget.cpp
@@ -41,8 +41,8 @@ struct ToolsConfigEntry
};
-ToolsConfigWidget::ToolsConfigWidget(TQWidget *parent, const char *name)
- : ToolsConfigWidgetBase(parent, name)
+ToolsConfigWidget::ToolsConfigWidget(TQWidget *tqparent, const char *name)
+ : ToolsConfigWidgetBase(tqparent, name)
{
m_toolsmenuEntries.setAutoDelete(true);
m_filecontextEntries.setAutoDelete(true);
@@ -125,7 +125,7 @@ void ToolsConfigWidget::fillListBox(TQListBox *lb, const TQDict<ToolsConfigEntry
bool ToolsConfigWidget::addEntry(ToolsConfigEntry *entry, TQDict<ToolsConfigEntry> *entryDict)
{
TQString menutext = entry->menutext;
- if (entryDict->find(menutext)) {
+ if (entryDict->tqfind(menutext)) {
delete entry;
KMessageBox::sorry(this, i18n("An entry with this title exists already."));
return false;