diff options
Diffstat (limited to 'lib/interfaces/kdevlanguagesupport.h')
| -rw-r--r-- | lib/interfaces/kdevlanguagesupport.h | 34 | 
1 files changed, 17 insertions, 17 deletions
| diff --git a/lib/interfaces/kdevlanguagesupport.h b/lib/interfaces/kdevlanguagesupport.h index d0de80e2..78694193 100644 --- a/lib/interfaces/kdevlanguagesupport.h +++ b/lib/interfaces/kdevlanguagesupport.h @@ -25,8 +25,8 @@  #ifndef KDEVLANGUAGESUPPORT_H  #define KDEVLANGUAGESUPPORT_H -#include <qstring.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqstringlist.h>  #include <kmimetype.h>  #include "kdevplugin.h"  #include "codemodel.h" @@ -93,7 +93,7 @@ public:      @param parent The parent object for the plugin. Parent object must implement @ref KDevApi      interface. Otherwise the plugin will not be constructed.      @param name The internal name which identifies the plugin.*/ -    KDevLanguageSupport(const KDevPluginInfo *info, QObject *parent, const char *name); +    KDevLanguageSupport(const KDevPluginInfo *info, TQObject *parent, const char *name);      /**Destructor.*/      ~KDevLanguageSupport(); @@ -107,24 +107,24 @@ public:      /**Formats a Tag as used by the persistent symbol store to the human-readable convention.      @param tag Tag to format.*/ -    virtual QString formatTag(const Tag& tag); +    virtual TQString formatTag(const Tag& tag);      /**Formats a CodeModelItem as used by the CodeModel to the human-readable convention.      @param item Symbol to format.      @param shortDescription Show short description of a symbol. For example, when      formatting functions short description could be a function signature without      the return type and argument default values.*/ -    virtual QString formatModelItem(const CodeModelItem *item, bool shortDescription=false); +    virtual TQString formatModelItem(const CodeModelItem *item, bool shortDescription=false);      /**Formats a canonicalized class path as used by the symbol store to the      human-readable convention. For example, the C++ support part formats the      string "KParts.Part" into "KParts::Part".      @param name Class name.*/ -    virtual QString formatClassName(const QString &name); +    virtual TQString formatClassName(const TQString &name);      /**The opposite of @ref formatClassName. Reverts formatting.      @param name Class name.*/ -    virtual QString unformatClassName(const QString &name); +    virtual TQString unformatClassName(const TQString &name);      /**Determines whether the document should be opened in a split view.  The      language part can determine this internally and then set the active document @@ -168,7 +168,7 @@ public:      and propmts to implement it's slots.      @param formName The name of a form to subclass.      @return A list of newly created files.*/ -    virtual QStringList subclassWidget(const QString& formName); +    virtual TQStringList subclassWidget(const TQString& formName);      /**Opens an "Update Widget" dialog for given Qt .ui file (formName)      and prompts to add missing slot implementations @@ -177,7 +177,7 @@ public:      @param fileName The name of a file with a subclass.      @return A list of updated files. Can be empty because usually no additional      actions are required on updated files.*/ -    virtual QStringList updateWidget(const QString& formName, const QString& fileName); +    virtual TQStringList updateWidget(const TQString& formName, const TQString& fileName);      /**Reimplement this method if you want to use integrated GUI designer for the language.      Implementation could look like (in pseudo code): @@ -210,14 +210,14 @@ public slots:      @param type The type of integrated designer.      @param formName The name of a GUI form.      @param function The function to implement (add).*/ -    void addFunction(DesignerType type, const QString &formName, Function function); +    void addFunction(DesignerType type, const TQString &formName, Function function);      /**Removes a function requested by a GUI designer. No need to reimplement this slot      unless you want to use specific implementation of KDevDesignerIntegration interface.      @param type The type of integrated designer.      @param formName The name of a GUI form.      @param function The function to remove.*/ -    void removeFunction(DesignerType type, const QString &formName, Function function); +    void removeFunction(DesignerType type, const TQString &formName, Function function);      /**Edits a function requested by a GUI designer. No need to reimplement this slot      unless you want to use specific implementation of KDevDesignerIntegration interface. @@ -225,33 +225,33 @@ public slots:      @param formName The name of a GUI form.      @param oldFunction The old function signature before editing.      @param function The new function signature after editing.*/ -    void editFunction(DesignerType type, const QString &formName, Function oldFunction, Function function); +    void editFunction(DesignerType type, const TQString &formName, Function oldFunction, Function function);      /**Opens a function requested by a GUI designer. No need to reimplement this slot      unless you want to use specific implementation of KDevDesignerIntegration interface.      @param type The type of integrated designer.      @param formName The name of a GUI form.      @param functionName The name of a function to seek in the code for.*/ -    void openFunction(DesignerType type, const QString &formName, const QString &functionName); +    void openFunction(DesignerType type, const TQString &formName, const TQString &functionName);      /**Opens a form source requested by a GUI designer. No need to reimplement this slot      unless you want to use specific implementation of KDevDesignerIntegration interface.      @param type The type of integrated designer.      @param formName The name of a GUI form.*/ -    void openSource(DesignerType type, const QString &formName); +    void openSource(DesignerType type, const TQString &formName);  signals:      /**Emitted when the content of the memory symbol store has been modified.*/      void updatedSourceInfo();      /**Emitted before removing the file from the memory symbol store.*/ -    void aboutToRemoveSourceInfo(const QString& fileName); +    void aboutToRemoveSourceInfo(const TQString& fileName);      /**Emitted when a file has been removed from the memory symbol store.*/ -    void removedSourceInfo(const QString& fileName); +    void removedSourceInfo(const TQString& fileName);      /**Emitted when a file has been added to the memory symbol store.*/ -    void addedSourceInfo( const QString& fileName ); +    void addedSourceInfo( const TQString& fileName );      /**Emitted when the language part changes the Split View orientation.*/      void splitOrientationChanged( Qt::Orientation orientation ); | 
