summaryrefslogtreecommitdiffstats
path: root/twin
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-20 15:05:42 +0900
committerMichele Calgaro <[email protected]>2023-07-20 15:05:42 +0900
commit814bf5fc4f403c13b0d8274c7f13fbef183c5c84 (patch)
tree96dc8b35683388ab4d17734791984f05d2e82621 /twin
parent873f0a21c92bc7b737cade48526afddc219aacc3 (diff)
downloadtdebase-814bf5fc4f403c13b0d8274c7f13fbef183c5c84.tar.gz
tdebase-814bf5fc4f403c13b0d8274c7f13fbef183c5c84.zip
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'twin')
-rw-r--r--twin/client.h2
-rw-r--r--twin/clients/b2/b2client.h2
-rw-r--r--twin/clients/b2/config/config.h2
-rw-r--r--twin/clients/default/config/config.h2
-rw-r--r--twin/clients/keramik/config/config.h2
-rw-r--r--twin/clients/keramik/keramik.h2
-rw-r--r--twin/clients/kwmtheme/kwmthemeclient.h2
-rw-r--r--twin/clients/modernsystem/config/config.h2
-rw-r--r--twin/clients/plastik/config/config.h2
-rw-r--r--twin/clients/plastik/plastik.h2
-rw-r--r--twin/clients/plastik/plastikbutton.h2
-rw-r--r--twin/clients/quartz/config/config.h2
-rw-r--r--twin/clients/quartz/quartz.h2
-rw-r--r--twin/clients/redmond/redmond.h4
-rw-r--r--twin/clients/test/test.h2
-rw-r--r--twin/clients/web/Web.h2
-rw-r--r--twin/geometrytip.h2
-rw-r--r--twin/kcmtwin/twindecoration/buttons.h6
-rw-r--r--twin/kcmtwin/twindecoration/preview.h2
-rw-r--r--twin/kcmtwin/twindecoration/twindecoration.h2
-rw-r--r--twin/kcmtwin/twinoptions/main.h4
-rw-r--r--twin/kcmtwin/twinoptions/mouse.h6
-rw-r--r--twin/kcmtwin/twinoptions/windows.h8
-rw-r--r--twin/kcmtwin/twinrules/detectwidget.h4
-rw-r--r--twin/kcmtwin/twinrules/kcm.h2
-rw-r--r--twin/kcmtwin/twinrules/ruleslist.h2
-rw-r--r--twin/kcmtwin/twinrules/ruleswidget.h10
-rw-r--r--twin/lib/kcommondecoration.h4
-rw-r--r--twin/lib/kdecoration.h2
-rw-r--r--twin/main.h2
-rw-r--r--twin/popupinfo.h2
-rw-r--r--twin/sm.h2
-rw-r--r--twin/tabbox.h2
-rw-r--r--twin/tools/decobenchmark/main.h2
-rw-r--r--twin/utils.h4
-rw-r--r--twin/workspace.h2
36 files changed, 52 insertions, 52 deletions
diff --git a/twin/client.h b/twin/client.h
index 302baaa62..d895fc441 100644
--- a/twin/client.h
+++ b/twin/client.h
@@ -45,7 +45,7 @@ class Bridge;
class Client : public TQObject, public KDecorationDefines
{
- Q_OBJECT
+ TQ_OBJECT
public:
Client( Workspace *ws );
Window window() const;
diff --git a/twin/clients/b2/b2client.h b/twin/clients/b2/b2client.h
index 30220b175..e200843a4 100644
--- a/twin/clients/b2/b2client.h
+++ b/twin/clients/b2/b2client.h
@@ -93,7 +93,7 @@ private:
class B2Client : public KDecoration
{
- Q_OBJECT
+ TQ_OBJECT
friend class B2Titlebar;
public:
B2Client(KDecorationBridge *b, KDecorationFactory *f);
diff --git a/twin/clients/b2/config/config.h b/twin/clients/b2/config/config.h
index a5382dc45..0a3e7c9ec 100644
--- a/twin/clients/b2/config/config.h
+++ b/twin/clients/b2/config/config.h
@@ -18,7 +18,7 @@
class B2Config: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
B2Config( TDEConfig* conf, TQWidget* parent );
diff --git a/twin/clients/default/config/config.h b/twin/clients/default/config/config.h
index daf38af95..d01459a13 100644
--- a/twin/clients/default/config/config.h
+++ b/twin/clients/default/config/config.h
@@ -19,7 +19,7 @@
class KDEDefaultConfig: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
KDEDefaultConfig( TDEConfig* conf, TQWidget* parent );
diff --git a/twin/clients/keramik/config/config.h b/twin/clients/keramik/config/config.h
index 721248a09..42f3a44e2 100644
--- a/twin/clients/keramik/config/config.h
+++ b/twin/clients/keramik/config/config.h
@@ -31,7 +31,7 @@
class KeramikConfig: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/twin/clients/keramik/keramik.h b/twin/clients/keramik/keramik.h
index 54639dece..793531c87 100644
--- a/twin/clients/keramik/keramik.h
+++ b/twin/clients/keramik/keramik.h
@@ -137,7 +137,7 @@ namespace Keramik {
class KeramikClient : public KDecoration
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/twin/clients/kwmtheme/kwmthemeclient.h b/twin/clients/kwmtheme/kwmthemeclient.h
index 58db3d14f..f611e89d2 100644
--- a/twin/clients/kwmtheme/kwmthemeclient.h
+++ b/twin/clients/kwmtheme/kwmthemeclient.h
@@ -24,7 +24,7 @@ protected:
class KWMThemeClient : public KDecoration
{
- Q_OBJECT
+ TQ_OBJECT
public:
KWMThemeClient( KDecorationBridge* b, KDecorationFactory* f );
~KWMThemeClient(){;}
diff --git a/twin/clients/modernsystem/config/config.h b/twin/clients/modernsystem/config/config.h
index 20ce5539e..004dd9855 100644
--- a/twin/clients/modernsystem/config/config.h
+++ b/twin/clients/modernsystem/config/config.h
@@ -10,7 +10,7 @@
class ModernSysConfig : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
ModernSysConfig(TDEConfig* conf, TQWidget* parent);
diff --git a/twin/clients/plastik/config/config.h b/twin/clients/plastik/config/config.h
index 73231c50f..d83ebf149 100644
--- a/twin/clients/plastik/config/config.h
+++ b/twin/clients/plastik/config/config.h
@@ -32,7 +32,7 @@ class ConfigDialog;
class PlastikConfig : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
PlastikConfig(TDEConfig* config, TQWidget* parent);
~PlastikConfig();
diff --git a/twin/clients/plastik/plastik.h b/twin/clients/plastik/plastik.h
index a4c1bc5b7..85b9e5fa0 100644
--- a/twin/clients/plastik/plastik.h
+++ b/twin/clients/plastik/plastik.h
@@ -73,7 +73,7 @@ enum ButtonIcon {
class PlastikHandler: public TQObject, public KDecorationFactory
{
- Q_OBJECT
+ TQ_OBJECT
public:
PlastikHandler();
~PlastikHandler();
diff --git a/twin/clients/plastik/plastikbutton.h b/twin/clients/plastik/plastikbutton.h
index dbebcf63f..6da87100f 100644
--- a/twin/clients/plastik/plastikbutton.h
+++ b/twin/clients/plastik/plastikbutton.h
@@ -37,7 +37,7 @@ class PlastikClient;
class PlastikButton : public KCommonDecorationButton
{
- Q_OBJECT
+ TQ_OBJECT
public:
PlastikButton(ButtonType type, PlastikClient *parent, const char *name);
~PlastikButton();
diff --git a/twin/clients/quartz/config/config.h b/twin/clients/quartz/config/config.h
index e43c18179..a468d8703 100644
--- a/twin/clients/quartz/config/config.h
+++ b/twin/clients/quartz/config/config.h
@@ -16,7 +16,7 @@
class QuartzConfig: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
QuartzConfig( TDEConfig* conf, TQWidget* parent );
diff --git a/twin/clients/quartz/quartz.h b/twin/clients/quartz/quartz.h
index d0ab64faf..d0db8b103 100644
--- a/twin/clients/quartz/quartz.h
+++ b/twin/clients/quartz/quartz.h
@@ -30,7 +30,7 @@ class QuartzClient;
class QuartzHandler: public TQObject, public KDecorationFactory
{
- Q_OBJECT
+ TQ_OBJECT
public:
QuartzHandler();
~QuartzHandler();
diff --git a/twin/clients/redmond/redmond.h b/twin/clients/redmond/redmond.h
index 211763535..3ef7337fb 100644
--- a/twin/clients/redmond/redmond.h
+++ b/twin/clients/redmond/redmond.h
@@ -29,7 +29,7 @@ class RedmondDeco;
class RedmondButton : public KCommonDecorationButton
{
- Q_OBJECT
+ TQ_OBJECT
public:
RedmondButton(ButtonType type, RedmondDeco *parent, const char *name);
void setBitmap(const unsigned char *bitmap);
@@ -72,7 +72,7 @@ private:
class RedmondDecoFactory : public TQObject, public KDecorationFactory
{
- Q_OBJECT
+ TQ_OBJECT
public:
RedmondDecoFactory();
virtual ~RedmondDecoFactory();
diff --git a/twin/clients/test/test.h b/twin/clients/test/test.h
index bfe36fa7c..f735df6c4 100644
--- a/twin/clients/test/test.h
+++ b/twin/clients/test/test.h
@@ -15,7 +15,7 @@ const int SUPPORTED_WINDOW_TYPES_MASK = NET::NormalMask | NET::DesktopMask | NET
class Decoration
: public KDecoration
{
- Q_OBJECT
+ TQ_OBJECT
public:
Decoration( KDecorationBridge* bridge, KDecorationFactory* factory );
virtual void init();
diff --git a/twin/clients/web/Web.h b/twin/clients/web/Web.h
index d73f370d3..175928c91 100644
--- a/twin/clients/web/Web.h
+++ b/twin/clients/web/Web.h
@@ -69,7 +69,7 @@ namespace Web
class WebFactory : public TQObject, public KDecorationFactory
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/twin/geometrytip.h b/twin/geometrytip.h
index a9c194250..40c2a63eb 100644
--- a/twin/geometrytip.h
+++ b/twin/geometrytip.h
@@ -19,7 +19,7 @@ namespace KWinInternal
class GeometryTip: public TQLabel
{
- Q_OBJECT
+ TQ_OBJECT
public:
GeometryTip( const XSizeHints* xSizeHints, bool save_under );
~GeometryTip();
diff --git a/twin/kcmtwin/twindecoration/buttons.h b/twin/kcmtwin/twindecoration/buttons.h
index 0564d8915..c9f562208 100644
--- a/twin/kcmtwin/twindecoration/buttons.h
+++ b/twin/kcmtwin/twindecoration/buttons.h
@@ -111,7 +111,7 @@ class ButtonSourceItem : public TQListViewItem
*/
class ButtonSource : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
ButtonSource(TQWidget *parent = 0, const char* name = 0);
@@ -138,7 +138,7 @@ typedef TQValueList<ButtonDropSiteItem*> ButtonList;
*/
class ButtonDropSite: public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
ButtonDropSite( TQWidget* parent=0, const char* name=0 );
@@ -191,7 +191,7 @@ class ButtonDropSite: public TQFrame
class ButtonPositionWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ButtonPositionWidget(TQWidget *parent = 0, const char* name = 0);
diff --git a/twin/kcmtwin/twindecoration/preview.h b/twin/kcmtwin/twindecoration/preview.h
index 56a342cfc..8a7827d96 100644
--- a/twin/kcmtwin/twindecoration/preview.h
+++ b/twin/kcmtwin/twindecoration/preview.h
@@ -32,7 +32,7 @@ class KDecorationPreviewOptions;
class KDecorationPreview
: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
// Note: Windows can't be added or removed without making changes to
// the code, since parts of it assume there's just an active
diff --git a/twin/kcmtwin/twindecoration/twindecoration.h b/twin/kcmtwin/twindecoration/twindecoration.h
index 5f5f94ab9..b55455c12 100644
--- a/twin/kcmtwin/twindecoration/twindecoration.h
+++ b/twin/kcmtwin/twindecoration/twindecoration.h
@@ -61,7 +61,7 @@ struct DecorationInfo
class KWinDecorationModule : public TDECModule, virtual public KWinDecorationIface, public KDecorationDefines
{
- Q_OBJECT
+ TQ_OBJECT
public:
KWinDecorationModule(TQWidget* parent, const char* name, const TQStringList &);
diff --git a/twin/kcmtwin/twinoptions/main.h b/twin/kcmtwin/twinoptions/main.h
index af27701e8..18464ac79 100644
--- a/twin/kcmtwin/twinoptions/main.h
+++ b/twin/kcmtwin/twinoptions/main.h
@@ -38,7 +38,7 @@ class KTranslucencyConfig;
class KWinOptions : public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -74,7 +74,7 @@ private:
class TDEActionsOptions : public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/twin/kcmtwin/twinoptions/mouse.h b/twin/kcmtwin/twinoptions/mouse.h
index 5dd3b8402..2a57fc534 100644
--- a/twin/kcmtwin/twinoptions/mouse.h
+++ b/twin/kcmtwin/twinoptions/mouse.h
@@ -33,7 +33,7 @@ class TDEConfig;
class ToolTipComboBox: public TQComboBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
ToolTipComboBox(TQWidget * owner, char const * const * toolTips_)
@@ -51,7 +51,7 @@ protected:
class KTitleBarActionsConfig : public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -97,7 +97,7 @@ private slots:
class KWindowActionsConfig : public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/twin/kcmtwin/twinoptions/windows.h b/twin/kcmtwin/twinoptions/windows.h
index c7c4c711c..819035b9b 100644
--- a/twin/kcmtwin/twinoptions/windows.h
+++ b/twin/kcmtwin/twinoptions/windows.h
@@ -72,7 +72,7 @@ class TQHBox;
class KFocusConfig : public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
KFocusConfig( bool _standAlone, TDEConfig *_config, TQWidget *parent=0, const char* name=0 );
~KFocusConfig();
@@ -135,7 +135,7 @@ private:
class KMovingConfig : public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
KMovingConfig( bool _standAlone, TDEConfig *config, TQWidget *parent=0, const char* name=0 );
~KMovingConfig();
@@ -235,7 +235,7 @@ class KActiveBorderConfig : public TDECModule
class KAdvancedConfig : public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
KAdvancedConfig( bool _standAlone, TDEConfig *config, TQWidget *parent=0, const char* name=0 );
~KAdvancedConfig();
@@ -272,7 +272,7 @@ private:
class TDEProcess;
class KTranslucencyConfig : public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
KTranslucencyConfig( bool _standAlone, TDEConfig *config, TQWidget *parent=0, const char* name=0 );
~KTranslucencyConfig();
diff --git a/twin/kcmtwin/twinrules/detectwidget.h b/twin/kcmtwin/twinrules/detectwidget.h
index 75e725f5f..ecd608ea7 100644
--- a/twin/kcmtwin/twinrules/detectwidget.h
+++ b/twin/kcmtwin/twinrules/detectwidget.h
@@ -33,7 +33,7 @@ namespace KWinInternal
class DetectWidget
: public DetectWidgetBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
DetectWidget( TQWidget* parent = NULL, const char* name = NULL );
};
@@ -41,7 +41,7 @@ class DetectWidget
class DetectDialog
: public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
DetectDialog( TQWidget* parent = NULL, const char* name = NULL );
void detect( WId window );
diff --git a/twin/kcmtwin/twinrules/kcm.h b/twin/kcmtwin/twinrules/kcm.h
index 5e89a7773..54e044845 100644
--- a/twin/kcmtwin/twinrules/kcm.h
+++ b/twin/kcmtwin/twinrules/kcm.h
@@ -34,7 +34,7 @@ class KCMRulesList;
class KCMRules
: public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
KCMRules( TQWidget *parent, const char *name );
virtual void load();
diff --git a/twin/kcmtwin/twinrules/ruleslist.h b/twin/kcmtwin/twinrules/ruleslist.h
index f7e7fb541..837ad6840 100644
--- a/twin/kcmtwin/twinrules/ruleslist.h
+++ b/twin/kcmtwin/twinrules/ruleslist.h
@@ -34,7 +34,7 @@ namespace KWinInternal
class KCMRulesList
: public KCMRulesListBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
KCMRulesList( TQWidget* parent = NULL, const char* name = NULL );
virtual ~KCMRulesList();
diff --git a/twin/kcmtwin/twinrules/ruleswidget.h b/twin/kcmtwin/twinrules/ruleswidget.h
index 4d22e1826..4c4ef4be0 100644
--- a/twin/kcmtwin/twinrules/ruleswidget.h
+++ b/twin/kcmtwin/twinrules/ruleswidget.h
@@ -36,7 +36,7 @@ class DetectDialog;
class RulesWidget
: public RulesWidgetBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
RulesWidget( TQWidget* parent = NULL, const char* name = NULL );
void setRules( Rules* r );
@@ -97,7 +97,7 @@ class RulesWidget
class RulesDialog
: public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
RulesDialog( TQWidget* parent = NULL, const char* name = NULL );
Rules* edit( Rules* r, WId window, bool show_hints );
@@ -113,7 +113,7 @@ class RulesDialog
class EditShortcut
: public EditShortcutBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
EditShortcut( TQWidget* parent = NULL, const char* name = NULL );
protected:
@@ -124,7 +124,7 @@ class EditShortcut
class EditShortcutDialog
: public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
EditShortcutDialog( TQWidget* parent = NULL, const char* name = NULL );
void setShortcut( const TQString& cut );
@@ -137,7 +137,7 @@ class EditShortcutDialog
class ShortcutDialog
: public TDEShortcutDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
ShortcutDialog( const TDEShortcut& cut, TQWidget* parent = NULL, const char* name = NULL );
virtual void accept();
diff --git a/twin/lib/kcommondecoration.h b/twin/lib/kcommondecoration.h
index c914628e6..1ef9b1bba 100644
--- a/twin/lib/kcommondecoration.h
+++ b/twin/lib/kcommondecoration.h
@@ -58,7 +58,7 @@ class KCommonDecorationPrivate;
*/
class KWIN_EXPORT KCommonDecoration : public KDecoration
{
- Q_OBJECT
+ TQ_OBJECT
public:
KCommonDecoration(KDecorationBridge* bridge, KDecorationFactory* factory);
@@ -293,7 +293,7 @@ class KWIN_EXPORT KCommonDecorationButton : public TQButton
{
friend class KCommonDecoration;
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/twin/lib/kdecoration.h b/twin/lib/kdecoration.h
index 693007a03..af226a016 100644
--- a/twin/lib/kdecoration.h
+++ b/twin/lib/kdecoration.h
@@ -313,7 +313,7 @@ protected:
class KWIN_EXPORT KDecoration
: public TQObject, public KDecorationDefines
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
* Constructs a KDecoration object. Both the arguments are passed from
diff --git a/twin/main.h b/twin/main.h
index d1fb59c6e..f8f27427a 100644
--- a/twin/main.h
+++ b/twin/main.h
@@ -21,7 +21,7 @@ namespace KWinInternal
class Application : public TDEApplication
{
- Q_OBJECT
+ TQ_OBJECT
public:
Application();
~Application();
diff --git a/twin/popupinfo.h b/twin/popupinfo.h
index 30ff76b30..40bdfe5c8 100644
--- a/twin/popupinfo.h
+++ b/twin/popupinfo.h
@@ -22,7 +22,7 @@ class Workspace;
class PopupInfo : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
PopupInfo( Workspace* ws, const char *name=0 );
~PopupInfo();
diff --git a/twin/sm.h b/twin/sm.h
index 66cca9396..c1542e721 100644
--- a/twin/sm.h
+++ b/twin/sm.h
@@ -61,7 +61,7 @@ enum SMSavePhase
class SessionSaveDoneHelper
: public QObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
SessionSaveDoneHelper();
virtual ~SessionSaveDoneHelper();
diff --git a/twin/tabbox.h b/twin/tabbox.h
index f9e3a8e0f..3fd419ad7 100644
--- a/twin/tabbox.h
+++ b/twin/tabbox.h
@@ -27,7 +27,7 @@ class Client;
class TabBox : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
TabBox( Workspace *ws, const char *name=0 );
~TabBox();
diff --git a/twin/tools/decobenchmark/main.h b/twin/tools/decobenchmark/main.h
index 41f4ff691..3745697f0 100644
--- a/twin/tools/decobenchmark/main.h
+++ b/twin/tools/decobenchmark/main.h
@@ -31,7 +31,7 @@ enum Tests {
class DecoBenchApplication : public TDEApplication
{
- Q_OBJECT
+ TQ_OBJECT
public:
DecoBenchApplication(const TQString &library, Tests tests, int count);
~DecoBenchApplication();
diff --git a/twin/utils.h b/twin/utils.h
index f1c1e772e..36e9879a5 100644
--- a/twin/utils.h
+++ b/twin/utils.h
@@ -179,7 +179,7 @@ class Motif
class KWinSelectionOwner
: public TDESelectionOwner
{
- Q_OBJECT
+ TQ_OBJECT
public:
KWinSelectionOwner( int screen );
protected:
@@ -280,7 +280,7 @@ void checkNonExistentClients();
class ShortcutDialog
: public TDEShortcutDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
ShortcutDialog( const TDEShortcut& cut );
virtual void accept();
diff --git a/twin/workspace.h b/twin/workspace.h
index 37659332d..40646f072 100644
--- a/twin/workspace.h
+++ b/twin/workspace.h
@@ -72,7 +72,7 @@ typedef TQValueList<SystemTrayWindow> SystemTrayWindowList;
class Workspace : public TQObject, public KWinInterface, public KDecorationDefines
{
- Q_OBJECT
+ TQ_OBJECT
public:
Workspace( bool restore = FALSE );
virtual ~Workspace();