diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /languages/php/phpfile.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-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/phpfile.h')
-rw-r--r-- | languages/php/phpfile.h | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/languages/php/phpfile.h b/languages/php/phpfile.h index cb1573f3..b8aad71b 100644 --- a/languages/php/phpfile.h +++ b/languages/php/phpfile.h @@ -20,11 +20,11 @@ #define PHPFILE_H #include <kapplication.h> -#include <qstring.h> -#include <qstringlist.h> -#include <qfileinfo.h> -#include <qregexp.h> -#include <qthread.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqfileinfo.h> +#include <tqregexp.h> +#include <tqthread.h> #include <urlutil.h> #include <kprocess.h> @@ -45,23 +45,23 @@ /** @author Escuder Nicolas */ -class PHPFile : public QObject { +class PHPFile : public TQObject { Q_OBJECT public: - PHPFile(PHPSupportPart *phpSupport, const QString& fileName); + PHPFile(PHPSupportPart *phpSupport, const TQString& fileName); ~PHPFile(); - QStringList getContents(); + TQStringList getContents(); bool isModified(); void setModified(bool value); - QString fileName(); + TQString fileName(); void Analyse(); - void ParseStdout(QString phpOutput); + void ParseStdout(TQString phpOutput); /* - ClassDom classByName(QString filename, QString classname); - QValueList<ClassDom> classByName(QString classname); + ClassDom classByName(TQString filename, TQString classname); + TQValueList<ClassDom> classByName(TQString classname); */ /* @@ -71,37 +71,37 @@ private slots: void slotPHPCheckExited (KProcess* proc); */ private: - QStringList readFromEditor(); - QStringList readFromDisk(); + TQStringList readFromEditor(); + TQStringList readFromDisk(); - bool ParseClass(QString line, int lineNo); - bool ParseFunction(QString line, int lineNo); - bool ParseVariable(QString line, int lineNo); + bool ParseClass(TQString line, int lineNo); + bool ParseFunction(TQString line, int lineNo); + bool ParseVariable(TQString line, int lineNo); - bool ParseThisMember(QString line, int lineNo); - bool ParseMember(QString line, int lineNo); - bool ParseReturn(QString line, int lineNo); - bool ParseTodo(QString line, int lineNo); - bool ParseFixme(QString line, int lineNo); + bool ParseThisMember(TQString line, int lineNo); + bool ParseMember(TQString line, int lineNo); + bool ParseReturn(TQString line, int lineNo); + bool ParseTodo(TQString line, int lineNo); + bool ParseFixme(TQString line, int lineNo); void ParseSource(); void PHPCheck(); void postEvent(FileParseEvent *event); - bool AddClass(QString name, QString extends, int start); - bool SetClass(QString arguments); + bool AddClass(TQString name, TQString extends, int start); + bool SetClass(TQString arguments); bool CloseClass(int end); - bool AddFunction(QString name, QString arguments, int start); - bool SetFunction(QString name, QString arguments = ""); + bool AddFunction(TQString name, TQString arguments, int start); + bool SetFunction(TQString name, TQString arguments = ""); bool CloseFunction(int end); - bool AddVariable(QString name, QString type, int position, bool classvar = FALSE); - bool SetVariable(QString arguments); + bool AddVariable(TQString name, TQString type, int position, bool classvar = FALSE); + bool SetVariable(TQString arguments); - bool AddTodo(QString arguments, int position); - bool AddFixme(QString arguments, int position); + bool AddTodo(TQString arguments, int position); + bool AddFixme(TQString arguments, int position); PHPSupportPart *m_part; @@ -110,9 +110,9 @@ private: bool inClass; bool inMethod; - QFileInfo* m_fileinfo; - QStringList m_contents; - QString m_phpCheckOutput; + TQFileInfo* m_fileinfo; + TQStringList m_contents; + TQString m_phpCheckOutput; // KShellProcess* phpCheckProc; }; |