summaryrefslogtreecommitdiffstats
path: root/languages/php/phpcodecompletion.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/phpcodecompletion.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/phpcodecompletion.h')
-rw-r--r--languages/php/phpcodecompletion.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/languages/php/phpcodecompletion.h b/languages/php/phpcodecompletion.h
index 41d79934..505bdcbd 100644
--- a/languages/php/phpcodecompletion.h
+++ b/languages/php/phpcodecompletion.h
@@ -23,7 +23,7 @@
#include <codemodel.h>
-#include <qobject.h>
+#include <tqobject.h>
#include <kregexp.h>
#include <kparts/part.h>
@@ -42,10 +42,10 @@ class PHPConfigData;
class FunctionCompletionEntry : public KTextEditor::CompletionEntry {
public:
- QString prototype;
+ TQString prototype;
};
-class PHPCodeCompletion : public QObject {
+class PHPCodeCompletion : public TQObject {
Q_OBJECT
public:
@@ -61,29 +61,29 @@ protected slots:
void completionBoxHided();
protected:
- bool showCompletionBox(QValueList<KTextEditor::CompletionEntry> list, unsigned long max);
+ bool showCompletionBox(TQValueList<KTextEditor::CompletionEntry> list, unsigned long max);
- bool checkForVariable(QString line, int col);
- bool checkForStaticFunction(QString line, int col);
- bool checkForNew(QString line, int col);
- bool checkForExtends(QString line, int col);
- bool checkForGlobalFunction(QString line, int col);
+ bool checkForVariable(TQString line, int col);
+ bool checkForStaticFunction(TQString line, int col);
+ bool checkForNew(TQString line, int col);
+ bool checkForExtends(TQString line, int col);
+ bool checkForGlobalFunction(TQString line, int col);
- bool checkForArgHint(QString line, int col);
+ bool checkForArgHint(TQString line, int col);
- QValueList<KTextEditor::CompletionEntry> getClasses(QString name);
- QValueList<KTextEditor::CompletionEntry> getFunctionsAndVars(QString classname, QString str);
- QStringList getArguments(QString classname, QString function);
- QString getCurrentClassName();
- QString getClassName(QString varName, QString classname);
- QValueList<ClassDom> getClassByName(QString classname);
+ TQValueList<KTextEditor::CompletionEntry> getClasses(TQString name);
+ TQValueList<KTextEditor::CompletionEntry> getFunctionsAndVars(TQString classname, TQString str);
+ TQStringList getArguments(TQString classname, TQString function);
+ TQString getCurrentClassName();
+ TQString getClassName(TQString varName, TQString classname);
+ TQValueList<ClassDom> getClassByName(TQString classname);
void readGlobalPHPFunctionsFile();
- void setStatusBar(QString expr, QString type);
+ void setStatusBar(TQString expr, TQString type);
private:
int m_currentLine;
- QValueList<FunctionCompletionEntry> m_globalFunctions;
+ TQValueList<FunctionCompletionEntry> m_globalFunctions;
PHPSupportPart* m_phpSupport;
PHPConfigData* m_config;
@@ -97,7 +97,7 @@ protected:
KTextEditor::ViewCursorInterface *m_cursorInterface;
KTextEditor::SelectionInterface *m_selectionInterface;
- QString findDeclaration(QString name, int line = -1);
+ TQString findDeclaration(TQString name, int line = -1);
};
#endif