summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/genericdiffalgo.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kitchensync/src/genericdiffalgo.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kitchensync/src/genericdiffalgo.cpp')
-rw-r--r--kitchensync/src/genericdiffalgo.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kitchensync/src/genericdiffalgo.cpp b/kitchensync/src/genericdiffalgo.cpp
index 9c03360e9..67e49bab4 100644
--- a/kitchensync/src/genericdiffalgo.cpp
+++ b/kitchensync/src/genericdiffalgo.cpp
@@ -19,7 +19,7 @@
Boston, MA 02110-1301, USA.
*/
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <klocale.h>
@@ -32,7 +32,7 @@ using namespace KSync;
#ifndef KDE_USE_FINAL
// With --enable-final, we get the (identical) compareString from
// addresseediffalgo.cpp
-static bool compareString( const QString &left, const QString &right )
+static bool compareString( const TQString &left, const TQString &right )
{
if ( left.isEmpty() && right.isEmpty() )
return true;
@@ -41,7 +41,7 @@ static bool compareString( const QString &left, const QString &right )
}
#endif
-GenericDiffAlgo::GenericDiffAlgo( const QString &leftData, const QString &rightData )
+GenericDiffAlgo::GenericDiffAlgo( const TQString &leftData, const TQString &rightData )
: mLeftData( leftData ), mRightData( rightData )
{
}
@@ -50,8 +50,8 @@ void GenericDiffAlgo::run()
{
begin();
- QStringList leftList = QStringList::split( '\n', mLeftData, true );
- QStringList rightList = QStringList::split( '\n', mRightData, true );
+ TQStringList leftList = TQStringList::split( '\n', mLeftData, true );
+ TQStringList rightList = TQStringList::split( '\n', mRightData, true );
uint lines = MAX( leftList.count(), rightList.count() );
for ( uint i = 0; i < lines; ++i ) {