diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:20:30 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:20:30 +0000 |
commit | 28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c (patch) | |
tree | a2f011f22aa31d0839c6e2118501b7a6d2f2ae96 /kttsd/players/artsplayer | |
parent | 0285229d858c8f03cde7354c679a752598cf4515 (diff) | |
download | tdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.tar.gz tdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1157633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kttsd/players/artsplayer')
-rw-r--r-- | kttsd/players/artsplayer/artsplayer.cpp | 12 | ||||
-rw-r--r-- | kttsd/players/artsplayer/artsplayer.h | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/kttsd/players/artsplayer/artsplayer.cpp b/kttsd/players/artsplayer/artsplayer.cpp index 512765a..9e6e771 100644 --- a/kttsd/players/artsplayer/artsplayer.cpp +++ b/kttsd/players/artsplayer/artsplayer.cpp @@ -22,8 +22,8 @@ #include <kconfig.h> #include <kstandarddirs.h> -#include <qdir.h> -#include <qapplication.h> +#include <tqdir.h> +#include <tqapplication.h> #include <kartsserver.h> #include <kartsdispatcher.h> @@ -40,7 +40,7 @@ // public methods //////////////////////////////////////////////////////////////////////////////// -ArtsPlayer::ArtsPlayer(QObject* parent, const char* name, const QStringList& args) : +ArtsPlayer::ArtsPlayer(TQObject* parent, const char* name, const TQStringList& args) : Player(parent, name, args), m_dispatcher(0), m_server(0), @@ -62,7 +62,7 @@ ArtsPlayer::~ArtsPlayer() } //void ArtsPlayer::play(const FileHandle &file) -void ArtsPlayer::startPlay(const QString &file) +void ArtsPlayer::startPlay(const TQString &file) { if (!m_dispatcher) setupPlayer(); @@ -87,7 +87,7 @@ void ArtsPlayer::startPlay(const QString &file) m_playobject = m_factory->createPlayObject(m_currentURL, false); if(m_playobject->object().isNull()) - connect(m_playobject, SIGNAL(playObjectCreated()), SLOT(playObjectCreated())); + connect(m_playobject, TQT_SIGNAL(playObjectCreated()), TQT_SLOT(playObjectCreated())); else playObjectCreated(); } @@ -254,7 +254,7 @@ void ArtsPlayer::setupPlayer() m_dispatcher = new KArtsDispatcher; m_server = new KArtsServer; setupArtsObjects(); - connect(m_server, SIGNAL(restartedServer()), SLOT(setupArtsObjects())); + connect(m_server, TQT_SIGNAL(restartedServer()), TQT_SLOT(setupArtsObjects())); } void ArtsPlayer::setupVolumeControl() diff --git a/kttsd/players/artsplayer/artsplayer.h b/kttsd/players/artsplayer/artsplayer.h index 96d62f6..879dccc 100644 --- a/kttsd/players/artsplayer/artsplayer.h +++ b/kttsd/players/artsplayer/artsplayer.h @@ -27,8 +27,8 @@ #include <kurl.h> -#include <qstring.h> -#include <qobject.h> +#include <tqstring.h> +#include <tqobject.h> #include <artsflow.h> class KArtsDispatcher; @@ -45,11 +45,11 @@ class KDE_EXPORT ArtsPlayer : public Player Q_OBJECT public: - ArtsPlayer(QObject* parent = 0, const char* name = 0, const QStringList& args=QStringList()); + ArtsPlayer(TQObject* parent = 0, const char* name = 0, const TQStringList& args=TQStringList()); ~ArtsPlayer(); // virtual void play(const FileHandle &file = FileHandle::null()); - virtual void startPlay(const QString& file); + virtual void startPlay(const TQString& file); virtual void pause(); virtual void stop(); |