summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kmwname.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/management/kmwname.cpp')
-rw-r--r--kdeprint/management/kmwname.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeprint/management/kmwname.cpp b/kdeprint/management/kmwname.cpp
index d46b104a7..709b986ea 100644
--- a/kdeprint/management/kmwname.cpp
+++ b/kdeprint/management/kmwname.cpp
@@ -48,10 +48,10 @@ bool KMWName::isValid(TQString& msg)
msg = i18n("You must supply at least a name.");
return false;
}
- else if (text(0).find(TQRegExp("\\s")) != -1)
+ else if (text(0).tqfind(TQRegExp("\\s")) != -1)
{
QString conv = text(0);
- conv.replace(TQRegExp("\\s"), "");
+ conv.tqreplace(TQRegExp("\\s"), "");
int result = KMessageBox::warningYesNoCancel(this,
i18n("It is usually not a good idea to include spaces "
"in printer name: it may prevent your printer from "