diff options
Diffstat (limited to 'src/common/gui')
-rw-r--r-- | src/common/gui/config_widget.h | 2 | ||||
-rw-r--r-- | src/common/gui/container.h | 4 | ||||
-rw-r--r-- | src/common/gui/dialog.h | 6 | ||||
-rw-r--r-- | src/common/gui/editlistbox.h | 2 | ||||
-rw-r--r-- | src/common/gui/hexword_gui.h | 6 | ||||
-rw-r--r-- | src/common/gui/list_container.h | 2 | ||||
-rw-r--r-- | src/common/gui/list_view.h | 2 | ||||
-rw-r--r-- | src/common/gui/misc_gui.h | 12 | ||||
-rw-r--r-- | src/common/gui/number_gui.h | 2 | ||||
-rw-r--r-- | src/common/gui/purl_gui.h | 10 |
10 files changed, 24 insertions, 24 deletions
diff --git a/src/common/gui/config_widget.h b/src/common/gui/config_widget.h index 6d87705..28fc4eb 100644 --- a/src/common/gui/config_widget.h +++ b/src/common/gui/config_widget.h @@ -21,7 +21,7 @@ class ConfigWidget : public Container { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(TQWidget *parent = 0) : Container(parent) {} virtual TQString title() const { return TQString(); } diff --git a/src/common/gui/container.h b/src/common/gui/container.h index 880fd28..df59d1c 100644 --- a/src/common/gui/container.h +++ b/src/common/gui/container.h @@ -20,7 +20,7 @@ class PopupButton; class Container : public TQFrame { Q_OBJECT - TQ_OBJECT + public: enum Type { Flat, Sunken }; Container(TQWidget *parent = 0, Type type = Flat); @@ -48,7 +48,7 @@ private: class ButtonContainer : public Container { Q_OBJECT - TQ_OBJECT + public: ButtonContainer(const TQString &title, TQWidget *parent); PopupButton &button() { return *_button; } diff --git a/src/common/gui/dialog.h b/src/common/gui/dialog.h index f506411..24093d2 100644 --- a/src/common/gui/dialog.h +++ b/src/common/gui/dialog.h @@ -17,7 +17,7 @@ class Dialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: Dialog(TQWidget *parent, const char *name, bool modal, const TQString &caption, int buttonMask, ButtonCode defaultButton, bool separator, @@ -38,7 +38,7 @@ private: class TreeListDialog : public Dialog { Q_OBJECT - TQ_OBJECT + public: TreeListDialog(TQWidget *parent, const char *name, bool modal, const TQString &caption, int buttonMask, ButtonCode defaultButton, bool separator); @@ -71,7 +71,7 @@ protected: class TextEditorDialog : public Dialog { Q_OBJECT - TQ_OBJECT + public: TextEditorDialog(const TQString &text, const TQString &caption, bool wrapAtWidgetWidth, TQWidget *parent); diff --git a/src/common/gui/editlistbox.h b/src/common/gui/editlistbox.h index 53b4294..a9345d3 100644 --- a/src/common/gui/editlistbox.h +++ b/src/common/gui/editlistbox.h @@ -35,7 +35,7 @@ class EditListBox : public TQFrame { Q_OBJECT - TQ_OBJECT + public: enum Mode { DuplicatesDisallowed, DuplicatesAllowed, DuplicatesCheckedAtEntering }; enum Button { Add = 1, Remove = 2, UpDown = 4, RemoveAll = 8, Reset = 16 }; diff --git a/src/common/gui/hexword_gui.h b/src/common/gui/hexword_gui.h index 2be2a75..aa0a41c 100644 --- a/src/common/gui/hexword_gui.h +++ b/src/common/gui/hexword_gui.h @@ -19,7 +19,7 @@ class HexValueValidator : public TQValidator { Q_OBJECT - TQ_OBJECT + public: HexValueValidator(uint nbChars, TQObject *parent); virtual State validate(TQString &input, int &pos) const; @@ -32,7 +32,7 @@ private: class GenericHexWordEditor : public KLineEdit { Q_OBJECT - TQ_OBJECT + public: GenericHexWordEditor(uint nbChars, bool hasBlankValue, TQWidget *parent); virtual TQSize sizeHint() const; @@ -71,7 +71,7 @@ protected: class HexWordEditor : public GenericHexWordEditor { Q_OBJECT - TQ_OBJECT + public: HexWordEditor(uint nbChars, TQWidget *parent) : GenericHexWordEditor(nbChars, false, parent) {} void setValue(BitValue word) { _word = word; set(); } diff --git a/src/common/gui/list_container.h b/src/common/gui/list_container.h index 75abeb0..7d91ef8 100644 --- a/src/common/gui/list_container.h +++ b/src/common/gui/list_container.h @@ -27,7 +27,7 @@ public: class PopupContainer : public KPopupMenu, public ListContainer { Q_OBJECT - TQ_OBJECT + public: PopupContainer(const TQString &title, TQWidget *parent = 0, const char *name = 0); virtual ListContainer *appendBranch(const TQString &title); diff --git a/src/common/gui/list_view.h b/src/common/gui/list_view.h index 54c7a05..33aac4f 100644 --- a/src/common/gui/list_view.h +++ b/src/common/gui/list_view.h @@ -24,7 +24,7 @@ class ListViewToolTip; class ListView : public KListView { Q_OBJECT - TQ_OBJECT + public: ListView(TQWidget *parent = 0, const char *name = 0); virtual ~ListView(); diff --git a/src/common/gui/misc_gui.h b/src/common/gui/misc_gui.h index 8c6a2ee..6c7ade6 100644 --- a/src/common/gui/misc_gui.h +++ b/src/common/gui/misc_gui.h @@ -63,7 +63,7 @@ extern void text(const TQString &text, Log::ShowMode show); class PopupButton : public KPushButton { Q_OBJECT - TQ_OBJECT + public: PopupButton(TQWidget *parent = 0, const char *name = 0); PopupButton(const TQString &text, TQWidget *parent = 0, const char *name = 0); @@ -88,7 +88,7 @@ private: class Splitter : public TQSplitter { Q_OBJECT - TQ_OBJECT + public: Splitter(const TQValueList<int> &defaultSizes, Qt::Orientation orientation, TQWidget *parent, const char *name); @@ -112,7 +112,7 @@ public: class SeparatorWidget : public TQFrame { Q_OBJECT - TQ_OBJECT + public: SeparatorWidget(TQWidget *parent) : TQFrame(parent, "separator") { setFrameStyle(TQFrame::Panel | TQFrame::Sunken); @@ -125,7 +125,7 @@ public: class TabBar : public KTabBar { Q_OBJECT - TQ_OBJECT + public: TabBar(TQWidget *parent = 0, const char *name = 0); @@ -141,7 +141,7 @@ private: class TabWidget : public KTabWidget { Q_OBJECT - TQ_OBJECT + public: TabWidget(TQWidget *parent = 0, const char *name = 0); void setIgnoreWheelEvent(bool ignore); @@ -155,7 +155,7 @@ protected: class ComboBox : public TQComboBox { Q_OBJECT - TQ_OBJECT + public: ComboBox(TQWidget *parent = 0, const char *name = 0); void setIgnoreWheelEvent(bool ignore) { _ignoreWheelEvent = ignore; } diff --git a/src/common/gui/number_gui.h b/src/common/gui/number_gui.h index 659e443..683c5f9 100644 --- a/src/common/gui/number_gui.h +++ b/src/common/gui/number_gui.h @@ -26,7 +26,7 @@ extern TQValidator::State validateNumber(const TQString &s); class NumberLineEdit : public KLineEdit { Q_OBJECT - TQ_OBJECT + public: NumberLineEdit(TQWidget *parent = 0, const char *name = 0); NumberLineEdit(const TQString &text, TQWidget *parent = 0, const char *name = 0); diff --git a/src/common/gui/purl_gui.h b/src/common/gui/purl_gui.h index 3d29319..c487d86 100644 --- a/src/common/gui/purl_gui.h +++ b/src/common/gui/purl_gui.h @@ -35,7 +35,7 @@ extern Url getSaveUrl(const TQString &startDir, const TQString &filter, TQWidget class Label : public KURLLabel { Q_OBJECT - TQ_OBJECT + public: Label(const TQString &url, const TQString &text, TQWidget *parent = 0, const char *name = 0); @@ -47,7 +47,7 @@ private slots: class BaseWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: BaseWidget(TQWidget *parent = 0, const char *name = 0); BaseWidget(const TQString &defaultDir, TQWidget *parent = 0, const char *name = 0); @@ -70,7 +70,7 @@ protected: class DirectoryWidget : public BaseWidget { Q_OBJECT - TQ_OBJECT + public: DirectoryWidget(TQWidget *parent = 0, const char *name = 0) : BaseWidget(parent, name) {} DirectoryWidget(const TQString &defaultDir, TQWidget *parent = 0, const char *name = 0) : BaseWidget(defaultDir, parent, name) {} @@ -85,7 +85,7 @@ protected slots: class DirectoriesWidget : public TQVGroupBox { Q_OBJECT - TQ_OBJECT + public: DirectoriesWidget(const TQString &title, TQWidget *parent = 0, const char *name = 0); DirectoriesWidget(const TQString &title, const TQString &defaultDir, TQWidget *parent = 0, const char *name = 0); @@ -104,7 +104,7 @@ private: class UrlWidget : public BaseWidget { Q_OBJECT - TQ_OBJECT + public: UrlWidget(const TQString &filter, TQWidget *parent = 0, const char *name = 0) : BaseWidget(parent, name), _filter(filter) {} |