summaryrefslogtreecommitdiffstats
path: root/src/libgui
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui')
-rw-r--r--src/libgui/breakpoint_view.h2
-rw-r--r--src/libgui/config_center.h6
-rw-r--r--src/libgui/config_gen.h6
-rw-r--r--src/libgui/console.h2
-rw-r--r--src/libgui/device_editor.h2
-rw-r--r--src/libgui/device_gui.h12
-rw-r--r--src/libgui/editor.h2
-rw-r--r--src/libgui/editor_manager.h6
-rw-r--r--src/libgui/gui_debug_manager.h2
-rw-r--r--src/libgui/gui_prog_manager.h2
-rw-r--r--src/libgui/hex_editor.h4
-rw-r--r--src/libgui/likeback.h4
-rw-r--r--src/libgui/log_view.h2
-rw-r--r--src/libgui/new_dialogs.h4
-rw-r--r--src/libgui/object_view.h10
-rw-r--r--src/libgui/project_editor.h2
-rw-r--r--src/libgui/project_manager.h2
-rw-r--r--src/libgui/project_manager_ui.h2
-rw-r--r--src/libgui/project_wizard.h4
-rw-r--r--src/libgui/register_view.h2
-rw-r--r--src/libgui/text_editor.h4
-rw-r--r--src/libgui/toplevel.h2
-rw-r--r--src/libgui/toplevel_ui.h8
-rw-r--r--src/libgui/watch_view.h8
24 files changed, 50 insertions, 50 deletions
diff --git a/src/libgui/breakpoint_view.h b/src/libgui/breakpoint_view.h
index 1545afa..9456182 100644
--- a/src/libgui/breakpoint_view.h
+++ b/src/libgui/breakpoint_view.h
@@ -29,7 +29,7 @@ private:
class View : public TQWidget, public GenericView
{
Q_OBJECT
- TQ_OBJECT
+
public:
View(TQWidget *parent);
virtual void updateView();
diff --git a/src/libgui/config_center.h b/src/libgui/config_center.h
index 88ed12c..0cc7cee 100644
--- a/src/libgui/config_center.h
+++ b/src/libgui/config_center.h
@@ -29,7 +29,7 @@ END_DECLARE_CONFIG_WIDGET
class GlobalConfigWidget : public BaseGlobalConfigWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
GlobalConfigWidget();
virtual TQString title() const { return i18n("General"); }
@@ -48,7 +48,7 @@ private:
class StandaloneConfigWidget : public ConfigWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
StandaloneConfigWidget();
virtual void loadConfig();
@@ -68,7 +68,7 @@ private:
class ConfigCenter : public Dialog
{
Q_OBJECT
- TQ_OBJECT
+
public:
enum Type { General = 0, ProgSelect, ProgOptions, DebugOptions,
Standalone, Nb_Types };
diff --git a/src/libgui/config_gen.h b/src/libgui/config_gen.h
index b281de0..5aff752 100644
--- a/src/libgui/config_gen.h
+++ b/src/libgui/config_gen.h
@@ -26,7 +26,7 @@ class SimpleTextEditor;
class GeneratorDialog : public Dialog
{
Q_OBJECT
- TQ_OBJECT
+
public:
GeneratorDialog(const TQString &title, TQWidget *parent, const char *name);
void set(const Device::Data *data, const Tool::Group &group, PURL::ToolType stype);
@@ -54,7 +54,7 @@ protected:
class ConfigGenerator : public GeneratorDialog
{
Q_OBJECT
- TQ_OBJECT
+
public:
ConfigGenerator(TQWidget *parent);
virtual ~ConfigGenerator();
@@ -74,7 +74,7 @@ private:
class TemplateGenerator : public GeneratorDialog
{
Q_OBJECT
- TQ_OBJECT
+
public:
TemplateGenerator(TQWidget *parent);
diff --git a/src/libgui/console.h b/src/libgui/console.h
index 304c793..5f9ff4d 100644
--- a/src/libgui/console.h
+++ b/src/libgui/console.h
@@ -14,7 +14,7 @@
class ConsoleView : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
ConsoleView(TQWidget *parent);
diff --git a/src/libgui/device_editor.h b/src/libgui/device_editor.h
index 355ddae..19b4929 100644
--- a/src/libgui/device_editor.h
+++ b/src/libgui/device_editor.h
@@ -15,7 +15,7 @@ namespace Device { class Data; }
class DeviceEditor : public Editor
{
Q_OBJECT
- TQ_OBJECT
+
public:
DeviceEditor(const TQString &title, const TQString &tag, TQWidget *parent, const char *name);
DeviceEditor(TQWidget *parent, const char *name);
diff --git a/src/libgui/device_gui.h b/src/libgui/device_gui.h
index 887b98c..bc69136 100644
--- a/src/libgui/device_gui.h
+++ b/src/libgui/device_gui.h
@@ -86,7 +86,7 @@ private:
class Dialog : public ::Dialog
{
Q_OBJECT
- TQ_OBJECT
+
public:
Dialog(const TQString &device, Type type, TQWidget *parent);
virtual ~Dialog();
@@ -119,7 +119,7 @@ private:
class ComboBox : public TQComboBox
{
Q_OBJECT
- TQ_OBJECT
+
public:
ComboBox(bool withAuto, TQWidget *parent);
void setDevice(const TQString &device, const Device::Data *data = 0);
@@ -134,7 +134,7 @@ private:
class Button : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
Button(bool withAuto, TQWidget *parent);
void setDevice(const TQString &device) { _combo->setDevice(device); }
@@ -154,7 +154,7 @@ private:
class Browser : public KTextBrowser
{
Q_OBJECT
- TQ_OBJECT
+
public:
Browser(TQWidget *parent);
@@ -169,7 +169,7 @@ public slots:
class View : public TabWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
View(TQWidget *parent);
void clear();
@@ -188,7 +188,7 @@ private:
class Editor : public DeviceEditor
{
Q_OBJECT
- TQ_OBJECT
+
public:
Editor(const TQString &title, const TQString &tag, TQWidget *parent);
virtual bool isModified() const { return false; }
diff --git a/src/libgui/editor.h b/src/libgui/editor.h
index 0c80b07..330c380 100644
--- a/src/libgui/editor.h
+++ b/src/libgui/editor.h
@@ -21,7 +21,7 @@ class KPopupMenu;
class Editor : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
Editor(const TQString &title, const TQString &tag, TQWidget *parent, const char *name);
Editor(TQWidget *parent, const char *name);
diff --git a/src/libgui/editor_manager.h b/src/libgui/editor_manager.h
index c20f520..14e518f 100644
--- a/src/libgui/editor_manager.h
+++ b/src/libgui/editor_manager.h
@@ -23,7 +23,7 @@ class TQEvent;
class SwitchToDialog : public Dialog
{
Q_OBJECT
- TQ_OBJECT
+
public:
SwitchToDialog(const TQStringList &names, TQWidget *parent);
TQString name() const { return _edit->text(); }
@@ -36,7 +36,7 @@ private:
class EditorTabBar : public TabBar
{
Q_OBJECT
- TQ_OBJECT
+
public:
EditorTabBar(TQWidget *parent) : TabBar(parent, "editor_tab_bar") {}
void setReadOnly(uint index, bool readOnly) { _readOnly[tabAt(index)] = readOnly; }
@@ -67,7 +67,7 @@ private:
class EditorManager : public TabWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
EditorManager(TQWidget *parent);
diff --git a/src/libgui/gui_debug_manager.h b/src/libgui/gui_debug_manager.h
index c391c76..fef410a 100644
--- a/src/libgui/gui_debug_manager.h
+++ b/src/libgui/gui_debug_manager.h
@@ -20,7 +20,7 @@ namespace Debugger
class GuiManager : public Manager
{
Q_OBJECT
- TQ_OBJECT
+
public:
GuiManager() {}
virtual void updateDevice();
diff --git a/src/libgui/gui_prog_manager.h b/src/libgui/gui_prog_manager.h
index b747da6..af27dfc 100644
--- a/src/libgui/gui_prog_manager.h
+++ b/src/libgui/gui_prog_manager.h
@@ -17,7 +17,7 @@ namespace Programmer
class GuiManager : public Manager
{
Q_OBJECT
- TQ_OBJECT
+
public:
GuiManager(TQObject *parent) : Manager(parent) {}
virtual void createProgrammer(const Device::Data *data);
diff --git a/src/libgui/hex_editor.h b/src/libgui/hex_editor.h
index 50df57c..420eeeb 100644
--- a/src/libgui/hex_editor.h
+++ b/src/libgui/hex_editor.h
@@ -22,7 +22,7 @@ class HexEditor;
class HexEditorPart : public KParts::ReadWritePart
{
Q_OBJECT
- TQ_OBJECT
+
public:
HexEditorPart(HexEditor *editor);
virtual void setReadWrite(bool readWrite);
@@ -36,7 +36,7 @@ private:
class HexEditor : public DeviceEditor
{
Q_OBJECT
- TQ_OBJECT
+
public:
HexEditor(const TQString &name, TQWidget *parent);
HexEditor(TQWidget *parent);
diff --git a/src/libgui/likeback.h b/src/libgui/likeback.h
index 1fdb165..e8db1d1 100644
--- a/src/libgui/likeback.h
+++ b/src/libgui/likeback.h
@@ -36,7 +36,7 @@ class KAboutData;
class LikeBack : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
enum Button { ILike = 0x01, IDoNotLike = 0x02, IFoundABug = 0x04, Configure = 0x10,
AllButtons = ILike | IDoNotLike | IFoundABug | Configure };
@@ -103,7 +103,7 @@ class LikeBack : public TQWidget
class LikeBackDialog : public KDialog
{
Q_OBJECT
- TQ_OBJECT
+
public:
LikeBackDialog(LikeBack::Button reason, TQString windowName, TQString context);
~LikeBackDialog();
diff --git a/src/libgui/log_view.h b/src/libgui/log_view.h
index 5f0fa44..7cac581 100644
--- a/src/libgui/log_view.h
+++ b/src/libgui/log_view.h
@@ -19,7 +19,7 @@ enum OutputType { GuiOnly = 0, GuiConsole, Nb_OutputTypes };
class Widget : public TQTextEdit, public View
{
Q_OBJECT
- TQ_OBJECT
+
public:
Widget(TQWidget *parent = 0, const char *name = 0);
virtual void appendToLastLine(const TQString &text);
diff --git a/src/libgui/new_dialogs.h b/src/libgui/new_dialogs.h
index dd71f67..dbdb09e 100644
--- a/src/libgui/new_dialogs.h
+++ b/src/libgui/new_dialogs.h
@@ -25,7 +25,7 @@ class Project;
class NewDialog : public Dialog
{
Q_OBJECT
- TQ_OBJECT
+
public:
NewDialog(const TQString &caption, TQWidget *parent);
@@ -45,7 +45,7 @@ private slots:
class NewFileDialog : public NewDialog
{
Q_OBJECT
- TQ_OBJECT
+
public:
NewFileDialog(Project *project, TQWidget *parent);
PURL::Url url() const;
diff --git a/src/libgui/object_view.h b/src/libgui/object_view.h
index f65ba59..bc57b56 100644
--- a/src/libgui/object_view.h
+++ b/src/libgui/object_view.h
@@ -24,7 +24,7 @@ class TextObject;
class BaseEditor : public SimpleTextEditor, public Log::Base
{
Q_OBJECT
- TQ_OBJECT
+
public:
BaseEditor(const PURL::Url &source, const Device::Data *data, TQWidget *parent);
virtual ~BaseEditor();
@@ -41,7 +41,7 @@ protected:
class CoffEditor : public BaseEditor
{
Q_OBJECT
- TQ_OBJECT
+
public:
CoffEditor(const PURL::Url &source, const Device::Data &data, TQWidget *parent);
CoffEditor(const TextObject &object, TQWidget *parent);
@@ -56,7 +56,7 @@ private:
class ObjectEditor : public BaseEditor
{
Q_OBJECT
- TQ_OBJECT
+
public:
ObjectEditor(const PURL::Url &source, TQWidget *parent);
virtual PURL::FileType fileType() const { return PURL::Unknown; }
@@ -70,7 +70,7 @@ private:
class LibraryEditor : public BaseEditor
{
Q_OBJECT
- TQ_OBJECT
+
public:
LibraryEditor(const PURL::Url &source, TQWidget *parent);
virtual PURL::FileType fileType() const { return PURL::Unknown; }
@@ -86,7 +86,7 @@ private:
class DisassemblyEditor : public SimpleTextEditor, public Log::Base
{
Q_OBJECT
- TQ_OBJECT
+
public:
DisassemblyEditor(const PURL::Url &hexUrl, const Device::Data &data, TQWidget *parent);
DisassemblyEditor(const HexEditor &e, const Device::Data &data, TQWidget *parent);
diff --git a/src/libgui/project_editor.h b/src/libgui/project_editor.h
index ce08aca..eb1c043 100644
--- a/src/libgui/project_editor.h
+++ b/src/libgui/project_editor.h
@@ -30,7 +30,7 @@ namespace DeviceChooser { class Button; }
class ProjectEditor : public Dialog
{
Q_OBJECT
- TQ_OBJECT
+
public:
ProjectEditor(Project &project, TQWidget *parent);
diff --git a/src/libgui/project_manager.h b/src/libgui/project_manager.h
index 78655b8..63e3979 100644
--- a/src/libgui/project_manager.h
+++ b/src/libgui/project_manager.h
@@ -24,7 +24,7 @@ namespace ProjectManager
class View : public ListView
{
Q_OBJECT
- TQ_OBJECT
+
public:
View(TQWidget *parent);
virtual ~View();
diff --git a/src/libgui/project_manager_ui.h b/src/libgui/project_manager_ui.h
index ea8676e..bad071c 100644
--- a/src/libgui/project_manager_ui.h
+++ b/src/libgui/project_manager_ui.h
@@ -20,7 +20,7 @@
class PopupMenu : public KPopupMenu
{
Q_OBJECT
- TQ_OBJECT
+
public:
PopupMenu() : _index(1) {}
void insertItem(const TQString &icon, const TQString &label, TQObject *receiver = 0, const char *slot = 0);
diff --git a/src/libgui/project_wizard.h b/src/libgui/project_wizard.h
index e12ed00..abb3880 100644
--- a/src/libgui/project_wizard.h
+++ b/src/libgui/project_wizard.h
@@ -43,7 +43,7 @@ private:
class FileListBox : public EditListBox
{
Q_OBJECT
- TQ_OBJECT
+
public:
FileListBox(TQWidget *parent);
void setDirectory(const PURL::Directory &directory) { _directory = directory; }
@@ -64,7 +64,7 @@ private:
class ProjectWizard : public KWizard
{
Q_OBJECT
- TQ_OBJECT
+
public:
ProjectWizard(TQWidget *parent);
PURL::Url url() const;
diff --git a/src/libgui/register_view.h b/src/libgui/register_view.h
index 18d9f1b..b4fea91 100644
--- a/src/libgui/register_view.h
+++ b/src/libgui/register_view.h
@@ -20,7 +20,7 @@ class View;
class MainView : public DeviceEditor
{
Q_OBJECT
- TQ_OBJECT
+
public:
MainView(const TQString &title, const TQString &tag, TQWidget *parent = 0);
virtual bool isModified() const { return false; }
diff --git a/src/libgui/text_editor.h b/src/libgui/text_editor.h
index d5c90c5..97704a6 100644
--- a/src/libgui/text_editor.h
+++ b/src/libgui/text_editor.h
@@ -25,7 +25,7 @@ class TQSplitter;
class TextEditor : public Editor
{
Q_OBJECT
- TQ_OBJECT
+
public:
TextEditor(bool withDebugger, TQWidget *parent, const char *name = 0);
virtual PURL::FileType fileType() const { return url().fileType(); }
@@ -84,7 +84,7 @@ private:
class SimpleTextEditor : public TextEditor
{
Q_OBJECT
- TQ_OBJECT
+
public:
SimpleTextEditor(bool withDebugger, PURL::FileType type, TQWidget *parent, const char *name = 0);
SimpleTextEditor(bool withDebugger, TQWidget *parent, const char *name = 0);
diff --git a/src/libgui/toplevel.h b/src/libgui/toplevel.h
index a3c6306..2f09bd0 100644
--- a/src/libgui/toplevel.h
+++ b/src/libgui/toplevel.h
@@ -26,7 +26,7 @@ namespace Process { class Base; }
class MainWindow : public KDockMainWindow
{
Q_OBJECT
- TQ_OBJECT
+
public:
MainWindow();
virtual ~MainWindow();
diff --git a/src/libgui/toplevel_ui.h b/src/libgui/toplevel_ui.h
index 77ae7fc..1f769e4 100644
--- a/src/libgui/toplevel_ui.h
+++ b/src/libgui/toplevel_ui.h
@@ -21,7 +21,7 @@ namespace Tool { class Group; }
class ProgrammerStatusWidget : public TQObject, public KeyPopupButton<TQString>
{
Q_OBJECT
- TQ_OBJECT
+
public:
ProgrammerStatusWidget(TQWidget *parent);
@@ -37,7 +37,7 @@ private slots:
class ToolStatusWidget : public TQObject, public KeyPopupButton<TQString>
{
Q_OBJECT
- TQ_OBJECT
+
public:
ToolStatusWidget(TQWidget *parent);
@@ -54,7 +54,7 @@ private slots:
class ViewMenuAction : public KToggleAction
{
Q_OBJECT
- TQ_OBJECT
+
public:
ViewMenuAction(KDockWidget *widget);
@@ -72,7 +72,7 @@ private:
class MenuBarButton : public TQToolButton
{
Q_OBJECT
- TQ_OBJECT
+
public:
MenuBarButton(const TQString &icon, TQWidget *parent);
virtual TQSize sizeHint() const;
diff --git a/src/libgui/watch_view.h b/src/libgui/watch_view.h
index 0a09426..35a3d8d 100644
--- a/src/libgui/watch_view.h
+++ b/src/libgui/watch_view.h
@@ -22,7 +22,7 @@ namespace Register
class BaseListView : public ListView
{
Q_OBJECT
- TQ_OBJECT
+
public:
BaseListView(TQWidget *parent);
virtual void init(const Device::Data *data) = 0;
@@ -41,7 +41,7 @@ protected:
class RegisterListView : public BaseListView
{
Q_OBJECT
- TQ_OBJECT
+
public:
RegisterListView(TQWidget *parent);
virtual void init(const Device::Data *data);
@@ -56,7 +56,7 @@ private slots:
class WatchedListView : public BaseListView
{
Q_OBJECT
- TQ_OBJECT
+
public:
WatchedListView(TQWidget *parent);
virtual TQString tooltip(const TQListViewItem &item, int col) const;
@@ -79,7 +79,7 @@ private:
class WatchView : public TQWidget, public GenericView
{
Q_OBJECT
- TQ_OBJECT
+
public:
WatchView(TQWidget *parent);
void init(bool force);