summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-17 16:01:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-17 16:01:33 -0600
commitfbbad1fdbec7cab719c3e9bdb6d8693cf8b3e61d (patch)
tree44afa11fb537fa93881a338ae3b58f50e0e57371 /src/common
parent8ac8ddd6c1dcbda5e0240f5b2ad51800130f7360 (diff)
downloadpiklab-fbbad1fdbec7cab719c3e9bdb6d8693cf8b3e61d.tar.gz
piklab-fbbad1fdbec7cab719c3e9bdb6d8693cf8b3e61d.zip
Remove spurious TQ_OBJECT instances
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cli/cli_main.h2
-rw-r--r--src/common/common/storage.h4
-rw-r--r--src/common/common/synchronous.h2
-rw-r--r--src/common/global/process.h10
-rw-r--r--src/common/global/progress_monitor.h2
-rw-r--r--src/common/global/purl.h2
-rw-r--r--src/common/gui/config_widget.h2
-rw-r--r--src/common/gui/container.h4
-rw-r--r--src/common/gui/dialog.h6
-rw-r--r--src/common/gui/editlistbox.h2
-rw-r--r--src/common/gui/hexword_gui.h6
-rw-r--r--src/common/gui/list_container.h2
-rw-r--r--src/common/gui/list_view.h2
-rw-r--r--src/common/gui/misc_gui.h12
-rw-r--r--src/common/gui/number_gui.h2
-rw-r--r--src/common/gui/purl_gui.h10
-rw-r--r--src/common/nokde/nokde_kprocess.h2
17 files changed, 36 insertions, 36 deletions
diff --git a/src/common/cli/cli_main.h b/src/common/cli/cli_main.h
index b0d71cb..42941ad 100644
--- a/src/common/cli/cli_main.h
+++ b/src/common/cli/cli_main.h
@@ -58,7 +58,7 @@ private:
class MainBase : public TQObject, public Log::Base
{
Q_OBJECT
- TQ_OBJECT
+
public:
MainBase(Properties properties);
virtual OptionList optionList(const char *fileDescription) const;
diff --git a/src/common/common/storage.h b/src/common/common/storage.h
index b324ab5..18d375a 100644
--- a/src/common/common/storage.h
+++ b/src/common/common/storage.h
@@ -35,7 +35,7 @@ private:
class GenericStorage : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
GenericStorage(TQObject *parent = 0, const char *name = 0) : TQObject(parent, name), _dirty(false) {}
@@ -59,7 +59,7 @@ class GenericView;
class GenericViewProxy : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
GenericViewProxy(GenericView &view) : _view(view) {}
void addStorage(GenericStorage &storage);
diff --git a/src/common/common/synchronous.h b/src/common/common/synchronous.h
index 759747a..d7d3d00 100644
--- a/src/common/common/synchronous.h
+++ b/src/common/common/synchronous.h
@@ -15,7 +15,7 @@
class Synchronous : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
Synchronous(uint timeout = 0); // timeout is ms (0 == no timeout)
bool enterLoop(); // return false on timeout
diff --git a/src/common/global/process.h b/src/common/global/process.h
index daa8513..083fb0a 100644
--- a/src/common/global/process.h
+++ b/src/common/global/process.h
@@ -31,7 +31,7 @@ extern State runSynchronously(Base &process, RunActions actions, uint timeout);
class Base : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
Base(TQObject *parent, const char *name);
virtual ~Base();
@@ -75,7 +75,7 @@ protected:
class StringOutput : public Base
{
Q_OBJECT
- TQ_OBJECT
+
public:
StringOutput(TQObject *parent = 0, const char *name = 0) : Base(parent, name) {}
TQString sout() const { return _stdout; }
@@ -90,7 +90,7 @@ private slots:
class LineBase : public Base
{
Q_OBJECT
- TQ_OBJECT
+
public:
LineBase(TQObject *parent = 0, const char *name = 0) : Base(parent, name) {}
@@ -107,7 +107,7 @@ private:
class LineOutput : public LineBase
{
Q_OBJECT
- TQ_OBJECT
+
public:
LineOutput(TQObject *parent = 0, const char *name = 0) : LineBase(parent, name) {}
virtual bool start(uint timeout);
@@ -125,7 +125,7 @@ protected:
class LineSignal : public LineBase
{
Q_OBJECT
- TQ_OBJECT
+
public:
LineSignal(TQObject *parent = 0, const char *name = 0) : LineBase(parent, name) {}
diff --git a/src/common/global/progress_monitor.h b/src/common/global/progress_monitor.h
index 03628f7..3ccf424 100644
--- a/src/common/global/progress_monitor.h
+++ b/src/common/global/progress_monitor.h
@@ -14,7 +14,7 @@
class ProgressMonitor : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
ProgressMonitor(TQObject *parent = 0);
void clear();
diff --git a/src/common/global/purl.h b/src/common/global/purl.h
index a0ee295..3fc373e 100644
--- a/src/common/global/purl.h
+++ b/src/common/global/purl.h
@@ -20,7 +20,7 @@ namespace PURL
class Http : public TQHttp
{
Q_OBJECT
- TQ_OBJECT
+
public:
Http(const TQString &hostname);
TQHttpResponseHeader _header;
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) {}
diff --git a/src/common/nokde/nokde_kprocess.h b/src/common/nokde/nokde_kprocess.h
index a18d5c5..06d6851 100644
--- a/src/common/nokde/nokde_kprocess.h
+++ b/src/common/nokde/nokde_kprocess.h
@@ -13,7 +13,7 @@ class Q3Process;
class KProcess : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
KProcess(TQObject *parent = 0, const char *name = 0);
void clearArguments() { _arguments.clear(); }