diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/application/StartupTester.h | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip |
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/application/StartupTester.h')
-rw-r--r-- | src/gui/application/StartupTester.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/gui/application/StartupTester.h b/src/gui/application/StartupTester.h index 9c82e07..1249cbd 100644 --- a/src/gui/application/StartupTester.h +++ b/src/gui/application/StartupTester.h @@ -26,18 +26,18 @@ #ifndef _RG_STARTUPTESTER_H_ #define _RG_STARTUPTESTER_H_ -#include <qmutex.h> -#include <qthread.h> -#include <qstringlist.h> -#include <qobject.h> -#include <qhttp.h> +#include <tqmutex.h> +#include <tqthread.h> +#include <tqstringlist.h> +#include <tqobject.h> +#include <tqhttp.h> class KProcess; namespace Rosegarden { -class StartupTester : public QObject, public QThread +class StartupTester : public TQObject, public QThread { Q_OBJECT @@ -52,34 +52,34 @@ public: // If you call one of these methods before the startup test has // completed in the background, then it will block. - bool haveProjectPackager(QStringList *missingApplications); - bool haveLilyPondView(QStringList *missingApplications); - bool haveAudioFileImporter(QStringList *missingApplications); + bool haveProjectPackager(TQStringList *missingApplications); + bool haveLilyPondView(TQStringList *missingApplications); + bool haveAudioFileImporter(TQStringList *missingApplications); signals: - void newerVersionAvailable(QString); + void newerVersionAvailable(TQString); protected slots: void stdoutReceived(KProcess *, char *, int); - void slotHttpResponseHeaderReceived(const QHttpResponseHeader &); + void slotHttpResponseHeaderReceived(const TQHttpResponseHeader &); void slotHttpDone(bool); protected: bool m_ready; - QMutex m_projectPackagerMutex; - QMutex m_lilyPondViewMutex; - QMutex m_audioFileImporterMutex; + TQMutex m_projectPackagerMutex; + TQMutex m_lilyPondViewMutex; + TQMutex m_audioFileImporterMutex; bool m_haveProjectPackager; - QStringList m_projectPackagerMissing; + TQStringList m_projectPackagerMissing; bool m_haveLilyPondView; - QStringList m_lilyPondViewMissing; + TQStringList m_lilyPondViewMissing; bool m_haveAudioFileImporter; - QStringList m_audioFileImporterMissing; - QString m_stdoutBuffer; + TQStringList m_audioFileImporterMissing; + TQString m_stdoutBuffer; bool m_versionHttpFailed; - void parseStdoutBuffer(QStringList &target); - bool isVersionNewerThan(QString, QString); + void parseStdoutBuffer(TQStringList &target); + bool isVersionNewerThan(TQString, TQString); }; |