diff options
Diffstat (limited to 'kommander/editor')
38 files changed, 82 insertions, 82 deletions
diff --git a/kommander/editor/actiondnd.h b/kommander/editor/actiondnd.h index 74df7292..b15d47ff 100644 --- a/kommander/editor/actiondnd.h +++ b/kommander/editor/actiondnd.h @@ -37,7 +37,7 @@ class FormWindow; class QDesignerActionGroup : public TQActionGroup { Q_OBJECT - TQ_OBJECT + public: QDesignerActionGroup( TQObject *parent ) @@ -68,7 +68,7 @@ private: class QDesignerAction : public TQAction { Q_OBJECT - TQ_OBJECT + public: QDesignerAction( TQObject *parent ) @@ -103,7 +103,7 @@ private: class QDesignerToolBarSeparator : public TQWidget { Q_OBJECT - TQ_OBJECT + public: QDesignerToolBarSeparator( Qt::Orientation, TQToolBar *parent, const char* name=0 ); @@ -123,7 +123,7 @@ private: class QSeparatorAction : public TQAction { Q_OBJECT - TQ_OBJECT + public: QSeparatorAction( TQObject *parent ); @@ -142,7 +142,7 @@ private: class QDesignerToolBar : public TQToolBar { Q_OBJECT - TQ_OBJECT + public: QDesignerToolBar( TQMainWindow *mw ); @@ -201,7 +201,7 @@ private: class QDesignerMenuBar : public TQMenuBar { Q_OBJECT - TQ_OBJECT + friend class QDesignerPopupMenu; TQ_PROPERTY( int itemNumber WRITE setItemNumber READ itemNumber ) @@ -250,7 +250,7 @@ private: class QDesignerPopupMenu : public TQPopupMenu { Q_OBJECT - TQ_OBJECT + public: QDesignerPopupMenu( TQWidget *w ); @@ -299,7 +299,7 @@ private: class QDesignerIndicatorWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: QDesignerIndicatorWidget( TQWidget *p ) diff --git a/kommander/editor/actioneditorimpl.h b/kommander/editor/actioneditorimpl.h index b290d18d..ff6f001d 100644 --- a/kommander/editor/actioneditorimpl.h +++ b/kommander/editor/actioneditorimpl.h @@ -32,7 +32,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/kommander/editor/actionlistview.h b/kommander/editor/actionlistview.h index 9559c262..c65e6658 100644 --- a/kommander/editor/actionlistview.h +++ b/kommander/editor/actionlistview.h @@ -53,7 +53,7 @@ private: class ActionListView : public TQListView { Q_OBJECT - TQ_OBJECT + public: ActionListView( TQWidget *parent = 0, const char *name = 0 ); diff --git a/kommander/editor/asciivalidator.h b/kommander/editor/asciivalidator.h index d0b388a8..676208eb 100644 --- a/kommander/editor/asciivalidator.h +++ b/kommander/editor/asciivalidator.h @@ -28,7 +28,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/kommander/editor/assistproc.h b/kommander/editor/assistproc.h index fabc71cf..8e579bda 100644 --- a/kommander/editor/assistproc.h +++ b/kommander/editor/assistproc.h @@ -28,7 +28,7 @@ class AssistProc : public TQProcess { Q_OBJECT - TQ_OBJECT + public: AssistProc( TQObject *parent=0, const char * name = 0, const TQString &path = TQString() ); ~AssistProc(); diff --git a/kommander/editor/assoctexteditorimpl.h b/kommander/editor/assoctexteditorimpl.h index 1537d35d..532d61dd 100644 --- a/kommander/editor/assoctexteditorimpl.h +++ b/kommander/editor/assoctexteditorimpl.h @@ -49,7 +49,7 @@ class KPopupMenu; class AssocTextEditor : public AssocTextEditorBase { Q_OBJECT - TQ_OBJECT + public: AssocTextEditor(TQWidget*, FormWindow*, PropertyEditor*, KParts::PartManager *partManager, TQWidget*, const char* = 0, bool = true); ~AssocTextEditor(); diff --git a/kommander/editor/choosewidgetimpl.h b/kommander/editor/choosewidgetimpl.h index dec3fbd3..c83ad985 100644 --- a/kommander/editor/choosewidgetimpl.h +++ b/kommander/editor/choosewidgetimpl.h @@ -22,7 +22,7 @@ class ChooseWidget : public ChooseWidgetBase { Q_OBJECT - TQ_OBJECT + public: ChooseWidget(TQWidget*, const char* = 0, bool=true); ~ChooseWidget(); diff --git a/kommander/editor/command.h b/kommander/editor/command.h index 398e733d..0e9390be 100644 --- a/kommander/editor/command.h +++ b/kommander/editor/command.h @@ -123,7 +123,7 @@ private: class CommandHistory : public TQObject { Q_OBJECT - TQ_OBJECT + public: CommandHistory( int s ); diff --git a/kommander/editor/connectioneditorimpl.h b/kommander/editor/connectioneditorimpl.h index 7887fa0d..f130e590 100644 --- a/kommander/editor/connectioneditorimpl.h +++ b/kommander/editor/connectioneditorimpl.h @@ -32,7 +32,7 @@ class FormWindow; class ConnectionEditor : public ConnectionEditorBase { Q_OBJECT - TQ_OBJECT + public: ConnectionEditor(TQWidget* parent, TQObject* sender, TQObject* receiver, FormWindow* fw); ~ConnectionEditor(); diff --git a/kommander/editor/filechooser.h b/kommander/editor/filechooser.h index 4ce2fe40..56d6da60 100644 --- a/kommander/editor/filechooser.h +++ b/kommander/editor/filechooser.h @@ -9,7 +9,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/kommander/editor/formfile.h b/kommander/editor/formfile.h index 2f02c554..7d5a946c 100644 --- a/kommander/editor/formfile.h +++ b/kommander/editor/formfile.h @@ -29,7 +29,7 @@ class FormWindow; class FormFile : public TQObject { Q_OBJECT - TQ_OBJECT + public: FormFile(const TQString &fn, bool temp); diff --git a/kommander/editor/formsettingsimpl.h b/kommander/editor/formsettingsimpl.h index d94a59ba..1e1075d0 100644 --- a/kommander/editor/formsettingsimpl.h +++ b/kommander/editor/formsettingsimpl.h @@ -28,7 +28,7 @@ class FormWindow; class FormSettings : public FormSettingsBase { Q_OBJECT - TQ_OBJECT + public: FormSettings( TQWidget *parent, FormWindow *fw ); diff --git a/kommander/editor/formwindow.h b/kommander/editor/formwindow.h index 1d179851..0bb17ead 100644 --- a/kommander/editor/formwindow.h +++ b/kommander/editor/formwindow.h @@ -58,7 +58,7 @@ class OrderIndicator; class FormWindow : public TQWidget { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( TQString fileName READ fileName WRITE setFileName ) public: diff --git a/kommander/editor/functionsimpl.h b/kommander/editor/functionsimpl.h index f8ed9178..c6c67cec 100644 --- a/kommander/editor/functionsimpl.h +++ b/kommander/editor/functionsimpl.h @@ -26,7 +26,7 @@ class FunctionsDialog : public FunctionsDialogBase { Q_OBJECT - TQ_OBJECT + public: FunctionsDialog(TQWidget*, const TQDict<TQWidget>&, bool m_useInternalParser, char* = 0, bool = true); ~FunctionsDialog(); diff --git a/kommander/editor/hierarchyview.h b/kommander/editor/hierarchyview.h index 007f2d38..78fbe292 100644 --- a/kommander/editor/hierarchyview.h +++ b/kommander/editor/hierarchyview.h @@ -80,7 +80,7 @@ private: class HierarchyList:public TQListView { Q_OBJECT - TQ_OBJECT + public: HierarchyList(TQWidget * parent, FormWindow * fw, bool doConnects = TRUE); @@ -124,7 +124,7 @@ protected: class HierarchyView : public TQTabWidget { Q_OBJECT - TQ_OBJECT + public: HierarchyView( TQWidget *parent ); diff --git a/kommander/editor/iconvieweditorimpl.h b/kommander/editor/iconvieweditorimpl.h index 2b145c8f..b25c59cc 100644 --- a/kommander/editor/iconvieweditorimpl.h +++ b/kommander/editor/iconvieweditorimpl.h @@ -28,7 +28,7 @@ class FormWindow; class IconViewEditor : public IconViewEditorBase { Q_OBJECT - TQ_OBJECT + public: IconViewEditor( TQWidget *parent, TQWidget *editWidget, FormWindow *fw ); diff --git a/kommander/editor/layout.h b/kommander/editor/layout.h index f85dc270..d0e6e737 100644 --- a/kommander/editor/layout.h +++ b/kommander/editor/layout.h @@ -34,7 +34,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 ); @@ -112,7 +112,7 @@ protected: class Spacer : public TQWidget { Q_OBJECT - TQ_OBJECT + TQ_OVERRIDE( TQCString name ) TQ_PROPERTY( Qt::Orientation orientation READ orientation WRITE setOrientation ) @@ -157,7 +157,7 @@ protected: class QDesignerGridLayout : public TQGridLayout { Q_OBJECT - TQ_OBJECT + public: QDesignerGridLayout( TQWidget *parent ) : TQGridLayout( parent ){}; QDesignerGridLayout( TQLayout *parentLayout ) : TQGridLayout( parentLayout ){}; diff --git a/kommander/editor/listboxeditorimpl.h b/kommander/editor/listboxeditorimpl.h index 1872646e..ec2376c0 100644 --- a/kommander/editor/listboxeditorimpl.h +++ b/kommander/editor/listboxeditorimpl.h @@ -29,7 +29,7 @@ class FormWindow; class ListBoxEditor : public ListBoxEditorBase { Q_OBJECT - TQ_OBJECT + public: ListBoxEditor( TQWidget *parent, TQWidget *editWidget, FormWindow *fw ); diff --git a/kommander/editor/listvieweditorimpl.h b/kommander/editor/listvieweditorimpl.h index f5efe0cd..15aecaf8 100644 --- a/kommander/editor/listvieweditorimpl.h +++ b/kommander/editor/listvieweditorimpl.h @@ -32,7 +32,7 @@ class FormWindow; class ListViewEditor : public ListViewEditorBase { Q_OBJECT - TQ_OBJECT + public: ListViewEditor( TQWidget *parent, TQListView *lv, FormWindow *fw ); diff --git a/kommander/editor/mainwindow.h b/kommander/editor/mainwindow.h index 03e66ee3..aa4ea018 100644 --- a/kommander/editor/mainwindow.h +++ b/kommander/editor/mainwindow.h @@ -68,7 +68,7 @@ namespace KParts { class MainWindow : public KParts::DockMainWindow { Q_OBJECT - TQ_OBJECT + public: MainWindow( bool asClient ); diff --git a/kommander/editor/messagelog.h b/kommander/editor/messagelog.h index 634c7c7b..b1108de1 100644 --- a/kommander/editor/messagelog.h +++ b/kommander/editor/messagelog.h @@ -29,7 +29,7 @@ class TQListBoxItem; class MessageLog : public TQTabWidget { Q_OBJECT - TQ_OBJECT + public: enum InfoType {Stdout, Stderr, All}; MessageLog(TQWidget* parent = 0, const char* name = 0); diff --git a/kommander/editor/multilineeditorimpl.h b/kommander/editor/multilineeditorimpl.h index 6881283c..3931cf90 100644 --- a/kommander/editor/multilineeditorimpl.h +++ b/kommander/editor/multilineeditorimpl.h @@ -29,7 +29,7 @@ class TQMultiLineEdit; class MultiLineEditor : public MultiLineEditorBase { Q_OBJECT - TQ_OBJECT + public: MultiLineEditor( TQWidget *parent, TQWidget *editWidget, FormWindow *fw ); @@ -47,7 +47,7 @@ private: class TextEditor : public MultiLineEditorBase { Q_OBJECT - TQ_OBJECT + public: TextEditor( TQWidget *parent, const TQString &text ); diff --git a/kommander/editor/newformimpl.h b/kommander/editor/newformimpl.h index 6fe4dade..88a8d17a 100644 --- a/kommander/editor/newformimpl.h +++ b/kommander/editor/newformimpl.h @@ -61,7 +61,7 @@ private: class NewForm : public NewFormBase { Q_OBJECT - TQ_OBJECT + public: NewForm( TQWidget *parent, const TQString &templatePath ); void accept(); diff --git a/kommander/editor/orderindicator.h b/kommander/editor/orderindicator.h index ae696c95..cb75151b 100644 --- a/kommander/editor/orderindicator.h +++ b/kommander/editor/orderindicator.h @@ -28,7 +28,7 @@ class FormWindow; class OrderIndicator : public TQWidget { Q_OBJECT - TQ_OBJECT + public: OrderIndicator( int i, TQWidget* w, FormWindow* fw ); diff --git a/kommander/editor/paletteeditoradvancedimpl.h b/kommander/editor/paletteeditoradvancedimpl.h index a9e28c9a..a4b591cd 100644 --- a/kommander/editor/paletteeditoradvancedimpl.h +++ b/kommander/editor/paletteeditoradvancedimpl.h @@ -28,7 +28,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/kommander/editor/paletteeditorimpl.h b/kommander/editor/paletteeditorimpl.h index 07a3dd85..8bc18bce 100644 --- a/kommander/editor/paletteeditorimpl.h +++ b/kommander/editor/paletteeditorimpl.h @@ -28,7 +28,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/kommander/editor/pixmapchooser.h b/kommander/editor/pixmapchooser.h index fe7bfa7b..6d8e761a 100644 --- a/kommander/editor/pixmapchooser.h +++ b/kommander/editor/pixmapchooser.h @@ -32,7 +32,7 @@ class PixmapView : public TQScrollView, public TQFilePreview { Q_OBJECT - TQ_OBJECT + public: PixmapView( TQWidget *parent ); @@ -48,7 +48,7 @@ private: class ImageIconProvider : public TQFileIconProvider { Q_OBJECT - TQ_OBJECT + public: ImageIconProvider( TQWidget *parent = 0, const char *name = 0 ); diff --git a/kommander/editor/previewframe.h b/kommander/editor/previewframe.h index fa87a90b..eda444f5 100644 --- a/kommander/editor/previewframe.h +++ b/kommander/editor/previewframe.h @@ -29,7 +29,7 @@ class PreviewWorkspace : public TQWorkspace { Q_OBJECT - TQ_OBJECT + public: PreviewWorkspace( TQWidget* parent = 0, const char* name = 0 ) : TQWorkspace( parent, name ) {} @@ -42,7 +42,7 @@ protected: class PreviewFrame : public TQVBox { Q_OBJECT - TQ_OBJECT + public: PreviewFrame( TQWidget *parent = 0, const char *name = 0 ); diff --git a/kommander/editor/previewwidgetimpl.h b/kommander/editor/previewwidgetimpl.h index a0f08043..31e04253 100644 --- a/kommander/editor/previewwidgetimpl.h +++ b/kommander/editor/previewwidgetimpl.h @@ -26,7 +26,7 @@ class PreviewWidget : public PreviewWidgetBase { Q_OBJECT - TQ_OBJECT + public: PreviewWidget( TQWidget *parent = 0, const char *name = 0 ); diff --git a/kommander/editor/propertyeditor.h b/kommander/editor/propertyeditor.h index d0eb517b..00718088 100644 --- a/kommander/editor/propertyeditor.h +++ b/kommander/editor/propertyeditor.h @@ -128,7 +128,7 @@ class PropertyTextItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyTextItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -165,7 +165,7 @@ class PropertyBoolItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyBoolItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, const TQString &propName ); @@ -190,7 +190,7 @@ class PropertyIntItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyIntItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -216,7 +216,7 @@ class PropertyDoubleItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyDoubleItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -240,7 +240,7 @@ class PropertyListItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyListItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -276,7 +276,7 @@ class PropertyFontItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyFontItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, const TQString &propName ); @@ -306,7 +306,7 @@ class PropertyCoordItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: enum Type { Rect, Size, Point }; @@ -336,7 +336,7 @@ class PropertyColorItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyColorItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -371,7 +371,7 @@ class PropertyPixmapItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyPixmapItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -402,7 +402,7 @@ class PropertySizePolicyItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertySizePolicyItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -429,7 +429,7 @@ class PropertyPaletteItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyPaletteItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -458,7 +458,7 @@ class PropertyCursorItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyCursorItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, @@ -484,7 +484,7 @@ class PropertyDatabaseItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyDatabaseItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, const TQString &propName, bool wField ); @@ -511,7 +511,7 @@ private: class PropertyList : public TQListView { Q_OBJECT - TQ_OBJECT + public: PropertyList( PropertyEditor *e ); @@ -567,7 +567,7 @@ private: class PropertyEditor : public TQTabWidget { Q_OBJECT - TQ_OBJECT + public: PropertyEditor( TQWidget *parent ); @@ -617,7 +617,7 @@ class PropertyDateItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyDateItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, const TQString &propName ); @@ -641,7 +641,7 @@ class PropertyTimeItem : public TQObject, public PropertyItem { Q_OBJECT - TQ_OBJECT + public: PropertyTimeItem( PropertyList *l, PropertyItem *after, PropertyItem *prop, const TQString &propName ); @@ -665,7 +665,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/kommander/editor/qcompletionedit.h b/kommander/editor/qcompletionedit.h index ceef1692..6390bd13 100644 --- a/kommander/editor/qcompletionedit.h +++ b/kommander/editor/qcompletionedit.h @@ -10,7 +10,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/kommander/editor/sizehandle.h b/kommander/editor/sizehandle.h index ac7c68a2..28d18063 100644 --- a/kommander/editor/sizehandle.h +++ b/kommander/editor/sizehandle.h @@ -33,7 +33,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/kommander/editor/styledbutton.h b/kommander/editor/styledbutton.h index 3a8c2691..d0cbafe2 100644 --- a/kommander/editor/styledbutton.h +++ b/kommander/editor/styledbutton.h @@ -31,7 +31,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/kommander/editor/tableeditorimpl.h b/kommander/editor/tableeditorimpl.h index 167f8bb7..0342ed60 100644 --- a/kommander/editor/tableeditorimpl.h +++ b/kommander/editor/tableeditorimpl.h @@ -11,7 +11,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/kommander/editor/timestamp.h b/kommander/editor/timestamp.h index f4483e8f..cc867ad8 100644 --- a/kommander/editor/timestamp.h +++ b/kommander/editor/timestamp.h @@ -28,7 +28,7 @@ class TimeStamp : public TQObject { Q_OBJECT - TQ_OBJECT + public: TimeStamp( TQObject *parent, const TQString &f ); diff --git a/kommander/editor/widgetfactory.h b/kommander/editor/widgetfactory.h index 90e88235..913e855c 100644 --- a/kommander/editor/widgetfactory.h +++ b/kommander/editor/widgetfactory.h @@ -111,7 +111,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 ) @@ -141,7 +141,7 @@ private: class EditorTabWidget : public TabWidget { 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 ) @@ -171,7 +171,7 @@ private: class EditorToolBox : public ToolBox { 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 ) @@ -191,7 +191,7 @@ public: 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 ) @@ -227,7 +227,7 @@ private: class TQLayoutWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: TQLayoutWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ), sp( TQWidget::sizePolicy() ) {} @@ -246,7 +246,7 @@ protected: class CustomWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: CustomWidget( TQWidget *parent, const char *name, MetaDataBase::CustomWidget *cw ) @@ -279,7 +279,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 ) @@ -306,7 +306,7 @@ public: class QDesignerLabel : public TQLabel { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( TQCString buddy READ buddyWidget WRITE setBuddyWidget ) @@ -339,7 +339,7 @@ private: class QDesignerWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: QDesignerWidget( FormWindow *fw, TQWidget *parent, const char *name ) @@ -356,7 +356,7 @@ private: class QDesignerDialog : public TQDialog { Q_OBJECT - TQ_OBJECT + public: QDesignerDialog( FormWindow *fw, TQWidget *parent, const char *name ) @@ -373,7 +373,7 @@ private: class QDesignerToolButton : public TQToolButton { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( int buttonGroupId READ buttonGroupId WRITE setButtonGroupId ) public: @@ -397,7 +397,7 @@ public: class QDesignerRadioButton : public TQRadioButton { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( int buttonGroupId READ buttonGroupId WRITE setButtonGroupId ) public: @@ -422,7 +422,7 @@ public: class QDesignerPushButton : public TQPushButton { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( int buttonGroupId READ buttonGroupId WRITE setButtonGroupId ) public: @@ -447,7 +447,7 @@ public: class QDesignerCheckBox : public TQCheckBox { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( int buttonGroupId READ buttonGroupId WRITE setButtonGroupId ) public: @@ -472,7 +472,7 @@ public: class EditorDialog : public Dialog { Q_OBJECT - TQ_OBJECT + public: EditorDialog( FormWindow *fw, TQWidget *parent, const char *name ) diff --git a/kommander/editor/wizardeditorimpl.h b/kommander/editor/wizardeditorimpl.h index 6222c545..b3d7e896 100644 --- a/kommander/editor/wizardeditorimpl.h +++ b/kommander/editor/wizardeditorimpl.h @@ -32,7 +32,7 @@ class FormWindow; class WizardEditor : public WizardEditorBase { Q_OBJECT - TQ_OBJECT + public: WizardEditor( TQWidget *parent, TQWizard *wizard, FormWindow *fw ); diff --git a/kommander/editor/workspace.h b/kommander/editor/workspace.h index de5c8ccc..330fd444 100644 --- a/kommander/editor/workspace.h +++ b/kommander/editor/workspace.h @@ -94,7 +94,7 @@ private: class Workspace : public TQListView { Q_OBJECT - TQ_OBJECT + public: Workspace( TQWidget *parent , MainWindow *mw ); |