diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | f4fae92b6768541e2952173c3d4b09040f95bf7e (patch) | |
tree | d8c5d93232235cd635f3310b4d95490df181ba2d /kalarm/lib/lineedit.cpp | |
parent | 125c0a08265b75a133644d3b55f47e37c919f45d (diff) | |
download | tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip |
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/lib/lineedit.cpp')
-rw-r--r-- | kalarm/lib/lineedit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kalarm/lib/lineedit.cpp b/kalarm/lib/lineedit.cpp index 64c79ea7b..4dcdc15f8 100644 --- a/kalarm/lib/lineedit.cpp +++ b/kalarm/lib/lineedit.cpp @@ -122,7 +122,7 @@ void LineEdit::dropEvent(TQDropEvent* e) if (mType == Emails) newText = mailList.first().from(); else - setText(mailList.first().subject()); // replace any existing text + setText(mailList.first().subject()); // tqreplace any existing text } } // This must come before KURLDrag @@ -144,12 +144,12 @@ void LineEdit::dropEvent(TQDropEvent* e) { case Url: // URL entry field - ignore all but the first dropped URL - setText(files.first().prettyURL()); // replace any existing text + setText(files.first().prettyURL()); // tqreplace any existing text break; case Emails: { // Email entry field - ignore all but mailto: URLs - TQString mailto = TQString::fromLatin1("mailto"); + TQString mailto = TQString::tqfromLatin1("mailto"); for (KURL::List::Iterator it = files.begin(); it != files.end(); ++it) { if ((*it).protocol() == mailto) @@ -168,7 +168,7 @@ void LineEdit::dropEvent(TQDropEvent* e) if (mType == Emails) { // Remove newlines from a list of email addresses, and allow an eventual mailto: protocol - TQString mailto = TQString::fromLatin1("mailto:"); + TQString mailto = TQString::tqfromLatin1("mailto:"); newEmails = TQStringList::split(TQRegExp("[\r\n]+"), txt); for (TQStringList::Iterator it = newEmails.begin(); it != newEmails.end(); ++it) { |