summaryrefslogtreecommitdiffstats
path: root/kioslave/home/homeimpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
commit8155225c9be993acc0512956416d195edfef4eb9 (patch)
treede4f3cd17614fc67e47eefabcdbe2fbe170c9be7 /kioslave/home/homeimpl.cpp
parent364641b8e0279758d236af39abd138d379328a19 (diff)
downloadtdebase-8155225c9be993acc0512956416d195edfef4eb9.tar.gz
tdebase-8155225c9be993acc0512956416d195edfef4eb9.zip
Enable compilation with TQt for Qt4 3.4.0 TP2
This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/home/homeimpl.cpp')
-rw-r--r--kioslave/home/homeimpl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kioslave/home/homeimpl.cpp b/kioslave/home/homeimpl.cpp
index 12a692319..6f4f86759 100644
--- a/kioslave/home/homeimpl.cpp
+++ b/kioslave/home/homeimpl.cpp
@@ -37,7 +37,7 @@ bool HomeImpl::parseURL(const KURL &url, TQString &name, TQString &path) const
{
TQString url_path = url.path();
- int i = url_path.find('/', 1);
+ int i = url_path.tqfind('/', 1);
if (i > 0)
{
name = url_path.mid(1, i-1);
@@ -90,7 +90,7 @@ bool HomeImpl::listHomes(TQValueList<KIO::UDSEntry> &list)
for(; it!=users_end; ++it)
{
if ((*it).uid()>=MINIMUM_UID
- && !uid_list.contains( (*it).uid() ) )
+ && !uid_list.tqcontains( (*it).uid() ) )
{
uid_list.append( (*it).uid() );
KIO::UDSEntry entry;
@@ -185,7 +185,7 @@ void HomeImpl::slotStatResult(KIO::Job *job)
m_entryBuffer = stat_job->statResult();
}
- qApp->eventLoop()->exitLoop();
+ tqApp->eventLoop()->exitLoop();
}
KIO::UDSEntry HomeImpl::extractUrlInfos(const KURL &url)
@@ -195,7 +195,7 @@ KIO::UDSEntry HomeImpl::extractUrlInfos(const KURL &url)
KIO::StatJob *job = KIO::stat(url, false);
connect( job, TQT_SIGNAL( result(KIO::Job *) ),
this, TQT_SLOT( slotStatResult(KIO::Job *) ) );
- qApp->eventLoop()->enterLoop();
+ tqApp->eventLoop()->enterLoop();
KIO::UDSEntry::iterator it = m_entryBuffer.begin();
KIO::UDSEntry::iterator end = m_entryBuffer.end();