summaryrefslogtreecommitdiffstats
path: root/languages/php/phpfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/php/phpfile.h')
-rw-r--r--languages/php/phpfile.h66
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;
};