From a2277b6bc715464e83882b90c2a058139b8a6b54 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 23 Jun 2011 01:42:07 +0000 Subject: TQt4 port kdeutils This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ark/zoo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ark/zoo.cpp') diff --git a/ark/zoo.cpp b/ark/zoo.cpp index 8896251..6f9a53e 100644 --- a/ark/zoo.cpp +++ b/ark/zoo.cpp @@ -120,7 +120,7 @@ void ZooArch::open() if ( !kp->start( KProcess::NotifyOnExit, KProcess::AllOutput ) ) { KMessageBox::error( 0, i18n( "Could not start a subprocess." ) ); - emit sigOpen( this, false, TQString::null, 0 ); + emit sigOpen( this, false, TQString(), 0 ); } } @@ -287,9 +287,9 @@ TQString fixTime( const TQString &_strTime ) // +3 or -3 etc. TQString strTime = _strTime; - if ( strTime.contains("+") || strTime.contains("-") ) + if ( strTime.tqcontains("+") || strTime.tqcontains("-") ) { - TQCharRef c = strTime.at( 8 ); + TQCharRef c = strTime.tqat( 8 ); int offset = strTime.right( strTime.length() - 9 ).toInt(); TQString strHour = strTime.left( 2 ); int nHour = strHour.toInt(); -- cgit v1.2.3