summaryrefslogtreecommitdiffstats
path: root/kabc/sound.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kabc/sound.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/sound.h')
-rw-r--r--kabc/sound.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kabc/sound.h b/kabc/sound.h
index db488530e..350042cc5 100644
--- a/kabc/sound.h
+++ b/kabc/sound.h
@@ -21,8 +21,8 @@
#ifndef KABC_SOUND_H
#define KABC_SOUND_H
-#include <qcstring.h>
-#include <qstring.h>
+#include <tqcstring.h>
+#include <tqstring.h>
#include <kdelibs_export.h>
@@ -39,7 +39,7 @@ namespace KABC {
* tmp.close();
* KAudioPlayer::play( tmp.name() );
* } else if(!sound.url().isEmpty()) {
- * QString tmpFile;
+ * TQString tmpFile;
* if(!KIO::NetAccess::download(KURL(themeURL.url()), tmpFile, NULL))
* {
* KMessageBox::error(0L,
@@ -58,8 +58,8 @@ namespace KABC {
*/
class KABC_EXPORT Sound
{
- friend KABC_EXPORT QDataStream &operator<<( QDataStream &, const Sound & );
- friend KABC_EXPORT QDataStream &operator>>( QDataStream &, Sound & );
+ friend KABC_EXPORT TQDataStream &operator<<( TQDataStream &, const Sound & );
+ friend KABC_EXPORT TQDataStream &operator>>( TQDataStream &, Sound & );
public:
@@ -73,14 +73,14 @@ public:
*
* @param url A URL that describes the position of the sound file.
*/
- Sound( const QString &url );
+ Sound( const TQString &url );
/**
* Consturctor.
*
* @param data The raw data of the sound.
*/
- Sound( const QByteArray &data );
+ Sound( const TQByteArray &data );
/**
* Destructor.
@@ -98,7 +98,7 @@ public:
*
* @param url The location URL of the sound file.
*/
- void setUrl( const QString &url );
+ void setUrl( const TQString &url );
/**
* Test if this sound file has been set.
@@ -113,7 +113,7 @@ public:
*
* @param data The raw data of the sound.
*/
- void setData( const QByteArray &data );
+ void setData( const TQByteArray &data );
/**
* Returns whether the sound is described by a URL (extern) or
@@ -127,27 +127,27 @@ public:
/**
* Returns the location URL of this sound.
*/
- QString url() const;
+ TQString url() const;
/**
* Returns the raw data of this sound.
*/
- QByteArray data() const;
+ TQByteArray data() const;
/**
* Returns string representation of the sound.
*/
- QString asString() const;
+ TQString asString() const;
private:
- QString mUrl;
- QByteArray mData;
+ TQString mUrl;
+ TQByteArray mData;
int mIntern;
};
-KABC_EXPORT QDataStream &operator<<( QDataStream &, const Sound & );
-KABC_EXPORT QDataStream &operator>>( QDataStream &, Sound & );
+KABC_EXPORT TQDataStream &operator<<( TQDataStream &, const Sound & );
+KABC_EXPORT TQDataStream &operator>>( TQDataStream &, Sound & );
}
#endif