summaryrefslogtreecommitdiffstats
path: root/languages/php/phpparser.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/php/phpparser.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/php/phpparser.h')
-rw-r--r--languages/php/phpparser.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/languages/php/phpparser.h b/languages/php/phpparser.h
index c5d7e378..24687ea3 100644
--- a/languages/php/phpparser.h
+++ b/languages/php/phpparser.h
@@ -19,19 +19,19 @@
#ifndef PHPPARSER_H
#define PHPPARSER_H
-#include <qthread.h>
+#include <tqthread.h>
#if QT_VERSION < 0x030100
#include <kdevmutex.h>
#else
-#include <qmutex.h>
+#include <tqmutex.h>
#endif
#include <codemodel.h>
-#include <qwaitcondition.h>
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqwaitcondition.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
#include "phpfile.h"
@@ -42,16 +42,16 @@ class PHPSupportPart;
*@author Sandy Meier
*/
-class PHPParser: public QThread {
+class PHPParser: public TQThread {
public:
PHPParser(PHPSupportPart *part);
~PHPParser();
- void addFile( const QString& fileName );
- bool hasFile( const QString& fileName );
- void reparseFile( const QString& fileName );
- void removeFile( const QString& fileName );
+ void addFile( const TQString& fileName );
+ bool hasFile( const TQString& fileName );
+ void reparseFile( const TQString& fileName );
+ void removeFile( const TQString& fileName );
void removeAllFiles();
void run();
@@ -63,10 +63,10 @@ private:
KDevCore* m_core;
PHPSupportPart* m_part;
- QMutex m_mutex;
- QWaitCondition m_canParse;
+ TQMutex m_mutex;
+ TQWaitCondition m_canParse;
bool m_close;
- QMap<QString, PHPFile*> m_files;
+ TQMap<TQString, PHPFile*> m_files;
};