From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/php/phpfile.h | 66 ++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'languages/php/phpfile.h') 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 -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include @@ -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 classByName(QString classname); + ClassDom classByName(TQString filename, TQString classname); + TQValueList 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; }; -- cgit v1.2.3