diff options
Diffstat (limited to 'korganizer/freebusymanager.cpp')
-rw-r--r-- | korganizer/freebusymanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/freebusymanager.cpp b/korganizer/freebusymanager.cpp index 546952177..5309050ec 100644 --- a/korganizer/freebusymanager.cpp +++ b/korganizer/freebusymanager.cpp @@ -245,7 +245,7 @@ void FreeBusyManager::publishFreeBusy() if ( !targetURL.isValid() ) { KMessageBox::sorry( 0, i18n( "<qt>The target URL '%1' provided is invalid." - "</qt>" ).arg( targetURL.prettyURL() ), i18n("Invalid URL") ); + "</qt>" ).tqarg( targetURL.prettyURL() ), i18n("Invalid URL") ); mBrokenUrl = true; return; } @@ -353,8 +353,8 @@ void FreeBusyManager::slotUploadFreeBusyResult(KIO::Job *_job) "URL '%1'. There might be a problem with the access rights, or " "you specified an incorrect URL. The system said: <em>%2</em>." "<br>Please check the URL or contact your system administrator." - "</qt>" ).arg( job->destURL().prettyURL() ) - .arg( job->errorString() ) ); + "</qt>" ).tqarg( job->destURL().prettyURL() ) + .tqarg( job->errorString() ) ); // Delete temp file KURL src = job->srcURL(); Q_ASSERT( src.isLocalFile() ); @@ -557,7 +557,7 @@ KURL FreeBusyManager::freeBusyUrl( const TQString &email ) // This means that if the trailing slash is not entered, we can treat this as a custom, non-Kolab URL! // In that case, just pass it on through with substitution for %u and %d // TODO: May want an explicit configuration option in kogroupwareprefspage.ui for this - if ((fullpathURL.url().endsWith("/", true) == false) || (fullpathURL.url().tqcontains("%25u", true)) || (fullpathURL.url().tqcontains("%25d", true))) { + if ((fullpathURL.url().tqendsWith("/", true) == false) || (fullpathURL.url().tqcontains("%25u", true)) || (fullpathURL.url().tqcontains("%25d", true))) { // A generic URL, substitute %u and %d fullpathURL = fullpathURL.url().tqreplace("%25u", emailName, true); fullpathURL = fullpathURL.url().tqreplace("%25d", emailHost, true); |