diff options
Diffstat (limited to 'lib/interfaces/external')
| -rw-r--r-- | lib/interfaces/external/designer.cpp | 2 | ||||
| -rw-r--r-- | lib/interfaces/external/designer.h | 24 | 
2 files changed, 13 insertions, 13 deletions
| diff --git a/lib/interfaces/external/designer.cpp b/lib/interfaces/external/designer.cpp index c66fbe31..606fd2b4 100644 --- a/lib/interfaces/external/designer.cpp +++ b/lib/interfaces/external/designer.cpp @@ -20,7 +20,7 @@  namespace KInterfaceDesigner{ -Designer::Designer(QObject *parent, const char *name) +Designer::Designer(TQObject *parent, const char *name)      :KParts::ReadWritePart(parent, name)  {  } diff --git a/lib/interfaces/external/designer.h b/lib/interfaces/external/designer.h index d0fdebd6..c254ab07 100644 --- a/lib/interfaces/external/designer.h +++ b/lib/interfaces/external/designer.h @@ -39,13 +39,13 @@ enum FunctionType {  /**Function.*/  struct Function{      /**Return type.*/ -    QString returnType; +    TQString returnType;      /**Function name.*/ -    QString function; +    TQString function;      /**Specifier, e.g. virtual, static, etc.*/ -    QString specifier; +    TQString specifier;      /**Access, e.g. private, protected, public, etc.*/ -    QString access; +    TQString access;      /**Function type.*/      FunctionType type;  }; @@ -66,31 +66,31 @@ mimetype then it becomes automatically integrated into KDevelop IDE.  class Designer: public KParts::ReadWritePart{      Q_OBJECT  public: -    Designer(QObject *parent, const char *name); +    Designer(TQObject *parent, const char *name);      /**Reimplement this to be able to open projects.*/ -    virtual void openProject(const QString &projectFile) = 0; +    virtual void openProject(const TQString &projectFile) = 0;      /**Reimplement this return the type of this designer.*/      virtual DesignerType designerType() = 0;  signals:      /**Emit this signal when a function was added by a designer. For example, when a slot       or a callback function was defined.*/ -    void addedFunction(DesignerType type, const QString &formName, Function function); +    void addedFunction(DesignerType type, const TQString &formName, Function function);      /**Emit this signal when a function was removed by a designer.*/ -    void removedFunction(DesignerType type, const QString &formName, Function function); +    void removedFunction(DesignerType type, const TQString &formName, Function function);      /**Emit this signal when a function signature was edited by a designer.*/ -    void editedFunction(DesignerType type, const QString &formName, Function oldFunction, Function function); +    void editedFunction(DesignerType type, const TQString &formName, Function oldFunction, Function function);      /**Emit this signal when a designer wants to open the editor with function definition.*/ -    void editFunction(DesignerType type, const QString &formName, const QString &functionName); +    void editFunction(DesignerType type, const TQString &formName, const TQString &functionName);      /**Emit this signal when a designer wants to open the editor for a form sources.*/ -    void editSource(DesignerType type, const QString &formName); +    void editSource(DesignerType type, const TQString &formName);      /**Emitted when a form state is changed in the designer.      @param formName An absolute name of the form file.      @param status 0: form is clean, 1: form is modified.*/ -    void newStatus(const QString &formName, int status); +    void newStatus(const TQString &formName, int status);  };  } | 
