summaryrefslogtreecommitdiffstats
path: root/tdevdesigner/interfaces
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2014-05-25 15:37:31 +0900
committerMichele Calgaro <[email protected]>2014-05-25 15:37:31 +0900
commit6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch)
treeab69e390f7962b7e7dda1a3a64f035c61c751cf4 /tdevdesigner/interfaces
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'tdevdesigner/interfaces')
-rw-r--r--tdevdesigner/interfaces/actioninterface.h78
-rw-r--r--tdevdesigner/interfaces/classbrowserinterface.h63
-rw-r--r--tdevdesigner/interfaces/designerinterface.h261
-rw-r--r--tdevdesigner/interfaces/editorinterface.h102
-rw-r--r--tdevdesigner/interfaces/filterinterface.h68
-rw-r--r--tdevdesigner/interfaces/interpreterinterface.h59
-rw-r--r--tdevdesigner/interfaces/languageinterface.h131
-rw-r--r--tdevdesigner/interfaces/preferenceinterface.h68
-rw-r--r--tdevdesigner/interfaces/projectsettingsiface.h69
-rw-r--r--tdevdesigner/interfaces/sourcetemplateiface.h65
-rw-r--r--tdevdesigner/interfaces/templatewizardiface.h60
-rw-r--r--tdevdesigner/interfaces/widgetinterface.h35
12 files changed, 0 insertions, 1059 deletions
diff --git a/tdevdesigner/interfaces/actioninterface.h b/tdevdesigner/interfaces/actioninterface.h
deleted file mode 100644
index cf217ee7..00000000
--- a/tdevdesigner/interfaces/actioninterface.h
+++ /dev/null
@@ -1,78 +0,0 @@
- /**********************************************************************
-** Copyright (C) 2000-2001 Trolltech AS. All rights reserved.
-**
-** This file is part of TQt Designer.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
-** 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
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-** See http://www.trolltech.com/gpl/ for GPL licensing information.
-** See http://www.trolltech.com/pricing.html or email [email protected] for
-** information about TQt Commercial License Agreements.
-**
-** Contact [email protected] if any conditions of this licensing are
-** not clear to you.
-**
-**********************************************************************/
-
-#ifndef ACTIONINTERFACE_H
-#define ACTIONINTERFACE_H
-
-#include <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 parent should be used as parent of the action.
-
- In the implementation return the TQAction object for the action
- \a name.
- */
- virtual TQAction* create( const TQString &name, TQObject* parent = 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/tdevdesigner/interfaces/classbrowserinterface.h b/tdevdesigner/interfaces/classbrowserinterface.h
deleted file mode 100644
index 99dc4911..00000000
--- a/tdevdesigner/interfaces/classbrowserinterface.h
+++ /dev/null
@@ -1,63 +0,0 @@
- /**********************************************************************
-** Copyright (C) 2000-2001 Trolltech AS. All rights reserved.
-**
-** This file is part of TQt Designer.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
-** 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
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-** See http://www.trolltech.com/gpl/ for GPL licensing information.
-** See http://www.trolltech.com/pricing.html or email [email protected] for
-** information about TQt Commercial License Agreements.
-**
-** Contact [email protected] if any conditions of this licensing are
-** not clear to you.
-**
-**********************************************************************/
-
-#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 <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 *parent ) 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/tdevdesigner/interfaces/designerinterface.h b/tdevdesigner/interfaces/designerinterface.h
deleted file mode 100644
index d5aeebf6..00000000
--- a/tdevdesigner/interfaces/designerinterface.h
+++ /dev/null
@@ -1,261 +0,0 @@
- /**********************************************************************
-** Copyright (C) 2000-2001 Trolltech AS. All rights reserved.
-**
-** This file is part of TQt Designer.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
-** 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
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-** See http://www.trolltech.com/gpl/ for GPL licensing information.
-** See http://www.trolltech.com/pricing.html or email [email protected] for
-** information about TQt Commercial License Agreements.
-**
-** Contact [email protected] if any conditions of this licensing are
-** not clear to you.
-**
-**********************************************************************/
-
-#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 <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 showStatusMessage( 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 *parent, 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* parent, 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/tdevdesigner/interfaces/editorinterface.h b/tdevdesigner/interfaces/editorinterface.h
deleted file mode 100644
index 29055324..00000000
--- a/tdevdesigner/interfaces/editorinterface.h
+++ /dev/null
@@ -1,102 +0,0 @@
- /**********************************************************************
-** Copyright (C) 2000-2001 Trolltech AS. All rights reserved.
-**
-** This file is part of TQt Designer.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
-** 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
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-** See http://www.trolltech.com/gpl/ for GPL licensing information.
-** See http://www.trolltech.com/pricing.html or email [email protected] for
-** information about TQt Commercial License Agreements.
-**
-** Contact [email protected] if any conditions of this licensing are
-** not clear to you.
-**
-**********************************************************************/
-
-#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 <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 *parent,
- 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 find( const TQString &expr, bool cs, bool wo, bool forward, bool startAtCursor ) = 0;
- virtual bool replace( const TQString &find, const TQString &replace, bool cs, bool wo, bool forward, bool startAtCursor, bool replaceAll ) = 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/tdevdesigner/interfaces/filterinterface.h b/tdevdesigner/interfaces/filterinterface.h
deleted file mode 100644
index 6af54bcb..00000000
--- a/tdevdesigner/interfaces/filterinterface.h
+++ /dev/null
@@ -1,68 +0,0 @@
- /**********************************************************************
-** Copyright (C) 2000-2001 Trolltech AS. All rights reserved.
-**
-** This file is part of TQt Designer.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
-** 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
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-** See http://www.trolltech.com/gpl/ for GPL licensing information.
-** See http://www.trolltech.com/pricing.html or email [email protected] for
-** information about TQt Commercial License Agreements.
-**
-** Contact [email protected] if any conditions of this licensing are
-** not clear to you.
-**
-**********************************************************************/
-
-#ifndef FILTERINTERFACE_H
-#define FILTERINTERFACE_H
-
-#include <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/tdevdesigner/interfaces/interpreterinterface.h b/tdevdesigner/interfaces/interpreterinterface.h
deleted file mode 100644
index 45ba9e12..00000000
--- a/tdevdesigner/interfaces/interpreterinterface.h
+++ /dev/null
@@ -1,59 +0,0 @@
- /**********************************************************************
-** Copyright (C) 2000-2001 Trolltech AS. All rights reserved.
-**
-** This file is part of TQt Designer.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
-** 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
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-** See http://www.trolltech.com/gpl/ for GPL licensing information.
-** See http://www.trolltech.com/pricing.html or email [email protected] for
-** information about TQt Commercial License Agreements.
-**
-** Contact [email protected] if any conditions of this licensing are
-** not clear to you.
-**
-**********************************************************************/
-
-#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 <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/tdevdesigner/interfaces/languageinterface.h b/tdevdesigner/interfaces/languageinterface.h
deleted file mode 100644
index 9d1f7e3d..00000000
--- a/tdevdesigner/interfaces/languageinterface.h
+++ /dev/null
@@ -1,131 +0,0 @@
- /**********************************************************************
-** Copyright (C) 2000-2001 Trolltech AS. All rights reserved.
-**
-** This file is part of TQt Designer.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
-** 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
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-** See http://www.trolltech.com/gpl/ for GPL licensing information.
-** See http://www.trolltech.com/pricing.html or email [email protected] for
-** information about TQt Commercial License Agreements.
-**
-** Contact [email protected] if any conditions of this licensing are
-** not clear to you.
-**
-**********************************************************************/
-
-#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 <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/tdevdesigner/interfaces/preferenceinterface.h b/tdevdesigner/interfaces/preferenceinterface.h
deleted file mode 100644
index 5b356c4b..00000000
--- a/tdevdesigner/interfaces/preferenceinterface.h
+++ /dev/null
@@ -1,68 +0,0 @@
- /**********************************************************************
-** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
-**
-** This file is part of TQt Designer.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
-** 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
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-** See http://www.trolltech.com/gpl/ for GPL licensing information.
-** See http://www.trolltech.com/pricing.html or email [email protected] for
-** information about TQt Commercial License Agreements.
-**
-** Contact [email protected] if any conditions of this licensing are
-** not clear to you.
-**
-**********************************************************************/
-
-#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 <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/tdevdesigner/interfaces/projectsettingsiface.h b/tdevdesigner/interfaces/projectsettingsiface.h
deleted file mode 100644
index e47f8ae7..00000000
--- a/tdevdesigner/interfaces/projectsettingsiface.h
+++ /dev/null
@@ -1,69 +0,0 @@
- /**********************************************************************
-** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
-**
-** This file is part of TQt Designer.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
-** 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
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-** See http://www.trolltech.com/gpl/ for GPL licensing information.
-** See http://www.trolltech.com/pricing.html or email [email protected] for
-** information about TQt Commercial License Agreements.
-**
-** Contact [email protected] if any conditions of this licensing are
-** not clear to you.
-**
-**********************************************************************/
-
-#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 <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/tdevdesigner/interfaces/sourcetemplateiface.h b/tdevdesigner/interfaces/sourcetemplateiface.h
deleted file mode 100644
index 8d914625..00000000
--- a/tdevdesigner/interfaces/sourcetemplateiface.h
+++ /dev/null
@@ -1,65 +0,0 @@
- /**********************************************************************
-** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
-**
-** This file is part of TQt Designer.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
-** 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
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-** See http://www.trolltech.com/gpl/ for GPL licensing information.
-** See http://www.trolltech.com/pricing.html or email [email protected] for
-** information about TQt Commercial License Agreements.
-**
-** Contact [email protected] if any conditions of this licensing are
-** not clear to you.
-**
-**********************************************************************/
-
-#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 <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/tdevdesigner/interfaces/templatewizardiface.h b/tdevdesigner/interfaces/templatewizardiface.h
deleted file mode 100644
index be1c57f1..00000000
--- a/tdevdesigner/interfaces/templatewizardiface.h
+++ /dev/null
@@ -1,60 +0,0 @@
- /**********************************************************************
-** Copyright (C) 2000-2001 Trolltech AS. All rights reserved.
-**
-** This file is part of TQt Designer.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
-** 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
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-** See http://www.trolltech.com/gpl/ for GPL licensing information.
-** See http://www.trolltech.com/pricing.html or email [email protected] for
-** information about TQt Commercial License Agreements.
-**
-** Contact [email protected] if any conditions of this licensing are
-** not clear to you.
-**
-**********************************************************************/
-
-#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 <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/tdevdesigner/interfaces/widgetinterface.h b/tdevdesigner/interfaces/widgetinterface.h
deleted file mode 100644
index 5f0312f8..00000000
--- a/tdevdesigner/interfaces/widgetinterface.h
+++ /dev/null
@@ -1,35 +0,0 @@
- /**********************************************************************
-** Copyright (C) 2000-2001 Trolltech AS. All rights reserved.
-**
-** This file is part of TQt Designer.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
-** 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
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-** See http://www.trolltech.com/gpl/ for GPL licensing information.
-** See http://www.trolltech.com/pricing.html or email [email protected] for
-** information about TQt Commercial License Agreements.
-**
-** Contact [email protected] if any conditions of this licensing are
-** not clear to you.
-**
-**********************************************************************/
-
-#ifndef WIDGETINTERFACE_H
-#define WIDGETINTERFACE_H
-
-#include <tqwidgetinterface_p.h>
-
-#define WidgetInterface TQWidgetFactoryInterface
-#define IID_Widget IID_TQWidgetFactory
-
-#endif