summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/lineedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/lineedit.cpp')
-rw-r--r--kalarm/lib/lineedit.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kalarm/lib/lineedit.cpp b/kalarm/lib/lineedit.cpp
index 4dcdc15f8..d85a99458 100644
--- a/kalarm/lib/lineedit.cpp
+++ b/kalarm/lib/lineedit.cpp
@@ -39,8 +39,8 @@
* It has an option to prevent its contents being selected when it receives
= focus.
=============================================================================*/
-LineEdit::LineEdit(Type type, TQWidget* parent, const char* name)
- : KLineEdit(parent, name),
+LineEdit::LineEdit(Type type, TQWidget* tqparent, const char* name)
+ : KLineEdit(tqparent, name),
mType(type),
mNoSelect(false),
mSetCursorAtEnd(false)
@@ -48,8 +48,8 @@ LineEdit::LineEdit(Type type, TQWidget* parent, const char* name)
init();
}
-LineEdit::LineEdit(TQWidget* parent, const char* name)
- : KLineEdit(parent, name),
+LineEdit::LineEdit(TQWidget* tqparent, const char* name)
+ : KLineEdit(tqparent, name),
mType(Text),
mNoSelect(false),
mSetCursorAtEnd(false)
@@ -122,7 +122,7 @@ void LineEdit::dropEvent(TQDropEvent* e)
if (mType == Emails)
newText = mailList.first().from();
else
- setText(mailList.first().subject()); // tqreplace any existing text
+ setText(mailList.first().subject()); // replace any existing text
}
}
// This must come before KURLDrag
@@ -144,7 +144,7 @@ void LineEdit::dropEvent(TQDropEvent* e)
{
case Url:
// URL entry field - ignore all but the first dropped URL
- setText(files.first().prettyURL()); // tqreplace any existing text
+ setText(files.first().prettyURL()); // replace any existing text
break;
case Emails:
{
@@ -181,7 +181,7 @@ void LineEdit::dropEvent(TQDropEvent* e)
}
else
{
- int newline = txt.find('\n');
+ int newline = txt.tqfind('\n');
newText = (newline >= 0) ? txt.left(newline) : txt;
}
}