diff options
Diffstat (limited to 'languages/perl/perlparser.h')
-rw-r--r-- | languages/perl/perlparser.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/languages/perl/perlparser.h b/languages/perl/perlparser.h index 01ded7d8..b536596b 100644 --- a/languages/perl/perlparser.h +++ b/languages/perl/perlparser.h @@ -28,41 +28,41 @@ class perlparser { public: - perlparser(KDevCore* core,CodeModel* model, QString interpreter); + perlparser(KDevCore* core,CodeModel* model, TQString interpreter); perlparser(); ~perlparser(); void initialParse(); - void parse(const QString &fileName); - void parseLines(QStringList* lines,const QString& fileName); - const QStringList UseFiles(); - QString findLib( const QString& lib); + void parse(const TQString &fileName); + void parseLines(TQStringList* lines,const TQString& fileName); + const TQStringList UseFiles(); + TQString findLib( const TQString& lib); private: //global functions to add to ClassStore - void addPackage(const QString& fileName ,int lineNr , const QString& name); - void addAttributetoScript(const QString& fileName ,int lineNr ,const QString& name); - void addAttributetoPackage(const QString& fileName ,int lineNr ,const QString& name); - void addClass(const QString& fileName ,int lineNr ); - void addConstructor(const QString& fileName ,int lineNr ,const QString& methodname); - void addGlobalSub(const QString& fileName ,int lineNr , const QString& name, bool privatesub); - void addScriptSub(const QString& fileName ,int lineNr , const QString& name, bool privatesub); - void addClassMethod(const QString& fileName ,int lineNr , const QString& name , bool privatesub); - void addPackageSub(const QString& fileName ,int lineNr , const QString& name, bool privatesub); - void addParentClass(const QString& parent); - void addScript(const QString& fileName ,int lineNr , const QString& name); - void addUseLib(const QString& lib); + void addPackage(const TQString& fileName ,int lineNr , const TQString& name); + void addAttributetoScript(const TQString& fileName ,int lineNr ,const TQString& name); + void addAttributetoPackage(const TQString& fileName ,int lineNr ,const TQString& name); + void addClass(const TQString& fileName ,int lineNr ); + void addConstructor(const TQString& fileName ,int lineNr ,const TQString& methodname); + void addGlobalSub(const TQString& fileName ,int lineNr , const TQString& name, bool privatesub); + void addScriptSub(const TQString& fileName ,int lineNr , const TQString& name, bool privatesub); + void addClassMethod(const TQString& fileName ,int lineNr , const TQString& name , bool privatesub); + void addPackageSub(const TQString& fileName ,int lineNr , const TQString& name, bool privatesub); + void addParentClass(const TQString& parent); + void addScript(const TQString& fileName ,int lineNr , const TQString& name); + void addUseLib(const TQString& lib); void getPerlINC(); bool m_inpackage; bool m_inscript; bool m_inclass; - QString m_lastsub; - QString m_lastparentclass; - QString m_lastattr; - QString m_lastpackagename; - QString m_lastscriptname; + TQString m_lastsub; + TQString m_lastparentclass; + TQString m_lastattr; + TQString m_lastpackagename; + TQString m_lastscriptname; NamespaceDom m_lastscript; NamespaceDom m_lastpackage; @@ -74,12 +74,12 @@ class perlparser { FileDom m_file; //this willhav a list of INC paths - QStringList m_INClist; + TQStringList m_INClist; //this will get a list off all files "use" in the perl files //and need additional parsing to include the classes in the classview - QStringList m_usefiles; + TQStringList m_usefiles; - QString m_interpreter; + TQString m_interpreter; }; |