summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kminstancepage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/management/kminstancepage.cpp')
-rw-r--r--kdeprint/management/kminstancepage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeprint/management/kminstancepage.cpp b/kdeprint/management/kminstancepage.cpp
index 6e6fcc391..d53c1eca7 100644
--- a/kdeprint/management/kminstancepage.cpp
+++ b/kdeprint/management/kminstancepage.cpp
@@ -138,7 +138,7 @@ void KMInstancePage::slotNew()
i18n("(Default)"),&ok,this);
if (ok)
{
- if (name.find(TQRegExp("[/\\s]")) != -1)
+ if (name.tqfind(TQRegExp("[/\\s]")) != -1)
KMessageBox::error(this, i18n("Instance name must not contain any spaces or slashes."));
else
{
@@ -183,7 +183,7 @@ void KMInstancePage::slotCopy()
i18n("(Default)"),&ok,this);
if (ok)
{
- if (name.find(TQRegExp("[/\\s]")) != -1)
+ if (name.tqfind(TQRegExp("[/\\s]")) != -1)
KMessageBox::error(this, i18n("Instance name must not contain any spaces or slashes."));
else
{