summaryrefslogtreecommitdiffstats
path: root/libk3bdevice/k3bmsf.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
commitd8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch)
treef295f1c545b319963d5357af79fe08991d8141d9 /libk3bdevice/k3bmsf.cpp
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-d8cc8bdf.tar.gz
k3b-d8cc8bdf.zip
TQt4 port k3b
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3bdevice/k3bmsf.cpp')
-rw-r--r--libk3bdevice/k3bmsf.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/libk3bdevice/k3bmsf.cpp b/libk3bdevice/k3bmsf.cpp
index c7257a1..c8f6c70 100644
--- a/libk3bdevice/k3bmsf.cpp
+++ b/libk3bdevice/k3bmsf.cpp
@@ -14,7 +14,7 @@
*/
#include "k3bmsf.h"
-#include <qregexp.h>
+#include <tqregexp.h>
#include <math.h>
@@ -156,9 +156,9 @@ K3b::Msf& K3b::Msf::operator--()
}
-QString K3b::Msf::toString( bool showFrames ) const
+TQString K3b::Msf::toString( bool showFrames ) const
{
- QString str;
+ TQString str;
if( showFrames )
str.sprintf( "%.2i:%.2i:%.2i", m_minutes, m_seconds, m_frames );
@@ -219,7 +219,7 @@ void K3b::Msf::makeValid()
-QRegExp K3b::Msf::regExp()
+TQRegExp K3b::Msf::regExp()
{
//
// An MSF can have the following formats:
@@ -228,7 +228,7 @@ QRegExp K3b::Msf::regExp()
// 100:23:72 (minutes:seconds:frames)
// 100:23.72 (minutes:seconds.frames)
//
- static QRegExp rx( "(\\d+)(?::([0-5]?\\d)(?:[:\\.]((?:[0-6]?\\d)|(?:7[0-4])))?)?" );
+ static TQRegExp rx( "(\\d+)(?::([0-5]?\\d)(?:[:\\.]((?:[0-6]?\\d)|(?:7[0-4])))?)?" );
return rx;
}
@@ -239,9 +239,9 @@ K3b::Msf K3b::Msf::fromSeconds( double ms )
}
-K3b::Msf K3b::Msf::fromString( const QString& s, bool* ok )
+K3b::Msf K3b::Msf::fromString( const TQString& s, bool* ok )
{
- QRegExp rx = regExp();
+ TQRegExp rx = regExp();
K3b::Msf msf;