diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
commit | d8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch) | |
tree | f295f1c545b319963d5357af79fe08991d8141d9 /src/k3baudioprojectinterface.cpp | |
parent | 2a39a080579fb52a2599c02b2939795385b89093 (diff) | |
download | k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.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 'src/k3baudioprojectinterface.cpp')
-rw-r--r-- | src/k3baudioprojectinterface.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/k3baudioprojectinterface.cpp b/src/k3baudioprojectinterface.cpp index 1d06d5a..231e968 100644 --- a/src/k3baudioprojectinterface.cpp +++ b/src/k3baudioprojectinterface.cpp @@ -32,51 +32,51 @@ int K3bAudioProjectInterface::trackCount() const } -QString K3bAudioProjectInterface::title() const +TQString K3bAudioProjectInterface::title() const { return m_audioDoc->title(); } -QString K3bAudioProjectInterface::artist() const +TQString K3bAudioProjectInterface::artist() const { return m_audioDoc->artist(); } -QString K3bAudioProjectInterface::trackTitle( int trackNum ) const +TQString K3bAudioProjectInterface::trackTitle( int trackNum ) const { K3bAudioTrack* track = m_audioDoc->getTrack( trackNum ); if( track ) return track->title(); else - return QString::null; + return TQString(); } -QString K3bAudioProjectInterface::trackArtist( int trackNum ) const +TQString K3bAudioProjectInterface::trackArtist( int trackNum ) const { K3bAudioTrack* track = m_audioDoc->getTrack( trackNum ); if( track ) return track->artist(); else - return QString::null; + return TQString(); } -void K3bAudioProjectInterface::setTitle( const QString& title ) +void K3bAudioProjectInterface::setTitle( const TQString& title ) { m_audioDoc->setTitle( title ); } -void K3bAudioProjectInterface::setArtist( const QString& artist ) +void K3bAudioProjectInterface::setArtist( const TQString& artist ) { m_audioDoc->setArtist( artist ); } -void K3bAudioProjectInterface::setTrackTitle( int trackNum, const QString& title ) +void K3bAudioProjectInterface::setTrackTitle( int trackNum, const TQString& title ) { K3bAudioTrack* track = m_audioDoc->getTrack( trackNum ); if( track ) @@ -84,7 +84,7 @@ void K3bAudioProjectInterface::setTrackTitle( int trackNum, const QString& title } -void K3bAudioProjectInterface::setTrackArtist( int trackNum, const QString& artist ) +void K3bAudioProjectInterface::setTrackArtist( int trackNum, const TQString& artist ) { K3bAudioTrack* track = m_audioDoc->getTrack( trackNum ); if( track ) |