summaryrefslogtreecommitdiffstats
path: root/kbfxlib/data/kbfxdatasource.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:07:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:07:15 +0000
commit421b60af92c83b889f8903c2898f2bd07186fcd8 (patch)
treead873a24c9438baed4942fda795430a4c3dc9a9a /kbfxlib/data/kbfxdatasource.cpp
parent39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff)
downloadkbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz
kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip
TQt4 port kbfx
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbfxlib/data/kbfxdatasource.cpp')
-rw-r--r--kbfxlib/data/kbfxdatasource.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kbfxlib/data/kbfxdatasource.cpp b/kbfxlib/data/kbfxdatasource.cpp
index 8a44478..91d13c2 100644
--- a/kbfxlib/data/kbfxdatasource.cpp
+++ b/kbfxlib/data/kbfxdatasource.cpp
@@ -38,15 +38,15 @@ KbfxDataSource::~KbfxDataSource()
}
bool
-KbfxDataSource::lookup ( QString str )
+KbfxDataSource::lookup ( TQString str )
{
if ( str.isNull() )
return false;
- QString _searchStr = m_text+m_comment+m_description+m_keyWords;
+ TQString _searchStr = m_text+m_comment+m_description+m_keyWords;
- if ( _searchStr.contains ( str,false ) > 0 )
+ if ( _searchStr.tqcontains ( str,false ) > 0 )
return true;
return false;
@@ -74,11 +74,11 @@ KbfxDataSource::exec()
if ( type() == KbfxDataSource::DESKTOP )
{
- QCString dcop;
+ TQCString dcop;
int pid;
- QString m_error;
+ TQString m_error;
KApplication::startServiceByDesktopPath ( desktopFile(),
- QString::null, &m_error,&dcop,&pid,"",true );
+ TQString(), &m_error,&dcop,&pid,"",true );
}
else