diff options
Diffstat (limited to 'languages/php/phpcodecompletion.h')
-rw-r--r-- | languages/php/phpcodecompletion.h | 38 |
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 |