summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/tools/designer/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/tqtinterface/qt4/tools/designer/interfaces')
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/interfaces/actioninterface.h85
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/interfaces/classbrowserinterface.h70
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/interfaces/designerinterface.h268
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/interfaces/editorinterface.h109
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/interfaces/filterinterface.h75
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/interfaces/interpreterinterface.h66
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/interfaces/languageinterface.h138
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/interfaces/preferenceinterface.h75
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/interfaces/projectsettingsiface.h76
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/interfaces/sourcetemplateiface.h72
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/interfaces/templatewizardiface.h67
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/interfaces/widgetinterface.h42
12 files changed, 1143 insertions, 0 deletions
diff --git a/experimental/tqtinterface/qt4/tools/designer/interfaces/actioninterface.h b/experimental/tqtinterface/qt4/tools/designer/interfaces/actioninterface.h
new file mode 100644
index 000000000..14fa5b1fd
--- /dev/null
+++ b/experimental/tqtinterface/qt4/tools/designer/interfaces/actioninterface.h
@@ -0,0 +1,85 @@
+ /**********************************************************************
+** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of TQt Designer.
+**
+** This file may be used under the terms of the GNU General
+** Public License versions 2.0 or 3.0 as published by the Free
+** Software Foundation and appearing in the files LICENSE.GPL2
+** and LICENSE.GPL3 included in the packaging of this file.
+** Alternatively you may (at your option) use any later version
+** of the GNU General Public License if such license has been
+** publicly approved by Trolltech ASA (or its successors, if any)
+** and the KDE Free TQt Foundation.
+**
+** Please review the following information to ensure GNU General
+** Public Licensing requirements will be met:
+** http://trolltech.com/products/qt/licenses/licensing/opensource/.
+** If you are unsure which license is appropriate for your use, please
+** review the following information:
+** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
+** or contact the sales department at sales@trolltech.com.
+**
+** Licensees holding valid TQt Commercial licenses may use this file in
+** accordance with the TQt Commercial License Agreement provided with
+** the Software.
+**
+** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
+** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
+** herein.
+**
+**********************************************************************/
+
+#ifndef ACTIONINTERFACE_H
+#define ACTIONINTERFACE_H
+
+#include <private/tqcom_p.h>
+
+class TQAction;
+class TQObject;
+
+// {bb206e09-84e5-4777-9fce-706babfab931}
+#ifndef IID_Action
+#define IID_Action TQUuid( 0xbb206e09, 0x84e5, 0x4777, 0x9f, 0xce, 0x70, 0x6b, 0xab, 0xfa, 0xb9, 0x31 )
+#endif
+
+/*! To add actions to the TQt Designer menubars and toolbars, implement
+ this interface. You have to implement the create(), group() and
+ connectTo() functions.
+
+ You also have to implement the function featureList() (\sa
+ TQFeatureListInterface) to return the names of all actions
+ which this interface provides.
+*/
+
+class ActionInterface : public TQFeatureListInterface
+{
+public:
+ enum Location {
+ Toolbar,
+ Menu
+ };
+
+ /*! This functions is called to create the action with the name \a
+ name. \a tqparent should be used as tqparent of the action.
+
+ In the implementation return the TQAction object for the action
+ \a name.
+ */
+ virtual TQAction* create( const TQString &name, TQObject* tqparent = 0 ) = 0;
+
+ /*! In the implementation of the interface return the name of the
+ group of the action \a name.
+ */
+ virtual TQString group( const TQString &name ) const = 0;
+
+ /*! In the implementation of the interface return whether the
+ action \a name should appear in the location \a l */
+ virtual bool location( const TQString &name, Location l ) const = 0;
+
+ /*! \internal */
+ virtual void connectTo( TQUnknownInterface *appInterface ) = 0;
+};
+
+#endif
diff --git a/experimental/tqtinterface/qt4/tools/designer/interfaces/classbrowserinterface.h b/experimental/tqtinterface/qt4/tools/designer/interfaces/classbrowserinterface.h
new file mode 100644
index 000000000..7e86ca898
--- /dev/null
+++ b/experimental/tqtinterface/qt4/tools/designer/interfaces/classbrowserinterface.h
@@ -0,0 +1,70 @@
+ /**********************************************************************
+** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of TQt Designer.
+**
+** This file may be used under the terms of the GNU General
+** Public License versions 2.0 or 3.0 as published by the Free
+** Software Foundation and appearing in the files LICENSE.GPL2
+** and LICENSE.GPL3 included in the packaging of this file.
+** Alternatively you may (at your option) use any later version
+** of the GNU General Public License if such license has been
+** publicly approved by Trolltech ASA (or its successors, if any)
+** and the KDE Free TQt Foundation.
+**
+** Please review the following information to ensure GNU General
+** Public Licensing requirements will be met:
+** http://trolltech.com/products/qt/licenses/licensing/opensource/.
+** If you are unsure which license is appropriate for your use, please
+** review the following information:
+** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
+** or contact the sales department at sales@trolltech.com.
+**
+** Licensees holding valid TQt Commercial licenses may use this file in
+** accordance with the TQt Commercial License Agreement provided with
+** the Software.
+**
+** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
+** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
+** herein.
+**
+**********************************************************************/
+
+#ifndef CLASSBROWSERINTERFACE_H
+#define CLASSBROWSERINTERFACE_H
+
+//
+// W A R N I N G -- PRIVATE INTERFACES
+// --------------------------------------
+//
+// This file and the interfaces declared in the file are not
+// public. It exists for internal purpose. This header file and
+// interfaces may change from version to version (even binary
+// incompatible) without notice, or even be removed.
+//
+// We mean it.
+//
+//
+
+#include <private/tqcom_p.h>
+#include <tqobject.h>
+class TQListView;
+
+// {4ede3c32-ae96-4b7a-9e38-9f1d93592391}
+#ifndef IID_ClassBrowser
+#define IID_ClassBrowser TQUuid( 0x4ede3c32, 0xae96, 0x4b7a, 0x9e, 0x38, 0x9f, 0x1d, 0x93, 0x59, 0x23, 0x91 )
+#endif
+
+struct ClassBrowserInterface : public TQUnknownInterface
+{
+ enum Type { Class, Function };
+
+ virtual TQListView *createClassBrowser( TQWidget *tqparent ) const = 0;
+ virtual void update( const TQString &code ) const = 0;
+ virtual void clear() const = 0;
+
+ virtual void onClick( TQObject *receiver, const char *slot ) = 0;
+};
+
+#endif
diff --git a/experimental/tqtinterface/qt4/tools/designer/interfaces/designerinterface.h b/experimental/tqtinterface/qt4/tools/designer/interfaces/designerinterface.h
new file mode 100644
index 000000000..279d7faae
--- /dev/null
+++ b/experimental/tqtinterface/qt4/tools/designer/interfaces/designerinterface.h
@@ -0,0 +1,268 @@
+ /**********************************************************************
+** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of TQt Designer.
+**
+** This file may be used under the terms of the GNU General
+** Public License versions 2.0 or 3.0 as published by the Free
+** Software Foundation and appearing in the files LICENSE.GPL2
+** and LICENSE.GPL3 included in the packaging of this file.
+** Alternatively you may (at your option) use any later version
+** of the GNU General Public License if such license has been
+** publicly approved by Trolltech ASA (or its successors, if any)
+** and the KDE Free TQt Foundation.
+**
+** Please review the following information to ensure GNU General
+** Public Licensing requirements will be met:
+** http://trolltech.com/products/qt/licenses/licensing/opensource/.
+** If you are unsure which license is appropriate for your use, please
+** review the following information:
+** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
+** or contact the sales department at sales@trolltech.com.
+**
+** Licensees holding valid TQt Commercial licenses may use this file in
+** accordance with the TQt Commercial License Agreement provided with
+** the Software.
+**
+** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
+** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
+** herein.
+**
+**********************************************************************/
+
+#ifndef DESIGNERINTERFACE_H
+#define DESIGNERINTERFACE_H
+
+//
+// W A R N I N G -- PRIVATE INTERFACES
+// --------------------------------------
+//
+// This file and the interfaces declared in the file are not
+// public. It exists for internal purpose. This header file and
+// interfaces may change from version to version (even binary
+// incompatible) without notice, or even be removed.
+//
+// We mean it.
+//
+//
+
+#include <private/tqcom_p.h>
+#include <tqptrlist.h>
+#include <tqstring.h>
+#include <tqmap.h>
+#include <tqstringlist.h>
+#include <tqwidgetlist.h>
+#include <tqobjectlist.h>
+
+struct DesignerProject;
+struct DesignerDatabase;
+struct DesignerFormWindow;
+struct DesignerDock;
+struct DesignerOutputDock;
+struct DesignerOutput;
+struct DesignerOutputError;
+struct DesignerPixmapCollection;
+struct DesignerSourceFile;
+
+class TQDockWindow;
+class TQWidget;
+class TQObject;
+class TQAction;
+class TQIconSet;
+class TQSqlDatabase;
+
+// {0e661da-f45c-4830-af47-03ec53eb1633}
+#ifndef IID_Designer
+#define IID_Designer TQUuid( 0xa0e661da, 0xf45c, 0x4830, 0xaf, 0x47, 0x3, 0xec, 0x53, 0xeb, 0x16, 0x33 )
+#endif
+
+/*! These are the interfaces implemented by the TQt Designer which should
+ be used by plugins to access and use functionality of the TQt Designer.
+*/
+
+struct DesignerInterface : public TQUnknownInterface
+{
+ virtual DesignerProject *currentProject() const = 0;
+ virtual DesignerFormWindow *currentForm() const = 0;
+ virtual DesignerSourceFile *currentSourceFile() const = 0;
+ virtual TQPtrList<DesignerProject> projectList() const = 0;
+ virtual void showtqStatusMessage( const TQString &, int ms = 0 ) const = 0;
+ virtual DesignerDock *createDock() const = 0;
+ virtual DesignerOutputDock *outputDock() const = 0;
+ virtual void setModified( bool b, TQWidget *window ) = 0;
+ virtual void updateFunctionList() = 0;
+
+ virtual void onProjectChange( TQObject *receiver, const char *slot ) = 0;
+ virtual void onFormChange( TQObject *receiver, const char *slot ) = 0;
+
+ virtual bool singleProjectMode() const = 0;
+ virtual void showError( TQWidget *widget, int line, const TQString &message ) = 0;
+ virtual void runFinished() = 0;
+ virtual void showStackFrame( TQWidget *w, int line ) = 0;
+ virtual void showDebugStep( TQWidget *w, int line ) = 0;
+ virtual void runProjectPrecondition() = 0;
+ virtual void runProjectPostcondition( TQObjectList *l ) = 0;
+
+ };
+
+struct DesignerProject
+{
+ virtual TQPtrList<DesignerFormWindow> formList() const = 0;
+ virtual TQStringList formNames() const = 0;
+ virtual TQString formFileName( const TQString &form ) const = 0;
+ virtual void addForm( DesignerFormWindow * ) = 0;
+ virtual void removeForm( DesignerFormWindow * ) = 0;
+ virtual TQString fileName() const = 0;
+ virtual void setFileName( const TQString & ) = 0;
+ virtual TQString projectName() const = 0;
+ virtual void setProjectName( const TQString & ) = 0;
+ virtual TQString databaseFile() const = 0;
+ virtual void setDatabaseFile( const TQString & ) = 0;
+ virtual void setupDatabases() const = 0;
+ virtual TQPtrList<DesignerDatabase> databaseConnections() const = 0;
+ virtual void addDatabase( DesignerDatabase * ) = 0;
+ virtual void removeDatabase( DesignerDatabase * ) = 0;
+ virtual void save() const = 0;
+ virtual void setLanguage( const TQString & ) = 0;
+ virtual TQString language() const = 0;
+ virtual void setCustomSetting( const TQString &key, const TQString &value ) = 0;
+ virtual TQString customSetting( const TQString &key ) const = 0;
+ virtual DesignerPixmapCollection *pixmapCollection() const = 0;
+ virtual void breakPoints( TQMap<TQString, TQValueList<uint> > &bps ) const = 0;
+ virtual TQString breakPointCondition( TQObject *o, int line ) const = 0;
+ virtual void setBreakPointCondition( TQObject *o, int line, const TQString &condition ) = 0;
+ virtual void clearAllBreakpoints() const = 0;
+ virtual void setIncludePath( const TQString &platform, const TQString &path ) = 0;
+ virtual void setLibs( const TQString &platform, const TQString &path ) = 0;
+ virtual void setDefines( const TQString &platform, const TQString &path ) = 0;
+ virtual void setConfig( const TQString &platform, const TQString &config ) = 0;
+ virtual void setTemplate( const TQString &t ) = 0;
+ virtual TQString config( const TQString &platform ) const = 0;
+ virtual TQString libs( const TQString &platform ) const = 0;
+ virtual TQString defines( const TQString &platform ) const = 0;
+ virtual TQString includePath( const TQString &platform ) const = 0;
+ virtual TQString templte() const = 0;
+ virtual bool isGenericObject( TQObject *o ) const = 0;
+
+};
+
+struct DesignerDatabase
+{
+ virtual TQString name() const = 0;
+ virtual void setName( const TQString & ) = 0;
+ virtual TQString driver() const = 0;
+ virtual void setDriver( const TQString & ) = 0;
+ virtual TQString database() const = 0;
+ virtual void setDatabase( const TQString & ) = 0;
+ virtual TQString userName() const = 0;
+ virtual void setUserName( const TQString & ) = 0;
+ virtual TQString password() const = 0;
+ virtual void setPassword( const TQString & ) = 0;
+ virtual TQString hostName() const = 0;
+ virtual void setHostName( const TQString & ) = 0;
+ virtual TQStringList tables() const = 0;
+ virtual void setTables( const TQStringList & ) = 0;
+ virtual TQMap<TQString, TQStringList> fields() const = 0;
+ virtual void setFields( const TQMap<TQString, TQStringList> & ) = 0;
+ virtual void open( bool suppressDialog = FALSE ) const = 0;
+ virtual void close() const = 0;
+ virtual TQSqlDatabase* connection() = 0;
+
+};
+
+struct DesignerPixmapCollection
+{
+ virtual void addPixmap( const TQPixmap &p, const TQString &name, bool force ) = 0;
+ virtual TQPixmap pixmap( const TQString &name ) const = 0;
+};
+
+struct DesignerFormWindow
+{
+ virtual TQString name() const = 0;
+ virtual void setName( const TQString &n ) = 0;
+ virtual TQString fileName() const = 0;
+ virtual void setFileName( const TQString & ) = 0;
+ virtual void save() const = 0;
+ virtual bool isModified() const = 0;
+ virtual void insertWidget( TQWidget * ) = 0;
+ virtual void removeWidget( TQWidget * ) = 0;
+ virtual TQWidget *create( const char *className, TQWidget *tqparent, const char *name ) = 0;
+ virtual TQWidgetList widgets() const = 0;
+ virtual void undo() = 0;
+ virtual void redo() = 0;
+ virtual void cut() = 0;
+ virtual void copy() = 0;
+ virtual void paste() = 0;
+ virtual void adjustSize() = 0;
+ virtual void editConnections() = 0;
+ virtual void checkAccels() = 0;
+ virtual void layoutH() = 0;
+ virtual void layoutV() = 0;
+ virtual void layoutHSplit() = 0;
+ virtual void layoutVSplit() = 0;
+ virtual void layoutG() = 0;
+ virtual void layoutHContainer( TQWidget* w ) = 0;
+ virtual void layoutVContainer( TQWidget* w ) = 0;
+ virtual void layoutGContainer( TQWidget* w ) = 0;
+ virtual void breakLayout() = 0;
+ virtual void selectWidget( TQWidget * w ) = 0;
+ virtual void selectAll() = 0;
+ virtual void clearSelection() = 0;
+ virtual bool isWidgetSelected( TQWidget * ) const = 0;
+ virtual TQWidgetList selectedWidgets() const = 0;
+ virtual TQWidget *currentWidget() const = 0;
+ virtual TQWidget *form() const = 0;
+ virtual void setCurrentWidget( TQWidget * ) = 0;
+ virtual TQPtrList<TQAction> actionList() const = 0;
+ virtual TQAction *createAction( const TQString& text, const TQIconSet& icon, const TQString& menuText, int accel,
+ TQObject* tqparent, const char* name = 0, bool toggle = FALSE ) = 0;
+ virtual void addAction( TQAction * ) = 0;
+ virtual void removeAction( TQAction * ) = 0;
+ virtual void preview() const = 0;
+ virtual void addFunction( const TQCString &slot, const TQString &specifier, const TQString &access,
+ const TQString &type, const TQString &language, const TQString &returnType ) = 0;
+ virtual void addConnection( TQObject *sender, const char *signal, TQObject *receiver, const char *slot ) = 0;
+ virtual void setProperty( TQObject *o, const char *property, const TQVariant &value ) = 0;
+ virtual TQVariant property( TQObject *o, const char *property ) const = 0;
+ virtual void setPropertyChanged( TQObject *o, const char *property, bool changed ) = 0;
+ virtual bool isPropertyChanged( TQObject *o, const char *property ) const = 0;
+ virtual void setColumnFields( TQObject *o, const TQMap<TQString, TQString> & ) = 0;
+ virtual TQStringList implementationIncludes() const = 0;
+ virtual TQStringList declarationIncludes() const = 0;
+ virtual void setImplementationIncludes( const TQStringList &lst ) = 0;
+ virtual void setDeclarationIncludes( const TQStringList &lst ) = 0;
+ virtual TQStringList forwardDeclarations() const = 0;
+ virtual void setForwardDeclarations( const TQStringList &lst ) = 0;
+ virtual TQStringList signalList() const = 0;
+ virtual void setSignalList( const TQStringList &lst ) = 0;
+ virtual void addMenu( const TQString &text, const TQString &name ) = 0;
+ virtual void addMenuAction( const TQString &menu, TQAction *a ) = 0;
+ virtual void addMenuSeparator( const TQString &menu ) = 0;
+ virtual void addToolBar( const TQString &text, const TQString &name ) = 0;
+ virtual void addToolBarAction( const TQString &tb, TQAction *a ) = 0;
+ virtual void addToolBarSeparator( const TQString &tb ) = 0;
+
+ virtual void onModificationChange( TQObject *receiver, const char *slot ) = 0;
+};
+
+struct DesignerSourceFile
+{
+ virtual TQString fileName() const = 0;
+};
+
+struct DesignerDock
+{
+ virtual TQDockWindow *dockWindow() const = 0;
+};
+
+struct DesignerOutputDock
+{
+ virtual TQWidget *addView( const TQString &pageName ) = 0;
+ virtual void appendDebug( const TQString & ) = 0;
+ virtual void clearDebug() = 0;
+ virtual void appendError( const TQString &, int ) = 0;
+ virtual void clearError() = 0;
+};
+
+#endif
diff --git a/experimental/tqtinterface/qt4/tools/designer/interfaces/editorinterface.h b/experimental/tqtinterface/qt4/tools/designer/interfaces/editorinterface.h
new file mode 100644
index 000000000..4a80a128b
--- /dev/null
+++ b/experimental/tqtinterface/qt4/tools/designer/interfaces/editorinterface.h
@@ -0,0 +1,109 @@
+ /**********************************************************************
+** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of TQt Designer.
+**
+** This file may be used under the terms of the GNU General
+** Public License versions 2.0 or 3.0 as published by the Free
+** Software Foundation and appearing in the files LICENSE.GPL2
+** and LICENSE.GPL3 included in the packaging of this file.
+** Alternatively you may (at your option) use any later version
+** of the GNU General Public License if such license has been
+** publicly approved by Trolltech ASA (or its successors, if any)
+** and the KDE Free TQt Foundation.
+**
+** Please review the following information to ensure GNU General
+** Public Licensing requirements will be met:
+** http://trolltech.com/products/qt/licenses/licensing/opensource/.
+** If you are unsure which license is appropriate for your use, please
+** review the following information:
+** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
+** or contact the sales department at sales@trolltech.com.
+**
+** Licensees holding valid TQt Commercial licenses may use this file in
+** accordance with the TQt Commercial License Agreement provided with
+** the Software.
+**
+** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
+** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
+** herein.
+**
+**********************************************************************/
+
+#ifndef EDITORINTERFACE_H
+#define EDITORINTERFACE_H
+
+//
+// W A R N I N G -- PRIVATE INTERFACES
+// --------------------------------------
+//
+// This file and the interfaces declared in the file are not
+// public. It exists for internal purpose. This header file and
+// interfaces may change from version to version (even binary
+// incompatible) without notice, or even be removed.
+//
+// We mean it.
+//
+//
+
+#include <private/tqcom_p.h>
+#include <tqmap.h>
+#include <tqvaluelist.h>
+
+class TQWidget;
+class TQObjectList;
+class TQObject;
+
+// {8668161a-6037-4220-86b6-ccaa20127df8}
+#ifndef IID_Editor
+#define IID_Editor TQUuid( 0x8668161a, 0x6037, 0x4220, 0x86, 0xb6, 0xcc, 0xaa, 0x20, 0x12, 0x7d, 0xf8 )
+#endif
+
+struct EditorInterface : public TQUnknownInterface
+{
+ enum Mode
+ {
+ Editing,
+ Debugging
+ };
+
+ virtual TQWidget *editor( bool readOnly,
+ TQWidget *tqparent,
+ TQUnknownInterface *designerIface ) = 0;
+
+ virtual void setText( const TQString &txt ) = 0;
+ virtual TQString text() const = 0;
+ virtual bool isUndoAvailable() const = 0;
+ virtual bool isRedoAvailable() const = 0;
+ virtual void undo() = 0;
+ virtual void redo() = 0;
+ virtual void cut() = 0;
+ virtual void copy() = 0;
+ virtual void paste() = 0;
+ virtual void selectAll() = 0;
+ virtual bool tqfind( const TQString &expr, bool cs, bool wo, bool forward, bool startAtCursor ) = 0;
+ virtual bool tqreplace( const TQString &tqfind, const TQString &tqreplace, bool cs, bool wo, bool forward, bool startAtCursor, bool tqreplaceAll ) = 0;
+ virtual void gotoLine( int line ) = 0;
+ virtual void indent() = 0;
+ virtual void scrollTo( const TQString &txt, const TQString &first ) = 0;
+ virtual void splitView() = 0;
+ virtual void setContext( TQObject *this_ ) = 0;
+ virtual void setError( int line ) = 0;
+ virtual void setStep( int line ) = 0;
+ virtual void setStackFrame( int line ) = 0;
+ virtual void clearStep() = 0;
+ virtual void clearStackFrame() = 0;
+ virtual void readSettings() = 0;
+ virtual void setModified( bool m ) = 0;
+ virtual bool isModified() const = 0;
+ virtual int numLines() const = 0;
+ virtual void breakPoints( TQValueList<uint> &l ) const = 0;
+ virtual void setBreakPoints( const TQValueList<uint> &l ) = 0;
+ virtual void setMode( Mode m ) = 0;
+
+ virtual void onBreakPointChange( TQObject *receiver, const char *slot ) = 0;
+
+};
+
+#endif
diff --git a/experimental/tqtinterface/qt4/tools/designer/interfaces/filterinterface.h b/experimental/tqtinterface/qt4/tools/designer/interfaces/filterinterface.h
new file mode 100644
index 000000000..7db2155cf
--- /dev/null
+++ b/experimental/tqtinterface/qt4/tools/designer/interfaces/filterinterface.h
@@ -0,0 +1,75 @@
+ /**********************************************************************
+** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of TQt Designer.
+**
+** This file may be used under the terms of the GNU General
+** Public License versions 2.0 or 3.0 as published by the Free
+** Software Foundation and appearing in the files LICENSE.GPL2
+** and LICENSE.GPL3 included in the packaging of this file.
+** Alternatively you may (at your option) use any later version
+** of the GNU General Public License if such license has been
+** publicly approved by Trolltech ASA (or its successors, if any)
+** and the KDE Free TQt Foundation.
+**
+** Please review the following information to ensure GNU General
+** Public Licensing requirements will be met:
+** http://trolltech.com/products/qt/licenses/licensing/opensource/.
+** If you are unsure which license is appropriate for your use, please
+** review the following information:
+** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
+** or contact the sales department at sales@trolltech.com.
+**
+** Licensees holding valid TQt Commercial licenses may use this file in
+** accordance with the TQt Commercial License Agreement provided with
+** the Software.
+**
+** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
+** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
+** herein.
+**
+**********************************************************************/
+
+#ifndef FILTERINTERFACE_H
+#define FILTERINTERFACE_H
+
+#include <private/tqcom_p.h>
+
+// {ea8cb381-59b5-44a8-bae5-9bea8295762a}
+#ifndef IID_ImportFilter
+#define IID_ImportFilter TQUuid( 0xea8cb381, 0x59b5, 0x44a8, 0xba, 0xe5, 0x9b, 0xea, 0x82, 0x95, 0x76, 0x2a )
+#endif
+
+/*! If you write a filter plugin to import dialogs or other user
+ interfaces from a different format than .ui into the TQt Designer,
+ implement this interface in that plugin.
+
+ You also have to implement the function featureList() (\sa
+ TQFeatureListInterface) and return there all filters (names of it)
+ which this interface provides.
+*/
+
+struct ImportFilterInterface : public TQFeatureListInterface
+{
+ /*! This function is called by TQt Designer to open the file \a
+ filename using the filter \a filter. TQt Designer expects to get
+ back one or more .ui files, which it can open then. In the
+ implementation of the interface you have to return these
+ filenames, which the filter created, in this function.*/
+ virtual TQStringList import( const TQString &filter, const TQString &filename ) = 0;
+};
+
+// *************** INTERNAL *************************
+
+// {c32a07e0-b006-471e-afca-d227457a1280}
+#ifndef IID_ExportFilterInterface
+#define IID_ExportFilterInterface TQUuid( 0xc32a07e0, 0xb006, 0x471e, 0xaf, 0xca, 0xd2, 0x27, 0x45, 0x7a, 0x12, 0x80 )
+#endif
+
+struct ExportFilterInterface : public TQFeatureListInterface
+{
+// virtual TQStringList export( const TQString& filter, const TQString& filename ) = 0;
+};
+
+#endif
diff --git a/experimental/tqtinterface/qt4/tools/designer/interfaces/interpreterinterface.h b/experimental/tqtinterface/qt4/tools/designer/interfaces/interpreterinterface.h
new file mode 100644
index 000000000..b88461e02
--- /dev/null
+++ b/experimental/tqtinterface/qt4/tools/designer/interfaces/interpreterinterface.h
@@ -0,0 +1,66 @@
+ /**********************************************************************
+** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of TQt Designer.
+**
+** This file may be used under the terms of the GNU General
+** Public License versions 2.0 or 3.0 as published by the Free
+** Software Foundation and appearing in the files LICENSE.GPL2
+** and LICENSE.GPL3 included in the packaging of this file.
+** Alternatively you may (at your option) use any later version
+** of the GNU General Public License if such license has been
+** publicly approved by Trolltech ASA (or its successors, if any)
+** and the KDE Free TQt Foundation.
+**
+** Please review the following information to ensure GNU General
+** Public Licensing requirements will be met:
+** http://trolltech.com/products/qt/licenses/licensing/opensource/.
+** If you are unsure which license is appropriate for your use, please
+** review the following information:
+** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
+** or contact the sales department at sales@trolltech.com.
+**
+** Licensees holding valid TQt Commercial licenses may use this file in
+** accordance with the TQt Commercial License Agreement provided with
+** the Software.
+**
+** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
+** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
+** herein.
+**
+**********************************************************************/
+
+#ifndef INTERPRETERINTERFACE_H
+#define INTERPRETERINTERFACE_H
+
+//
+// W A R N I N G -- PRIVATE INTERFACES
+// --------------------------------------
+//
+// This file and the interfaces declared in the file are not
+// public. It exists for internal purpose. This header file and
+// interfaces may change from version to version (even binary
+// incompatible) without notice, or even be removed.
+//
+// We mean it.
+//
+//
+
+#include <private/tqcom_p.h>
+
+class TQObject;
+
+// {11cad9ec-4e3c-418b-8e90-e1b8c0c1f48f}
+#ifndef IID_Interpreter
+#define IID_Interpreter TQUuid( 0x11cad9ec, 0x4e3c, 0x418b, 0x8e, 0x90, 0xe1, 0xb8, 0xc0, 0xc1, 0xf4, 0x8f )
+#endif
+
+struct InterpreterInterface : public TQUnknownInterface
+{
+ virtual void setBreakPoints( TQObject *obj, const TQValueList<uint> &lst ) = 0;
+};
+
+
+
+#endif
diff --git a/experimental/tqtinterface/qt4/tools/designer/interfaces/languageinterface.h b/experimental/tqtinterface/qt4/tools/designer/interfaces/languageinterface.h
new file mode 100644
index 000000000..5c586eed7
--- /dev/null
+++ b/experimental/tqtinterface/qt4/tools/designer/interfaces/languageinterface.h
@@ -0,0 +1,138 @@
+ /**********************************************************************
+** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of TQt Designer.
+**
+** This file may be used under the terms of the GNU General
+** Public License versions 2.0 or 3.0 as published by the Free
+** Software Foundation and appearing in the files LICENSE.GPL2
+** and LICENSE.GPL3 included in the packaging of this file.
+** Alternatively you may (at your option) use any later version
+** of the GNU General Public License if such license has been
+** publicly approved by Trolltech ASA (or its successors, if any)
+** and the KDE Free TQt Foundation.
+**
+** Please review the following information to ensure GNU General
+** Public Licensing requirements will be met:
+** http://trolltech.com/products/qt/licenses/licensing/opensource/.
+** If you are unsure which license is appropriate for your use, please
+** review the following information:
+** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
+** or contact the sales department at sales@trolltech.com.
+**
+** Licensees holding valid TQt Commercial licenses may use this file in
+** accordance with the TQt Commercial License Agreement provided with
+** the Software.
+**
+** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
+** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
+** herein.
+**
+**********************************************************************/
+
+#ifndef LANGUAGEINTERFACE_H
+#define LANGUAGEINTERFACE_H
+
+//
+// W A R N I N G -- PRIVATE INTERFACES
+// --------------------------------------
+//
+// This file and the interfaces declared in the file are not
+// public. It exists for internal purpose. This header file and
+// interfaces may change from version to version (even binary
+// incompatible) without notice, or even be removed.
+//
+// We mean it.
+//
+//
+
+#include <private/tqcom_p.h>
+#include <tqvaluelist.h>
+#include <tqstringlist.h>
+#include <tqmap.h>
+#include <tqstrlist.h>
+
+// {f208499a-6f69-4883-9219-6e936e55a330}
+#ifndef IID_Language
+#define IID_Language TQUuid( 0xf208499a, 0x6f69, 0x4883, 0x92, 0x19, 0x6e, 0x93, 0x6e, 0x55, 0xa3, 0x30 )
+#endif
+
+struct LanguageInterface : public TQUnknownInterface
+{
+ struct Function
+ {
+ TQString name;
+ TQString body;
+ TQString returnType;
+ TQString comments;
+ int start;
+ int end;
+ TQString access;
+ bool operator==( const Function &f ) const {
+ return ( name == f.name &&
+ body == f.body &&
+ returnType == f.returnType &&
+ comments == f.comments );
+ }
+ };
+
+ struct Connection
+ {
+ TQString sender;
+ TQString signal;
+ TQString slot;
+ bool operator==( const Connection &c ) const {
+ return ( sender == c.sender &&
+ signal == c.signal &&
+ slot == c.slot );
+ }
+ };
+
+ enum Support
+ {
+ ReturnType,
+ ConnectionsToCustomSlots,
+ CompressProject
+ };
+
+ virtual void functions( const TQString &code, TQValueList<Function> *funcs ) const = 0;
+ virtual void connections( const TQString &code, TQValueList<Connection> *connections ) const = 0;
+ virtual TQString createFunctionStart( const TQString &className, const TQString &func,
+ const TQString &returnType, const TQString &access ) = 0;
+ virtual TQString createArguments( const TQString &cpp_signature ) = 0;
+ virtual TQString createEmptyFunction() = 0;
+ virtual TQStringList definitions() const = 0;
+ virtual TQStringList definitionEntries( const TQString &definition, TQUnknownInterface *designerIface ) const = 0;
+ virtual void setDefinitionEntries( const TQString &definition, const TQStringList &entries, TQUnknownInterface *designerIface ) = 0;
+ virtual bool supports( Support s ) const = 0;
+ virtual TQStringList fileFilterList() const = 0;
+ virtual TQStringList fileExtensionList() const = 0;
+ virtual void preferedExtensions( TQMap<TQString, TQString> &extensionMap ) const = 0;
+ virtual TQString projectKeyForExtension( const TQString &extension ) const = 0;
+ virtual void sourceProjectKeys( TQStringList &keys ) const = 0;
+ virtual TQString cleanSignature( const TQString &sig ) = 0;
+ virtual void loadFormCode( const TQString &form, const TQString &filename,
+ TQValueList<Function> &functions,
+ TQStringList &vars,
+ TQValueList<Connection> &connections ) = 0;
+ virtual TQString formCodeExtension() const = 0;
+
+ virtual bool canConnect( const TQString &signal, const TQString &slot ) = 0;
+
+ virtual void compressProject( const TQString &projectFile, const TQString &compressedFile,
+ bool withWarning ) = 0;
+ virtual TQString uncompressProject( const TQString &projectFile, const TQString &destDir ) = 0;
+ virtual TQString aboutText() const = 0;
+
+ virtual void addConnection( const TQString &sender, const TQString &signal,
+ const TQString &receiver, const TQString &slot,
+ TQString *code ) = 0;
+ virtual void removeConnection( const TQString &sender, const TQString &signal,
+ const TQString &receiver, const TQString &slot,
+ TQString *code ) = 0;
+ virtual TQStrList signalNames( TQObject *obj ) const = 0;
+
+};
+
+#endif
diff --git a/experimental/tqtinterface/qt4/tools/designer/interfaces/preferenceinterface.h b/experimental/tqtinterface/qt4/tools/designer/interfaces/preferenceinterface.h
new file mode 100644
index 000000000..22e4f36d2
--- /dev/null
+++ b/experimental/tqtinterface/qt4/tools/designer/interfaces/preferenceinterface.h
@@ -0,0 +1,75 @@
+ /**********************************************************************
+** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of TQt Designer.
+**
+** This file may be used under the terms of the GNU General
+** Public License versions 2.0 or 3.0 as published by the Free
+** Software Foundation and appearing in the files LICENSE.GPL2
+** and LICENSE.GPL3 included in the packaging of this file.
+** Alternatively you may (at your option) use any later version
+** of the GNU General Public License if such license has been
+** publicly approved by Trolltech ASA (or its successors, if any)
+** and the KDE Free TQt Foundation.
+**
+** Please review the following information to ensure GNU General
+** Public Licensing requirements will be met:
+** http://trolltech.com/products/qt/licenses/licensing/opensource/.
+** If you are unsure which license is appropriate for your use, please
+** review the following information:
+** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
+** or contact the sales department at sales@trolltech.com.
+**
+** Licensees holding valid TQt Commercial licenses may use this file in
+** accordance with the TQt Commercial License Agreement provided with
+** the Software.
+**
+** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
+** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
+** herein.
+**
+**********************************************************************/
+
+#ifndef PREFERENCEINTERFACE_H
+#define PREFERENCEINTERFACE_H
+
+//
+// W A R N I N G -- PRIVATE INTERFACES
+// --------------------------------------
+//
+// This file and the interfaces declared in the file are not
+// public. It exists for internal purpose. This header file and
+// interfaces may change from version to version (even binary
+// incompatible) without notice, or even be removed.
+//
+// We mean it.
+//
+//
+
+#include <private/tqcom_p.h>
+#include <tqwidgetlist.h>
+#include <tqcstring.h>
+
+// {5c168ee7-4bee-469f-9995-6afdb04ce5a2}
+#ifndef IID_Preference
+#define IID_Preference TQUuid( 0x5c168ee7, 0x4bee, 0x469f, 0x99, 0x95, 0x6a, 0xfd, 0xb0, 0x4c, 0xe5, 0xa2 )
+#endif
+
+struct PreferenceInterface : public TQUnknownInterface
+{
+ struct Preference
+ {
+ TQWidget *tab;
+ TQString title;
+ TQObject *receiver;
+ const char *init_slot;
+ const char *accept_slot;
+ };
+
+ virtual Preference *preference() = 0;
+ virtual void connectTo( TQUnknownInterface *appInterface ) = 0;
+ virtual void deletePreferenceObject( Preference * ) = 0;
+};
+
+#endif
diff --git a/experimental/tqtinterface/qt4/tools/designer/interfaces/projectsettingsiface.h b/experimental/tqtinterface/qt4/tools/designer/interfaces/projectsettingsiface.h
new file mode 100644
index 000000000..203d79665
--- /dev/null
+++ b/experimental/tqtinterface/qt4/tools/designer/interfaces/projectsettingsiface.h
@@ -0,0 +1,76 @@
+ /**********************************************************************
+** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of TQt Designer.
+**
+** This file may be used under the terms of the GNU General
+** Public License versions 2.0 or 3.0 as published by the Free
+** Software Foundation and appearing in the files LICENSE.GPL2
+** and LICENSE.GPL3 included in the packaging of this file.
+** Alternatively you may (at your option) use any later version
+** of the GNU General Public License if such license has been
+** publicly approved by Trolltech ASA (or its successors, if any)
+** and the KDE Free TQt Foundation.
+**
+** Please review the following information to ensure GNU General
+** Public Licensing requirements will be met:
+** http://trolltech.com/products/qt/licenses/licensing/opensource/.
+** If you are unsure which license is appropriate for your use, please
+** review the following information:
+** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
+** or contact the sales department at sales@trolltech.com.
+**
+** Licensees holding valid TQt Commercial licenses may use this file in
+** accordance with the TQt Commercial License Agreement provided with
+** the Software.
+**
+** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
+** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
+** herein.
+**
+**********************************************************************/
+
+#ifndef PROJECTSETTINGSIFACE_H
+#define PROJECTSETTINGSIFACE_H
+
+//
+// W A R N I N G -- PRIVATE INTERFACES
+// --------------------------------------
+//
+// This file and the interfaces declared in the file are not
+// public. It exists for internal purpose. This header file and
+// interfaces may change from version to version (even binary
+// incompatible) without notice, or even be removed.
+//
+// We mean it.
+//
+//
+
+#include <private/tqcom_p.h>
+#include <tqwidgetlist.h>
+#include <tqcstring.h>
+
+// {d332785d-17fb-4894-84fe-50dbd0ad9512}
+#ifndef IID_ProjectSettings
+#define IID_ProjectSettings TQUuid( 0xd332785d, 0x17fb, 0x4894, 0x84, 0xfe, 0x50, 0xdb, 0xd0, 0xad, 0x95, 0x12 )
+#endif
+
+struct ProjectSettingsInterface : public TQUnknownInterface
+{
+ struct ProjectSettings
+ {
+ TQWidget *tab;
+ TQString title;
+ TQObject *receiver;
+ const char *init_slot;
+ const char *accept_slot;
+ };
+
+ virtual ProjectSettings *projectSetting() = 0;
+ virtual TQStringList projectSettings() const = 0;
+ virtual void connectTo( TQUnknownInterface *appInterface ) = 0;
+ virtual void deleteProjectSettingsObject( ProjectSettings * ) = 0;
+};
+
+#endif
diff --git a/experimental/tqtinterface/qt4/tools/designer/interfaces/sourcetemplateiface.h b/experimental/tqtinterface/qt4/tools/designer/interfaces/sourcetemplateiface.h
new file mode 100644
index 000000000..489254540
--- /dev/null
+++ b/experimental/tqtinterface/qt4/tools/designer/interfaces/sourcetemplateiface.h
@@ -0,0 +1,72 @@
+ /**********************************************************************
+** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of TQt Designer.
+**
+** This file may be used under the terms of the GNU General
+** Public License versions 2.0 or 3.0 as published by the Free
+** Software Foundation and appearing in the files LICENSE.GPL2
+** and LICENSE.GPL3 included in the packaging of this file.
+** Alternatively you may (at your option) use any later version
+** of the GNU General Public License if such license has been
+** publicly approved by Trolltech ASA (or its successors, if any)
+** and the KDE Free TQt Foundation.
+**
+** Please review the following information to ensure GNU General
+** Public Licensing requirements will be met:
+** http://trolltech.com/products/qt/licenses/licensing/opensource/.
+** If you are unsure which license is appropriate for your use, please
+** review the following information:
+** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
+** or contact the sales department at sales@trolltech.com.
+**
+** Licensees holding valid TQt Commercial licenses may use this file in
+** accordance with the TQt Commercial License Agreement provided with
+** the Software.
+**
+** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
+** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
+** herein.
+**
+**********************************************************************/
+
+#ifndef SOURCETEMPLATEIFACE_H
+#define SOURCETEMPLATEIFACE_H
+
+//
+// W A R N I N G -- PRIVATE INTERFACES
+// --------------------------------------
+//
+// This file and the interfaces declared in the file are not
+// public. It exists for internal purpose. This header file and
+// interfaces may change from version to version (even binary
+// incompatible) without notice, or even be removed.
+//
+// We mean it.
+//
+//
+
+#include <private/tqcom_p.h>
+#include <tqstring.h>
+
+// {1b3446a4-1c71-424b-8789-1f34eb5697d8}
+#ifndef IID_SourceTemplate
+#define IID_SourceTemplate TQUuid( 0x1b3446a4, 0x1c71, 0x424b, 0x87, 0x89, 0x1f, 0x34, 0xeb, 0x56, 0x97, 0xd8 )
+#endif
+
+struct SourceTemplateInterface : public TQFeatureListInterface
+{
+ struct Source
+ {
+ TQString code;
+ enum Type { FileName, Unnamed, Invalid } type;
+ TQString filename;
+ TQString extension;
+ };
+ virtual Source create( const TQString &templ, TQUnknownInterface *appIface ) = 0;
+ virtual TQString language( const TQString &templ ) const = 0;
+
+};
+
+#endif
diff --git a/experimental/tqtinterface/qt4/tools/designer/interfaces/templatewizardiface.h b/experimental/tqtinterface/qt4/tools/designer/interfaces/templatewizardiface.h
new file mode 100644
index 000000000..1cd80eb8f
--- /dev/null
+++ b/experimental/tqtinterface/qt4/tools/designer/interfaces/templatewizardiface.h
@@ -0,0 +1,67 @@
+ /**********************************************************************
+** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of TQt Designer.
+**
+** This file may be used under the terms of the GNU General
+** Public License versions 2.0 or 3.0 as published by the Free
+** Software Foundation and appearing in the files LICENSE.GPL2
+** and LICENSE.GPL3 included in the packaging of this file.
+** Alternatively you may (at your option) use any later version
+** of the GNU General Public License if such license has been
+** publicly approved by Trolltech ASA (or its successors, if any)
+** and the KDE Free TQt Foundation.
+**
+** Please review the following information to ensure GNU General
+** Public Licensing requirements will be met:
+** http://trolltech.com/products/qt/licenses/licensing/opensource/.
+** If you are unsure which license is appropriate for your use, please
+** review the following information:
+** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
+** or contact the sales department at sales@trolltech.com.
+**
+** Licensees holding valid TQt Commercial licenses may use this file in
+** accordance with the TQt Commercial License Agreement provided with
+** the Software.
+**
+** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
+** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
+** herein.
+**
+**********************************************************************/
+
+#ifndef TEMPLATEWIZARDIFACE_H
+#define TEMPLATEWIZARDIFACE_H
+
+//
+// W A R N I N G -- PRIVATE INTERFACES
+// --------------------------------------
+//
+// This file and the interfaces declared in the file are not
+// public. It exists for internal purpose. This header file and
+// interfaces may change from version to version (even binary
+// incompatible) without notice, or even be removed.
+//
+// We mean it.
+//
+//
+
+#include <private/tqcom_p.h>
+
+class TQWidget;
+struct DesignerFormWindow;
+
+// {983d3eab-fea3-49cc-97ad-d8cc89b7c17b}
+#ifndef IID_TemplateWizard
+#define IID_TemplateWizard TQUuid( 0x983d3eab, 0xfea3, 0x49cc, 0x97, 0xad, 0xd8, 0xcc, 0x89, 0xb7, 0xc1, 0x7b )
+#endif
+
+class TemplateWizardInterface : public TQFeatureListInterface
+{
+public:
+ virtual void setup( const TQString &templ, TQWidget *widget, DesignerFormWindow *fw, TQUnknownInterface *appIface ) = 0;
+
+};
+
+#endif
diff --git a/experimental/tqtinterface/qt4/tools/designer/interfaces/widgetinterface.h b/experimental/tqtinterface/qt4/tools/designer/interfaces/widgetinterface.h
new file mode 100644
index 000000000..ffb2c7a7d
--- /dev/null
+++ b/experimental/tqtinterface/qt4/tools/designer/interfaces/widgetinterface.h
@@ -0,0 +1,42 @@
+ /**********************************************************************
+** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of TQt Designer.
+**
+** This file may be used under the terms of the GNU General
+** Public License versions 2.0 or 3.0 as published by the Free
+** Software Foundation and appearing in the files LICENSE.GPL2
+** and LICENSE.GPL3 included in the packaging of this file.
+** Alternatively you may (at your option) use any later version
+** of the GNU General Public License if such license has been
+** publicly approved by Trolltech ASA (or its successors, if any)
+** and the KDE Free TQt Foundation.
+**
+** Please review the following information to ensure GNU General
+** Public Licensing requirements will be met:
+** http://trolltech.com/products/qt/licenses/licensing/opensource/.
+** If you are unsure which license is appropriate for your use, please
+** review the following information:
+** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
+** or contact the sales department at sales@trolltech.com.
+**
+** Licensees holding valid TQt Commercial licenses may use this file in
+** accordance with the TQt Commercial License Agreement provided with
+** the Software.
+**
+** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
+** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
+** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
+** herein.
+**
+**********************************************************************/
+
+#ifndef WIDGETINTERFACE_H
+#define WIDGETINTERFACE_H
+
+#include <private/tqwidgetinterface_p.h>
+
+#define WidgetInterface TQWidgetFactoryInterface
+#define IID_Widget IID_TQWidgetFactory
+
+#endif