diff options
Diffstat (limited to 'kdevdesigner/designer')
55 files changed, 116 insertions, 116 deletions
diff --git a/kdevdesigner/designer/actiondnd.h b/kdevdesigner/designer/actiondnd.h index 0050ace8..1e9f68b0 100644 --- a/kdevdesigner/designer/actiondnd.h +++ b/kdevdesigner/designer/actiondnd.h @@ -46,7 +46,7 @@ class TQPopupMenu; class QDesignerIndicatorWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: QDesignerIndicatorWidget( TQWidget *p ) @@ -59,7 +59,7 @@ public: class ActionDrag : public TQStoredDrag { Q_OBJECT - TQ_OBJECT + public: ActionDrag(const TQString &type, TQAction *action, TQWidget *source); @@ -82,7 +82,7 @@ private: class QDesignerActionGroup : public TQActionGroup { Q_OBJECT - TQ_OBJECT + public: QDesignerActionGroup( TQObject *parent ) @@ -118,7 +118,7 @@ private: class QDesignerAction : public TQAction { Q_OBJECT - TQ_OBJECT + public: QDesignerAction( TQObject *parent ) @@ -155,7 +155,7 @@ private: class QDesignerToolBarSeparator : public TQWidget { Q_OBJECT - TQ_OBJECT + public: QDesignerToolBarSeparator( Qt::Orientation, TQToolBar *parent, const char* name=0 ); @@ -175,7 +175,7 @@ private: class QSeparatorAction : public TQAction { Q_OBJECT - TQ_OBJECT + public: QSeparatorAction( TQObject *parent ); @@ -195,7 +195,7 @@ private: class QDesignerToolBar : public TQToolBar { Q_OBJECT - TQ_OBJECT + public: QDesignerToolBar( TQMainWindow *mw ); diff --git a/kdevdesigner/designer/actioneditorimpl.h b/kdevdesigner/designer/actioneditorimpl.h index a3c804bf..9e67ed9a 100644 --- a/kdevdesigner/designer/actioneditorimpl.h +++ b/kdevdesigner/designer/actioneditorimpl.h @@ -38,7 +38,7 @@ class ActionItem; class ActionEditor : public ActionEditorBase { Q_OBJECT - TQ_OBJECT + public: ActionEditor( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); diff --git a/kdevdesigner/designer/actionlistview.h b/kdevdesigner/designer/actionlistview.h index 313f5096..047b21bd 100644 --- a/kdevdesigner/designer/actionlistview.h +++ b/kdevdesigner/designer/actionlistview.h @@ -59,7 +59,7 @@ private: class ActionListView : public TQListView { Q_OBJECT - TQ_OBJECT + public: ActionListView( TQWidget *parent = 0, const char *name = 0 ); diff --git a/kdevdesigner/designer/asciivalidator.h b/kdevdesigner/designer/asciivalidator.h index cb5dbc27..a284f6ab 100644 --- a/kdevdesigner/designer/asciivalidator.h +++ b/kdevdesigner/designer/asciivalidator.h @@ -34,7 +34,7 @@ class AsciiValidator: public TQValidator { Q_OBJECT - TQ_OBJECT + public: AsciiValidator( TQObject * parent, const char *name = 0 ); AsciiValidator( bool funcName, TQObject * parent, const char *name = 0 ); diff --git a/kdevdesigner/designer/command.h b/kdevdesigner/designer/command.h index b2c2d161..b1c7a2a5 100644 --- a/kdevdesigner/designer/command.h +++ b/kdevdesigner/designer/command.h @@ -150,7 +150,7 @@ private: class CommandHistory : public TQObject { Q_OBJECT - TQ_OBJECT + public: CommandHistory( int s ); diff --git a/kdevdesigner/designer/connectionitems.h b/kdevdesigner/designer/connectionitems.h index 76c57065..fe5e276d 100644 --- a/kdevdesigner/designer/connectionitems.h +++ b/kdevdesigner/designer/connectionitems.h @@ -42,7 +42,7 @@ class ConnectionItem : public TQObject, public TQComboTableItem { Q_OBJECT - TQ_OBJECT + public: ConnectionItem( TQTable *table, FormWindow *fw ); @@ -78,7 +78,7 @@ private: class SenderItem : public ConnectionItem { Q_OBJECT - TQ_OBJECT + public: SenderItem( TQTable *table, FormWindow *fw ); @@ -98,7 +98,7 @@ private slots: class ReceiverItem : public ConnectionItem { Q_OBJECT - TQ_OBJECT + public: ReceiverItem( TQTable *table, FormWindow *fw ); @@ -118,7 +118,7 @@ private slots: class SignalItem : public ConnectionItem { Q_OBJECT - TQ_OBJECT + public: SignalItem( TQTable *table, FormWindow *fw ); @@ -136,7 +136,7 @@ signals: class SlotItem : public ConnectionItem { Q_OBJECT - TQ_OBJECT + public: SlotItem( TQTable *table, FormWindow *fw ); @@ -165,7 +165,7 @@ private: class ConnectionContainer : public TQObject { Q_OBJECT - TQ_OBJECT + public: ConnectionContainer( TQObject *parent, SenderItem *i1, SignalItem *i2, diff --git a/kdevdesigner/designer/connectiontable.h b/kdevdesigner/designer/connectiontable.h index 01c2f119..60b84426 100644 --- a/kdevdesigner/designer/connectiontable.h +++ b/kdevdesigner/designer/connectiontable.h @@ -32,7 +32,7 @@ class ConnectionTable : public TQTable { Q_OBJECT - TQ_OBJECT + public: ConnectionTable( TQWidget *parent, const char *name ); diff --git a/kdevdesigner/designer/customwidgeteditorimpl.h b/kdevdesigner/designer/customwidgeteditorimpl.h index e367b37c..9e53b2ce 100644 --- a/kdevdesigner/designer/customwidgeteditorimpl.h +++ b/kdevdesigner/designer/customwidgeteditorimpl.h @@ -40,7 +40,7 @@ class MainWindow; class CustomWidgetEditor : public CustomWidgetEditorBase { Q_OBJECT - TQ_OBJECT + public: CustomWidgetEditor( TQWidget *parent , MainWindow *mw); diff --git a/kdevdesigner/designer/database.h b/kdevdesigner/designer/database.h index 4f817e31..cbde491f 100644 --- a/kdevdesigner/designer/database.h +++ b/kdevdesigner/designer/database.h @@ -59,7 +59,7 @@ protected: class QDesignerDataBrowser : public TQDataBrowser, public DatabaseSupport { Q_OBJECT - TQ_OBJECT + public: QDesignerDataBrowser( TQWidget *parent, const char *name ); @@ -71,7 +71,7 @@ protected: class QDesignerDataView : public TQDataView, public DatabaseSupport { Q_OBJECT - TQ_OBJECT + public: QDesignerDataView( TQWidget *parent, const char *name ); diff --git a/kdevdesigner/designer/dbconnectionimpl.h b/kdevdesigner/designer/dbconnectionimpl.h index be96aeb1..e2db2286 100644 --- a/kdevdesigner/designer/dbconnectionimpl.h +++ b/kdevdesigner/designer/dbconnectionimpl.h @@ -36,7 +36,7 @@ class TQGridLayout; class DatabaseConnectionEditor : public DatabaseConnectionEditorBase { Q_OBJECT - TQ_OBJECT + public: DatabaseConnectionEditor( DatabaseConnection* connection, TQWidget* parent = 0, diff --git a/kdevdesigner/designer/dbconnectionsimpl.h b/kdevdesigner/designer/dbconnectionsimpl.h index 5bc4238b..e06cc06a 100644 --- a/kdevdesigner/designer/dbconnectionsimpl.h +++ b/kdevdesigner/designer/dbconnectionsimpl.h @@ -35,7 +35,7 @@ class Project; class DatabaseConnectionsEditor : public DatabaseConnectionBase { Q_OBJECT - TQ_OBJECT + public: DatabaseConnectionsEditor( Project *pro, TQWidget* parent = 0, diff --git a/kdevdesigner/designer/designeraction.h b/kdevdesigner/designer/designeraction.h index a294698a..85efef6b 100644 --- a/kdevdesigner/designer/designeraction.h +++ b/kdevdesigner/designer/designeraction.h @@ -25,7 +25,7 @@ class DesignerAction : public TQAction { Q_OBJECT - TQ_OBJECT + public: DesignerAction(TQObject *parent = 0, const char *name = 0) :TQAction(parent, name) {} diff --git a/kdevdesigner/designer/editfunctionsimpl.h b/kdevdesigner/designer/editfunctionsimpl.h index fff7b37f..0d4259dc 100644 --- a/kdevdesigner/designer/editfunctionsimpl.h +++ b/kdevdesigner/designer/editfunctionsimpl.h @@ -38,7 +38,7 @@ class TQListViewItem; class EditFunctions : public EditFunctionsBase { Q_OBJECT - TQ_OBJECT + public: EditFunctions( TQWidget *parent, FormWindow *fw, bool showOnlySlots = FALSE ); diff --git a/kdevdesigner/designer/filechooser.h b/kdevdesigner/designer/filechooser.h index a08c2aa1..b4056a07 100644 --- a/kdevdesigner/designer/filechooser.h +++ b/kdevdesigner/designer/filechooser.h @@ -35,7 +35,7 @@ class TQPushButton; class FileChooser : public TQWidget { Q_OBJECT - TQ_OBJECT + Q_ENUMS( Mode ) TQ_PROPERTY( Mode mode READ mode WRITE setMode ) diff --git a/kdevdesigner/designer/formfile.h b/kdevdesigner/designer/formfile.h index f6d71a26..79f92d16 100644 --- a/kdevdesigner/designer/formfile.h +++ b/kdevdesigner/designer/formfile.h @@ -38,7 +38,7 @@ class SourceEditor; class FormFile : public TQObject { Q_OBJECT - TQ_OBJECT + friend class SourceEditor; public: diff --git a/kdevdesigner/designer/formsettingsimpl.h b/kdevdesigner/designer/formsettingsimpl.h index e1511b99..3dcb6dd7 100644 --- a/kdevdesigner/designer/formsettingsimpl.h +++ b/kdevdesigner/designer/formsettingsimpl.h @@ -34,7 +34,7 @@ class FormWindow; class FormSettings : public FormSettingsBase { Q_OBJECT - TQ_OBJECT + public: FormSettings( TQWidget *parent, FormWindow *fw ); diff --git a/kdevdesigner/designer/formwindow.h b/kdevdesigner/designer/formwindow.h index 1b27f762..d4295e7e 100644 --- a/kdevdesigner/designer/formwindow.h +++ b/kdevdesigner/designer/formwindow.h @@ -65,7 +65,7 @@ class OrderIndicator; class FormWindow : public TQWidget { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( TQString fileName READ fileName WRITE setFileName ) public: diff --git a/kdevdesigner/designer/hierarchyview.h b/kdevdesigner/designer/hierarchyview.h index 6ace03d1..cb21ed50 100644 --- a/kdevdesigner/designer/hierarchyview.h +++ b/kdevdesigner/designer/hierarchyview.h @@ -98,7 +98,7 @@ private: class HierarchyList : public TQListView { Q_OBJECT - TQ_OBJECT + public: HierarchyList( TQWidget *parent, FormWindow *fw, bool doConnects = TRUE ); @@ -156,7 +156,7 @@ protected: class FormDefinitionView : public HierarchyList { Q_OBJECT - TQ_OBJECT + public: FormDefinitionView( TQWidget *parent, FormWindow *fw ); @@ -190,7 +190,7 @@ private: class HierarchyView : public TQTabWidget { Q_OBJECT - TQ_OBJECT + public: HierarchyView( TQWidget *parent ); diff --git a/kdevdesigner/designer/iconvieweditorimpl.h b/kdevdesigner/designer/iconvieweditorimpl.h index aae7fb7d..969c9cf4 100644 --- a/kdevdesigner/designer/iconvieweditorimpl.h +++ b/kdevdesigner/designer/iconvieweditorimpl.h @@ -34,7 +34,7 @@ class FormWindow; class IconViewEditor : public IconViewEditorBase { Q_OBJECT - TQ_OBJECT + public: IconViewEditor( TQWidget *parent, TQWidget *editWidget, FormWindow *fw ); diff --git a/kdevdesigner/designer/kdevdesigner_part.h b/kdevdesigner/designer/kdevdesigner_part.h index 4a98f1a7..3754dfd0 100644 --- a/kdevdesigner/designer/kdevdesigner_part.h +++ b/kdevdesigner/designer/kdevdesigner_part.h @@ -39,7 +39,7 @@ class KRadioAction; class KDevDesignerPart : public KInterfaceDesigner::Designer { Q_OBJECT - TQ_OBJECT + public: KDevDesignerPart(TQWidget *parentWidget, const char *widgetName, TQObject *parent, const char *name, const TQStringList &args); @@ -131,7 +131,7 @@ class KAboutData; class KDevDesignerPartFactory : public KParts::Factory { Q_OBJECT - TQ_OBJECT + public: KDevDesignerPartFactory(); virtual ~KDevDesignerPartFactory(); diff --git a/kdevdesigner/designer/layout.h b/kdevdesigner/designer/layout.h index 34891ae0..d9870f55 100644 --- a/kdevdesigner/designer/layout.h +++ b/kdevdesigner/designer/layout.h @@ -41,7 +41,7 @@ class TQPaintEvent; class Layout : public TQObject { Q_OBJECT - TQ_OBJECT + public: Layout( const TQWidgetList &wl, TQWidget *p, FormWindow *fw, TQWidget *lb, bool doSetup = TRUE, bool splitter = FALSE ); @@ -119,7 +119,7 @@ protected: class Spacer : public TQWidget { Q_OBJECT - TQ_OBJECT + TQ_OVERRIDE( TQCString name ) TQ_PROPERTY( Qt::Orientation orientation READ orientation WRITE setOrientation ) @@ -164,7 +164,7 @@ protected: class QDesignerGridLayout : public TQGridLayout { Q_OBJECT - TQ_OBJECT + public: QDesignerGridLayout( TQWidget *parent ) : TQGridLayout( parent ){}; QDesignerGridLayout( TQLayout *parentLayout ) : TQGridLayout( parentLayout ){}; diff --git a/kdevdesigner/designer/listboxdnd.h b/kdevdesigner/designer/listboxdnd.h index b4da4d39..5abf792f 100644 --- a/kdevdesigner/designer/listboxdnd.h +++ b/kdevdesigner/designer/listboxdnd.h @@ -36,7 +36,7 @@ typedef TQPtrList<TQListBoxItem> ListBoxItemList; class ListBoxDnd : public ListDnd { Q_OBJECT - TQ_OBJECT + public: // dragModes are enumerated in ListDnd ListBoxDnd( TQListBox * eventSource, const char * name = 0 ); diff --git a/kdevdesigner/designer/listboxeditorimpl.h b/kdevdesigner/designer/listboxeditorimpl.h index 8a3595bb..28ca0254 100644 --- a/kdevdesigner/designer/listboxeditorimpl.h +++ b/kdevdesigner/designer/listboxeditorimpl.h @@ -35,7 +35,7 @@ class FormWindow; class ListBoxEditor : public ListBoxEditorBase { Q_OBJECT - TQ_OBJECT + public: ListBoxEditor( TQWidget *parent, TQWidget *editWidget, FormWindow *fw ); diff --git a/kdevdesigner/designer/listboxrename.h b/kdevdesigner/designer/listboxrename.h index 80b339a1..ec666f70 100644 --- a/kdevdesigner/designer/listboxrename.h +++ b/kdevdesigner/designer/listboxrename.h @@ -35,7 +35,7 @@ class TQLineEdit; class ListBoxRename : public TQObject { Q_OBJECT - TQ_OBJECT + public: ListBoxRename( TQListBox * eventSource, const char * name = 0 ); bool eventFilter( TQObject *, TQEvent * event ); diff --git a/kdevdesigner/designer/listdnd.h b/kdevdesigner/designer/listdnd.h index 6adf1f24..39e1af11 100644 --- a/kdevdesigner/designer/listdnd.h +++ b/kdevdesigner/designer/listdnd.h @@ -33,7 +33,7 @@ class ListDnd : public TQObject { Q_OBJECT - TQ_OBJECT + public: enum DragMode { None = 0, External = 1, Internal = 2, Both = 3, Move = 4, NullDrop = 8 }; ListDnd( TQScrollView * eventSource, const char * name = 0 ); diff --git a/kdevdesigner/designer/listviewdnd.h b/kdevdesigner/designer/listviewdnd.h index 86c879ac..5a59f4ad 100644 --- a/kdevdesigner/designer/listviewdnd.h +++ b/kdevdesigner/designer/listviewdnd.h @@ -38,7 +38,7 @@ typedef TQPtrList<TQListViewItem> ListViewItemList; class ListViewDnd : public ListDnd { Q_OBJECT - TQ_OBJECT + public: enum DragMode { Flat = 16 }; // see ListDnd::DragMode diff --git a/kdevdesigner/designer/listvieweditorimpl.h b/kdevdesigner/designer/listvieweditorimpl.h index 750dd280..64048c9d 100644 --- a/kdevdesigner/designer/listvieweditorimpl.h +++ b/kdevdesigner/designer/listvieweditorimpl.h @@ -38,7 +38,7 @@ class FormWindow; class ListViewEditor : public ListViewEditorBase { Q_OBJECT - TQ_OBJECT + public: ListViewEditor( TQWidget *parent, TQListView *lv, FormWindow *fw ); diff --git a/kdevdesigner/designer/mainwindow.h b/kdevdesigner/designer/mainwindow.h index c38c7951..1b68c14d 100644 --- a/kdevdesigner/designer/mainwindow.h +++ b/kdevdesigner/designer/mainwindow.h @@ -80,7 +80,7 @@ class KDevDesignerPart; class MainWindow : public TQMainWindow { Q_OBJECT - TQ_OBJECT + public: enum LineMode { Error, Step, StackFrame }; @@ -491,7 +491,7 @@ friend class KDevDesignerPart; class SenderObject : public TQObject { Q_OBJECT - TQ_OBJECT + public: SenderObject( TQUnknownInterface *i ) : iface( i ) { iface->addRef(); } diff --git a/kdevdesigner/designer/menubareditor.h b/kdevdesigner/designer/menubareditor.h index ec933d0b..f6279f2b 100644 --- a/kdevdesigner/designer/menubareditor.h +++ b/kdevdesigner/designer/menubareditor.h @@ -37,7 +37,7 @@ class TQActionGroup; class MenuBarEditorItem : public TQObject { Q_OBJECT - TQ_OBJECT + friend class MenuBarEditor; @@ -82,7 +82,7 @@ class FormWindow; class MenuBarEditor : public TQMenuBar { Q_OBJECT - TQ_OBJECT + public: MenuBarEditor( FormWindow * fw, TQWidget * parent = 0, const char * name = 0 ); diff --git a/kdevdesigner/designer/multilineeditorimpl.h b/kdevdesigner/designer/multilineeditorimpl.h index 4756f37c..34d47b3e 100644 --- a/kdevdesigner/designer/multilineeditorimpl.h +++ b/kdevdesigner/designer/multilineeditorimpl.h @@ -39,7 +39,7 @@ class TQTextDocument; class TextEdit : public TQTextEdit { Q_OBJECT - TQ_OBJECT + public: TextEdit( TQWidget *parent = 0, const char *name = 0 ); @@ -51,7 +51,7 @@ public: class ToolBarItem : public TQAction { Q_OBJECT - TQ_OBJECT + public: ToolBarItem( TQWidget *parent, TQWidget *toolBar, @@ -71,7 +71,7 @@ private: class MultiLineEditor : public MultiLineEditorBase { Q_OBJECT - TQ_OBJECT + public: MultiLineEditor( bool call_static, bool richtextMode, TQWidget *parent, TQWidget *editWidget, diff --git a/kdevdesigner/designer/newformimpl.h b/kdevdesigner/designer/newformimpl.h index d8206bff..863f5b9d 100644 --- a/kdevdesigner/designer/newformimpl.h +++ b/kdevdesigner/designer/newformimpl.h @@ -143,7 +143,7 @@ private: class NewForm : public NewFormBase { Q_OBJECT - TQ_OBJECT + public: NewForm( TQIconView *templateView, const TQString &templatePath ); diff --git a/kdevdesigner/designer/orderindicator.h b/kdevdesigner/designer/orderindicator.h index f936ac6e..33e486d4 100644 --- a/kdevdesigner/designer/orderindicator.h +++ b/kdevdesigner/designer/orderindicator.h @@ -34,7 +34,7 @@ class FormWindow; class OrderIndicator : public TQWidget { Q_OBJECT - TQ_OBJECT + public: OrderIndicator( int i, TQWidget* w, FormWindow* fw ); diff --git a/kdevdesigner/designer/outputwindow.h b/kdevdesigner/designer/outputwindow.h index a3276da6..79b3e79a 100644 --- a/kdevdesigner/designer/outputwindow.h +++ b/kdevdesigner/designer/outputwindow.h @@ -62,7 +62,7 @@ private: class OutputWindow : public TQTabWidget { Q_OBJECT - TQ_OBJECT + public: OutputWindow( TQWidget *parent ); diff --git a/kdevdesigner/designer/paletteeditoradvancedimpl.h b/kdevdesigner/designer/paletteeditoradvancedimpl.h index 651c407b..1fb59912 100644 --- a/kdevdesigner/designer/paletteeditoradvancedimpl.h +++ b/kdevdesigner/designer/paletteeditoradvancedimpl.h @@ -34,7 +34,7 @@ class FormWindow; class PaletteEditorAdvanced : public PaletteEditorAdvancedBase { Q_OBJECT - TQ_OBJECT + public: PaletteEditorAdvanced( FormWindow *fw, TQWidget * parent=0, const char * name=0, bool modal=FALSE, WFlags f=0 ); diff --git a/kdevdesigner/designer/paletteeditorimpl.h b/kdevdesigner/designer/paletteeditorimpl.h index 285dc7a3..c1943a61 100644 --- a/kdevdesigner/designer/paletteeditorimpl.h +++ b/kdevdesigner/designer/paletteeditorimpl.h @@ -34,7 +34,7 @@ class FormWindow; class PaletteEditor : public PaletteEditorBase { Q_OBJECT - TQ_OBJECT + public: PaletteEditor( FormWindow *fw, TQWidget * parent=0, const char * name=0, bool modal=FALSE, WFlags f=0 ); diff --git a/kdevdesigner/designer/pixmapchooser.h b/kdevdesigner/designer/pixmapchooser.h index e30af751..c6523488 100644 --- a/kdevdesigner/designer/pixmapchooser.h +++ b/kdevdesigner/designer/pixmapchooser.h @@ -38,7 +38,7 @@ class PixmapView : public TQScrollView, public TQFilePreview { Q_OBJECT - TQ_OBJECT + public: PixmapView( TQWidget *parent ); @@ -54,7 +54,7 @@ private: class ImageIconProvider : public TQFileIconProvider { Q_OBJECT - TQ_OBJECT + public: ImageIconProvider( TQWidget *parent = 0, const char *name = 0 ); diff --git a/kdevdesigner/designer/popupmenueditor.h b/kdevdesigner/designer/popupmenueditor.h index 9ae4c7b0..714ecf42 100644 --- a/kdevdesigner/designer/popupmenueditor.h +++ b/kdevdesigner/designer/popupmenueditor.h @@ -37,7 +37,7 @@ class TQMenuItem; class PopupMenuEditorItem : public TQObject { Q_OBJECT - TQ_OBJECT + friend class PopupMenuEditor; @@ -101,7 +101,7 @@ class TQLineEdit; class PopupMenuEditor : public TQWidget { Q_OBJECT - TQ_OBJECT + friend class PopupMenuEditorItem; friend class MenuBarEditor; diff --git a/kdevdesigner/designer/previewframe.h b/kdevdesigner/designer/previewframe.h index 97d3741b..1883a062 100644 --- a/kdevdesigner/designer/previewframe.h +++ b/kdevdesigner/designer/previewframe.h @@ -35,7 +35,7 @@ class PreviewWorkspace : public TQWorkspace { Q_OBJECT - TQ_OBJECT + public: PreviewWorkspace( TQWidget* parent = 0, const char* name = 0 ) : TQWorkspace( parent, name ) {} @@ -48,7 +48,7 @@ protected: class PreviewFrame : public TQVBox { Q_OBJECT - TQ_OBJECT + public: PreviewFrame( TQWidget *parent = 0, const char *name = 0 ); diff --git a/kdevdesigner/designer/previewwidgetimpl.h b/kdevdesigner/designer/previewwidgetimpl.h index a10a4623..d8887bee 100644 --- a/kdevdesigner/designer/previewwidgetimpl.h +++ b/kdevdesigner/designer/previewwidgetimpl.h @@ -32,7 +32,7 @@ class PreviewWidget : public PreviewWidgetBase { Q_OBJECT - TQ_OBJECT + public: PreviewWidget( TQWidget *parent = 0, const char *name = 0 ); diff --git a/kdevdesigner/designer/project.h b/kdevdesigner/designer/project.h index ad3b1ba7..3e80428f 100644 --- a/kdevdesigner/designer/project.h +++ b/kdevdesigner/designer/project.h @@ -111,7 +111,7 @@ private: class Project : public TQObject { Q_OBJECT - TQ_OBJECT + friend class DatabaseConnection; public: diff --git a/kdevdesigner/designer/projectsettingsimpl.h b/kdevdesigner/designer/projectsettingsimpl.h index 5928a9a4..c1b7fb0c 100644 --- a/kdevdesigner/designer/projectsettingsimpl.h +++ b/kdevdesigner/designer/projectsettingsimpl.h @@ -37,7 +37,7 @@ class SourceFile; class ProjectSettings : public ProjectSettingsBase { Q_OBJECT - TQ_OBJECT + public: ProjectSettings( Project *pro, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); diff --git a/kdevdesigner/designer/propertyeditor.h b/kdevdesigner/designer/propertyeditor.h index 9e5c8cef..7b7eccd8 100644 --- a/kdevdesigner/designer/propertyeditor.h +++ b/kdevdesigner/designer/propertyeditor.h @@ -139,7 +139,7 @@ class PropertyTextItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyTextItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -176,7 +176,7 @@ class PropertyBoolItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyBoolItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, const TQString &propName ); @@ -201,7 +201,7 @@ class PropertyIntItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyIntItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -227,7 +227,7 @@ class PropertyLayoutItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyLayoutItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -252,7 +252,7 @@ class PropertyDoubleItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyDoubleItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -276,7 +276,7 @@ class PropertyListItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyListItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -312,7 +312,7 @@ class PropertyFontItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyFontItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, const TQString &propName ); @@ -342,7 +342,7 @@ class PropertyCoordItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: enum Type { Rect, Size, Point }; @@ -372,7 +372,7 @@ class PropertyColorItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyColorItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -407,7 +407,7 @@ class PropertyPixmapItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: enum Type { Pixmap, IconSet, Image }; @@ -440,7 +440,7 @@ class PropertySizePolicyItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertySizePolicyItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -467,7 +467,7 @@ class PropertyPaletteItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyPaletteItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -496,7 +496,7 @@ class PropertyCursorItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyCursorItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -521,7 +521,7 @@ class PropertyKeysequenceItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyKeysequenceItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -552,7 +552,7 @@ class PropertyDatabaseItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyDatabaseItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, const TQString &propName, bool wField ); @@ -590,7 +590,7 @@ struct EnumItem { class EnumPopup : public TQFrame { Q_OBJECT - TQ_OBJECT + public: EnumPopup( TQWidget *parent, const char *name, WFlags f=0 ); @@ -615,7 +615,7 @@ private: class EnumBox : public TQComboBox { Q_OBJECT - TQ_OBJECT + public: EnumBox( TQWidget *parent, const char *name = 0 ); @@ -650,7 +650,7 @@ class PropertyEnumItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyEnumItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -677,7 +677,7 @@ private: class PropertyList : public TQListView { Q_OBJECT - TQ_OBJECT + public: PropertyList( PropertyEditor *e ); @@ -740,7 +740,7 @@ private: class EventList : public HierarchyList { Q_OBJECT - TQ_OBJECT + public: EventList( TQWidget *parent, FormWindow *fw, PropertyEditor *e ); @@ -768,7 +768,7 @@ private: class PropertyEditor : public TQTabWidget { Q_OBJECT - TQ_OBJECT + public: PropertyEditor( TQWidget *parent ); @@ -820,7 +820,7 @@ class PropertyDateItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyDateItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, const TQString &propName ); @@ -844,7 +844,7 @@ class PropertyTimeItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyTimeItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, const TQString &propName ); @@ -868,7 +868,7 @@ class PropertyDateTimeItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyDateTimeItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, const TQString &propName ); diff --git a/kdevdesigner/designer/qcompletionedit.h b/kdevdesigner/designer/qcompletionedit.h index 08df157f..5c3f7fe1 100644 --- a/kdevdesigner/designer/qcompletionedit.h +++ b/kdevdesigner/designer/qcompletionedit.h @@ -36,7 +36,7 @@ class TQVBox; class QCompletionEdit : public TQLineEdit { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( bool autoAdd READ autoAdd WRITE setAutoAdd ) TQ_PROPERTY( bool caseSensitive READ isCaseSensitive WRITE setCaseSensitive ) diff --git a/kdevdesigner/designer/sizehandle.h b/kdevdesigner/designer/sizehandle.h index 12cba4df..44917884 100644 --- a/kdevdesigner/designer/sizehandle.h +++ b/kdevdesigner/designer/sizehandle.h @@ -39,7 +39,7 @@ class TQPaintEvent; class SizeHandle : public TQWidget { Q_OBJECT - TQ_OBJECT + public: enum Direction { LeftTop, Top, RightTop, Right, RightBottom, Bottom, LeftBottom, Left }; diff --git a/kdevdesigner/designer/sourceeditor.h b/kdevdesigner/designer/sourceeditor.h index 7ffaee4a..3dde636e 100644 --- a/kdevdesigner/designer/sourceeditor.h +++ b/kdevdesigner/designer/sourceeditor.h @@ -40,7 +40,7 @@ class SourceFile; class SourceEditor : public TQVBox { Q_OBJECT - TQ_OBJECT + public: SourceEditor( TQWidget *parent, EditorInterface *iface, LanguageInterface *liface ); diff --git a/kdevdesigner/designer/sourcefile.h b/kdevdesigner/designer/sourcefile.h index 139bbf22..ef4d31db 100644 --- a/kdevdesigner/designer/sourcefile.h +++ b/kdevdesigner/designer/sourcefile.h @@ -37,7 +37,7 @@ class Project; class SourceFile : public TQObject { Q_OBJECT - TQ_OBJECT + public: SourceFile( const TQString &fn, bool temp, Project *p ); diff --git a/kdevdesigner/designer/startdialogimpl.h b/kdevdesigner/designer/startdialogimpl.h index b1f67990..8fb574d0 100644 --- a/kdevdesigner/designer/startdialogimpl.h +++ b/kdevdesigner/designer/startdialogimpl.h @@ -40,7 +40,7 @@ class FileDialog : public TQFileDialog { Q_OBJECT - TQ_OBJECT + public: FileDialog( const TQString &dir, TQWidget *parent ); @@ -56,7 +56,7 @@ signals: class StartDialog : public StartDialogBase { Q_OBJECT - TQ_OBJECT + public: StartDialog( TQWidget *parent, const TQString &templatePath ); diff --git a/kdevdesigner/designer/styledbutton.h b/kdevdesigner/designer/styledbutton.h index c9c582bd..5248d604 100644 --- a/kdevdesigner/designer/styledbutton.h +++ b/kdevdesigner/designer/styledbutton.h @@ -37,7 +37,7 @@ class FormWindow; class StyledButton : public TQButton { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( TQColor color READ color WRITE setColor ) TQ_PROPERTY( TQPixmap pixmap READ pixmap WRITE setPixmap ) diff --git a/kdevdesigner/designer/tableeditorimpl.h b/kdevdesigner/designer/tableeditorimpl.h index 280db0b1..7729f33e 100644 --- a/kdevdesigner/designer/tableeditorimpl.h +++ b/kdevdesigner/designer/tableeditorimpl.h @@ -37,7 +37,7 @@ class FormWindow; class TableEditor : public TableEditorBase { Q_OBJECT - TQ_OBJECT + public: TableEditor( TQWidget* parent = 0, TQWidget *editWidget = 0, FormWindow *fw = 0, diff --git a/kdevdesigner/designer/timestamp.h b/kdevdesigner/designer/timestamp.h index ffe71c4b..078a925d 100644 --- a/kdevdesigner/designer/timestamp.h +++ b/kdevdesigner/designer/timestamp.h @@ -34,7 +34,7 @@ class TimeStamp : public TQObject { Q_OBJECT - TQ_OBJECT + public: TimeStamp( TQObject *parent, const TQString &f ); diff --git a/kdevdesigner/designer/variabledialogimpl.h b/kdevdesigner/designer/variabledialogimpl.h index b8500677..65295073 100644 --- a/kdevdesigner/designer/variabledialogimpl.h +++ b/kdevdesigner/designer/variabledialogimpl.h @@ -35,7 +35,7 @@ class TQListView; class VariableDialog : public VariableDialogBase { Q_OBJECT - TQ_OBJECT + public: VariableDialog( FormWindow *fw, TQWidget* parent = 0 ); ~VariableDialog(); diff --git a/kdevdesigner/designer/widgetaction.h b/kdevdesigner/designer/widgetaction.h index da702468..161bc8a0 100644 --- a/kdevdesigner/designer/widgetaction.h +++ b/kdevdesigner/designer/widgetaction.h @@ -32,7 +32,7 @@ class WidgetAction : public TQAction { Q_OBJECT - TQ_OBJECT + public: WidgetAction( const TQString &grp, TQObject* parent, diff --git a/kdevdesigner/designer/widgetfactory.h b/kdevdesigner/designer/widgetfactory.h index 80c43f8f..8a568122 100644 --- a/kdevdesigner/designer/widgetfactory.h +++ b/kdevdesigner/designer/widgetfactory.h @@ -122,7 +122,7 @@ private: class QDesignerTabWidget : public TQTabWidget { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( int currentPage READ currentPage WRITE setCurrentPage STORED false DESIGNABLE true ) TQ_PROPERTY( TQString pageTitle READ pageTitle WRITE setPageTitle STORED false DESIGNABLE true ) TQ_PROPERTY( TQCString pageName READ pageName WRITE setPageName STORED false DESIGNABLE true ) @@ -152,7 +152,7 @@ private: class QDesignerWidgetStack : public TQWidgetStack { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( int currentPage READ currentPage WRITE setCurrentPage STORED false DESIGNABLE true ) TQ_PROPERTY( TQCString pageName READ pageName WRITE setPageName STORED false DESIGNABLE true ) public: @@ -196,7 +196,7 @@ private: class QDesignerWizard : public TQWizard { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( int currentPage READ currentPageNum WRITE setCurrentPage STORED false DESIGNABLE true ) TQ_PROPERTY( TQString pageTitle READ pageTitle WRITE setPageTitle STORED false DESIGNABLE true ) TQ_PROPERTY( TQCString pageName READ pageName WRITE setPageName STORED false DESIGNABLE true ) @@ -239,7 +239,7 @@ private: class TQLayoutWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: TQLayoutWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ), sp( sizePolicy() ) {} @@ -258,7 +258,7 @@ protected: class CustomWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: CustomWidget( TQWidget *parent, const char *name, MetaDataBase::CustomWidget *cw ) @@ -291,7 +291,7 @@ protected: class Line : public TQFrame { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( Qt::Orientation orientation READ orientation WRITE setOrientation ) TQ_OVERRIDE( int frameWidth DESIGNABLE false ) @@ -318,7 +318,7 @@ public: class QDesignerLabel : public TQLabel { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( TQCString buddy READ buddyWidget WRITE setBuddyWidget ) @@ -351,7 +351,7 @@ private: class QDesignerWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: QDesignerWidget( FormWindow *fw, TQWidget *parent, const char *name ) @@ -372,7 +372,7 @@ private: class QDesignerDialog : public TQDialog { Q_OBJECT - TQ_OBJECT + TQ_OVERRIDE( bool modal READ isModal WRITE setModal ) public: @@ -394,7 +394,7 @@ private: class QDesignerToolButton : public TQToolButton { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( int buttonGroupId READ buttonGroupId WRITE setButtonGroupId ) public: @@ -418,7 +418,7 @@ public: class QDesignerRadioButton : public TQRadioButton { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( int buttonGroupId READ buttonGroupId WRITE setButtonGroupId ) public: @@ -443,7 +443,7 @@ public: class QDesignerPushButton : public TQPushButton { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( int buttonGroupId READ buttonGroupId WRITE setButtonGroupId ) public: @@ -468,7 +468,7 @@ public: class QDesignerCheckBox : public TQCheckBox { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( int buttonGroupId READ buttonGroupId WRITE setButtonGroupId ) public: @@ -493,7 +493,7 @@ public: class QDesignerToolBox : public TQToolBox { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( TQString itemLabel READ itemLabel WRITE setItemLabel STORED false DESIGNABLE true ) TQ_PROPERTY( TQCString itemName READ itemName WRITE setItemName STORED false DESIGNABLE true ) TQ_PROPERTY( BackgroundMode itemBackgroundMode READ itemBackgroundMode WRITE setItemBackgroundMode STORED false DESIGNABLE true ) diff --git a/kdevdesigner/designer/wizardeditorimpl.h b/kdevdesigner/designer/wizardeditorimpl.h index 84b8c20c..f49a6b6c 100644 --- a/kdevdesigner/designer/wizardeditorimpl.h +++ b/kdevdesigner/designer/wizardeditorimpl.h @@ -38,7 +38,7 @@ class FormWindow; class WizardEditor : public WizardEditorBase { Q_OBJECT - TQ_OBJECT + public: WizardEditor( TQWidget *parent, TQWizard *wizard, FormWindow *fw ); diff --git a/kdevdesigner/designer/workspace.h b/kdevdesigner/designer/workspace.h index ad88dfca..052a1b87 100644 --- a/kdevdesigner/designer/workspace.h +++ b/kdevdesigner/designer/workspace.h @@ -87,7 +87,7 @@ private: class Workspace : public TQListView { Q_OBJECT - TQ_OBJECT + public: Workspace( TQWidget *parent , MainWindow *mw ); |