diff options
Diffstat (limited to 'languages/java/javasupportpart.h')
-rw-r--r-- | languages/java/javasupportpart.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/languages/java/javasupportpart.h b/languages/java/javasupportpart.h index e6280560..3b1f08be 100644 --- a/languages/java/javasupportpart.h +++ b/languages/java/javasupportpart.h @@ -20,10 +20,10 @@ #include <kdevlanguagesupport.h> #include <kdialogbase.h> -#include <qguardedptr.h> -#include <qstring.h> -#include <qwaitcondition.h> -#include <qdatetime.h> +#include <tqguardedptr.h> +#include <tqstring.h> +#include <tqwaitcondition.h> +#include <tqdatetime.h> class Context; class ProblemReporter; @@ -51,7 +51,7 @@ class JavaSupportPart : public KDevLanguageSupport Q_OBJECT public: - JavaSupportPart( QObject *parent, const char *name, const QStringList &args ); + JavaSupportPart( TQObject *parent, const char *name, const TQStringList &args ); virtual ~JavaSupportPart(); bool isValid() const { return m_valid; } @@ -59,32 +59,32 @@ public: ProblemReporter* problemReporter() { return m_problemReporter; } BackgroundParser* backgroundParser() { return m_backgroundParser; } - const QPtrList<Catalog>& catalogList() { return m_catalogList; } + const TQPtrList<Catalog>& catalogList() { return m_catalogList; } - bool isValidSource( const QString& fileName ) const; - QStringList fileExtensions( ) const; + bool isValidSource( const TQString& fileName ) const; + TQStringList fileExtensions( ) const; - virtual void customEvent( QCustomEvent* ev ); + virtual void customEvent( TQCustomEvent* ev ); - virtual QStringList subclassWidget(const QString& formName); - virtual QStringList updateWidget(const QString& formName, const QString& fileName); + virtual TQStringList subclassWidget(const TQString& formName); + virtual TQStringList updateWidget(const TQString& formName, const TQString& fileName); KTextEditor::Document* findDocument( const KURL& url ); static KConfig *config(); - virtual QString formatTag( const Tag& tag ); - virtual QString formatModelItem( const CodeModelItem *item, bool shortDescription=false ); + virtual TQString formatTag( const Tag& tag ); + virtual TQString formatModelItem( const CodeModelItem *item, bool shortDescription=false ); virtual void addClass(); signals: - void fileParsed( const QString& fileName ); + void fileParsed( const TQString& fileName ); protected: virtual KDevLanguageSupport::Features features(); virtual KMimeType::List mimeTypes(); - virtual QString formatClassName(const QString &name); - virtual QString unformatClassName(const QString &name); + virtual TQString formatClassName(const TQString &name); + virtual TQString unformatClassName(const TQString &name); virtual void addMethod( ClassDom klass ); virtual void addAttribute( ClassDom klass ); @@ -96,16 +96,16 @@ private slots: void savedFile(const KURL &fileName); void configWidget(KDialogBase *dlg); void projectConfigWidget(KDialogBase *dlg); - void contextMenu(QPopupMenu *popup, const Context *context); - void addedFilesToProject(const QStringList &fileList); - void removedFilesFromProject(const QStringList &fileList); - void changedFilesInProject( const QStringList & fileList ); + void contextMenu(TQPopupMenu *popup, const Context *context); + void addedFilesToProject(const TQStringList &fileList); + void removedFilesFromProject(const TQStringList &fileList); + void changedFilesInProject( const TQStringList & fileList ); void slotProjectCompiled(); void setupCatalog(); void slotNewClass(); - void slotNeedTextHint( int, int, QString& ); + void slotNeedTextHint( int, int, TQString& ); /** * loads, parses and creates both classstores needed @@ -122,19 +122,19 @@ private: /** * checks if a file has to be parsed */ - void maybeParse( const QString& fileName ); - void removeWithReferences( const QString& fileName ); + void maybeParse( const TQString& fileName ); + void removeWithReferences( const TQString& fileName ); - QStringList modifiedFileList(); - QString findSourceFile(); + TQStringList modifiedFileList(); + TQString findSourceFile(); int pcsVersion(); void setPcsVersion( int version ); void saveProjectSourceInfo(); - QString m_contextFileName; + TQString m_contextFileName; - QGuardedPtr< ProblemReporter > m_problemReporter; + TQGuardedPtr< ProblemReporter > m_problemReporter; BackgroundParser* m_backgroundParser; KTextEditor::Document* m_activeDocument; @@ -142,17 +142,17 @@ private: KTextEditor::SelectionInterface* m_activeSelection; KTextEditor::EditInterface* m_activeEditor; KTextEditor::ViewCursorInterface* m_activeViewCursor; - QString m_activeFileName; + TQString m_activeFileName; - QWaitCondition m_eventConsumed; + TQWaitCondition m_eventConsumed; bool m_projectClosed; - QMap<QString, QDateTime> m_timestamp; + TQMap<TQString, TQDateTime> m_timestamp; bool m_valid; - QPtrList<Catalog> m_catalogList; + TQPtrList<Catalog> m_catalogList; Driver* m_driver; - QString m_projectDirectory; + TQString m_projectDirectory; ClassDom m_activeClass; FunctionDom m_activeFunction; |