From 07a23b0645f0dd3d0a9ded1742cd1e6e202002fd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:14:23 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- src/ksvnwidgets/logmsg_impl.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ksvnwidgets') diff --git a/src/ksvnwidgets/logmsg_impl.cpp b/src/ksvnwidgets/logmsg_impl.cpp index 0c4505f..f93cbec 100644 --- a/src/ksvnwidgets/logmsg_impl.cpp +++ b/src/ksvnwidgets/logmsg_impl.cpp @@ -221,7 +221,7 @@ void Logmsg_impl::initHistory() { if (smax_message_history==0xFFFF) { smax_message_history = Kdesvnsettings::max_log_messages(); - KConfigGroup cs(Kdesvnsettings::self()->config(),"log_messages"); + TDEConfigGroup cs(Kdesvnsettings::self()->config(),"log_messages"); TQString s = TQString(); unsigned int current = 0; TQString key = TQString("log_%0").arg(current); @@ -268,7 +268,7 @@ void Logmsg_impl::saveHistory(bool canceld) if (sLogHistory.size()>smax_message_history) { sLogHistory.erase(sLogHistory.fromLast()); } - KConfigGroup cs(Kdesvnsettings::self()->config(),"log_messages"); + TDEConfigGroup cs(Kdesvnsettings::self()->config(),"log_messages"); for (unsigned int i = 0; i < sLogHistory.size();++i) { cs.writeEntry(TQString("log_%0").arg(i),sLogHistory[i]); } @@ -641,11 +641,11 @@ void Logmsg_impl::insertFile() insertFile(_url.path()); } else { TQString tmpFile; - if( KIO::NetAccess::download(_url, tmpFile, this) ) { + if( TDEIO::NetAccess::download(_url, tmpFile, this) ) { insertFile( tmpFile ); - KIO::NetAccess::removeTempFile( tmpFile ); + TDEIO::NetAccess::removeTempFile( tmpFile ); } else { - KMessageBox::error(this, KIO::NetAccess::lastErrorString() ); + KMessageBox::error(this, TDEIO::NetAccess::lastErrorString() ); } } } -- cgit v1.2.1