summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_sound.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /libkonq/konq_sound.cc
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkonq/konq_sound.cc')
-rw-r--r--libkonq/konq_sound.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkonq/konq_sound.cc b/libkonq/konq_sound.cc
index c609df553..577dd5dc4 100644
--- a/libkonq/konq_sound.cc
+++ b/libkonq/konq_sound.cc
@@ -31,13 +31,13 @@ public:
KonqSoundPlayerImpl();
virtual ~KonqSoundPlayerImpl();
- virtual const QStringList &mimeTypes();
- virtual void play(const QString &fileName);
+ virtual const TQStringList &mimeTypes();
+ virtual void play(const TQString &fileName);
virtual void stop();
virtual bool isPlaying();
private:
- QStringList m_mimeTypes;
+ TQStringList m_mimeTypes;
KArtsDispatcher m_dispatcher;
Arts::SoundServerV2 m_soundServer;
@@ -58,7 +58,7 @@ KonqSoundPlayerImpl::~KonqSoundPlayerImpl()
delete m_factory;
}
-const QStringList &KonqSoundPlayerImpl::mimeTypes()
+const TQStringList &KonqSoundPlayerImpl::mimeTypes()
{
if (m_mimeTypes.isEmpty())
{
@@ -80,7 +80,7 @@ const QStringList &KonqSoundPlayerImpl::mimeTypes()
return m_mimeTypes;
}
-void KonqSoundPlayerImpl::play(const QString &fileName)
+void KonqSoundPlayerImpl::play(const TQString &fileName)
{
if (m_soundServer.isNull())
return;
@@ -109,17 +109,17 @@ bool KonqSoundPlayerImpl::isPlaying()
class KonqSoundFactory : public KLibFactory
{
public:
- KonqSoundFactory(QObject *parent = 0, const char *name = 0)
+ KonqSoundFactory(TQObject *parent = 0, const char *name = 0)
: KLibFactory(parent, name) {};
virtual ~KonqSoundFactory() {};
protected:
- virtual QObject *createObject(QObject * = 0, const char * = 0,
- const char *className = "QObject", const QStringList &args = QStringList());
+ virtual TQObject *createObject(TQObject * = 0, const char * = 0,
+ const char *className = "TQObject", const TQStringList &args = TQStringList());
};
-QObject *KonqSoundFactory::createObject(QObject *, const char *,
- const char *className, const QStringList &)
+TQObject *KonqSoundFactory::createObject(TQObject *, const char *,
+ const char *className, const TQStringList &)
{
if (qstrcmp(className, "KonqSoundPlayer") == 0)
return new KonqSoundPlayerImpl();