summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 13:18:38 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-24 17:46:11 +0900
commitda8cf2c4b269dfb76e66cba765b995bd367c67e6 (patch)
tree498450c4f71adccff32dc7dbf438ed590263ea60
parentb62a1922fab2031d49fa921cf4b5dae3d9c7091c (diff)
downloadkmplayer-da8cf2c4b269dfb76e66cba765b995bd367c67e6.tar.gz
kmplayer-da8cf2c4b269dfb76e66cba765b995bd367c67e6.zip
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f15328299d0c380543f17448311292fe57fae751)
-rw-r--r--src/gstplayer.h2
-rw-r--r--src/kmplayer.h2
-rw-r--r--src/kmplayer_koffice_part.h4
-rw-r--r--src/kmplayer_part.h8
-rw-r--r--src/kmplayer_smil.h2
-rw-r--r--src/kmplayerappsource.h16
-rw-r--r--src/kmplayerbroadcast.h6
-rw-r--r--src/kmplayerconfig.h2
-rw-r--r--src/kmplayercontrolpanel.h8
-rw-r--r--src/kmplayerpartbase.h8
-rw-r--r--src/kmplayerprocess.h22
-rw-r--r--src/kmplayersource.h2
-rw-r--r--src/kmplayertvsource.h8
-rw-r--r--src/kmplayervdr.h6
-rw-r--r--src/kmplayerview.h4
-rw-r--r--src/playlistview.h2
-rw-r--r--src/pref.h22
-rw-r--r--src/viewarea.h2
-rw-r--r--src/xineplayer.h2
-rw-r--r--src/xvplayer.h2
20 files changed, 65 insertions, 65 deletions
diff --git a/src/gstplayer.h b/src/gstplayer.h
index fc9b4e4..688f8ce 100644
--- a/src/gstplayer.h
+++ b/src/gstplayer.h
@@ -37,7 +37,7 @@ struct GstProgressEvent : public TQEvent {
};
class KGStreamerPlayer : public TQApplication {
- Q_OBJECT
+ TQ_OBJECT
public:
KGStreamerPlayer (int argc, char ** argv);
diff --git a/src/kmplayer.h b/src/kmplayer.h
index 9143933..ebe68d7 100644
--- a/src/kmplayer.h
+++ b/src/kmplayer.h
@@ -57,7 +57,7 @@ namespace KMPlayer {
class KMPlayerApp : public TDEMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/src/kmplayer_koffice_part.h b/src/kmplayer_koffice_part.h
index 5a68560..a53fc45 100644
--- a/src/kmplayer_koffice_part.h
+++ b/src/kmplayer_koffice_part.h
@@ -50,7 +50,7 @@ namespace KMPlayer {
class KOfficeMPlayer;
class KOfficeMPlayerView : public KoView {
- Q_OBJECT
+ TQ_OBJECT
public:
KOfficeMPlayerView (KOfficeMPlayer* part, TQWidget* parent, const char* name = 0 );
@@ -62,7 +62,7 @@ private:
};
class KOfficeMPlayer : public KoDocument {
- Q_OBJECT
+ TQ_OBJECT
public:
KOfficeMPlayer (TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject* parent = 0, const char* name = 0, bool singleViewMode = false);
diff --git a/src/kmplayer_part.h b/src/kmplayer_part.h
index ed196f3..aa05659 100644
--- a/src/kmplayer_part.h
+++ b/src/kmplayer_part.h
@@ -33,7 +33,7 @@ class JSCommandEntry;
* Wrapper source for URLSource that has a HREF attribute
*/
class KMPLAYER_NO_EXPORT KMPlayerHRefSource : public KMPlayer::Source {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerHRefSource (KMPlayer::PartBase * player);
@@ -62,7 +62,7 @@ private:
* Part notifications to hosting application
*/
class KMPLAYER_NO_EXPORT KMPlayerBrowserExtension : public KParts::BrowserExtension {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerBrowserExtension(KMPlayerPart *parent);
@@ -81,7 +81,7 @@ public slots:
* Part javascript support
*/
class KMPLAYER_NO_EXPORT KMPlayerLiveConnectExtension : public KParts::LiveConnectExtension {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerLiveConnectExtension (KMPlayerPart * parent);
@@ -122,7 +122,7 @@ private:
* Part that gets created when used a KPart
*/
class KMPLAYER_NO_EXPORT KMPlayerPart : public KMPlayer::PartBase {
- Q_OBJECT
+ TQ_OBJECT
friend struct GroupPredicate;
public:
diff --git a/src/kmplayer_smil.h b/src/kmplayer_smil.h
index e624ff8..4313224 100644
--- a/src/kmplayer_smil.h
+++ b/src/kmplayer_smil.h
@@ -198,7 +198,7 @@ public:
};
class KMPLAYER_NO_EXPORT ImageRuntime : public TQObject,public MediaTypeRuntime {
- Q_OBJECT
+ TQ_OBJECT
public:
ImageRuntime (NodePtr e);
diff --git a/src/kmplayerappsource.h b/src/kmplayerappsource.h
index b8e1921..0c7c899 100644
--- a/src/kmplayerappsource.h
+++ b/src/kmplayerappsource.h
@@ -44,7 +44,7 @@ class TVChannel;
* Base class for sources having a sub menu in the application
*/
class KMPLAYER_NO_EXPORT KMPlayerMenuSource : public KMPlayer::Source {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerMenuSource (const TQString & n, KMPlayerApp * app, TQPopupMenu * m, const char * src);
@@ -59,7 +59,7 @@ protected:
* Preference page for DVD
*/
class KMPLAYER_NO_EXPORT KMPlayerPrefSourcePageDVD : public TQFrame {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerPrefSourcePageDVD (TQWidget * parent);
@@ -73,7 +73,7 @@ public:
* Source from DVD
*/
class KMPLAYER_NO_EXPORT KMPlayerDVDSource : public KMPlayerMenuSource, public KMPlayer::PreferencesPage {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerDVDSource (KMPlayerApp * app, TQPopupMenu * m);
@@ -113,7 +113,7 @@ private:
* Source from DVDNav
*/
class KMPLAYER_NO_EXPORT KMPlayerDVDNavSource : public KMPlayerMenuSource {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerDVDNavSource (KMPlayerApp * app, TQPopupMenu * m);
@@ -133,7 +133,7 @@ public slots:
* Preference page for VCD
*/
class KMPLAYER_NO_EXPORT KMPlayerPrefSourcePageVCD : public TQFrame {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerPrefSourcePageVCD (TQWidget * parent);
@@ -147,7 +147,7 @@ public:
* Source from VCD
*/
class KMPLAYER_NO_EXPORT KMPlayerVCDSource : public KMPlayerMenuSource, public KMPlayer::PreferencesPage {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerVCDSource (KMPlayerApp * app, TQPopupMenu * m);
@@ -174,7 +174,7 @@ private:
* Source from AudoCD
*/
class KMPLAYER_NO_EXPORT KMPlayerAudioCDSource : public KMPlayerMenuSource {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerAudioCDSource (KMPlayerApp * app, TQPopupMenu * m);
@@ -194,7 +194,7 @@ private:
* Source from stdin (for the backends, not kmplayer)
*/
class KMPLAYER_NO_EXPORT KMPlayerPipeSource : public KMPlayer::Source {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerPipeSource (KMPlayerApp * app);
diff --git a/src/kmplayerbroadcast.h b/src/kmplayerbroadcast.h
index 4d79c13..8ddfb24 100644
--- a/src/kmplayerbroadcast.h
+++ b/src/kmplayerbroadcast.h
@@ -73,7 +73,7 @@ typedef std::vector <FFServerSetting *> FFServerSettingList;
class KMPLAYER_NO_EXPORT KMPlayerPrefBroadcastPage : public TQFrame {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerPrefBroadcastPage (TQWidget * parent);
@@ -88,7 +88,7 @@ public:
};
class KMPLAYER_NO_EXPORT KMPlayerPrefBroadcastFormatPage : public TQFrame {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerPrefBroadcastFormatPage (TQWidget * parent, FFServerSettingList &);
@@ -154,7 +154,7 @@ private:
* Preference page for ffserver
*/
class KMPLAYER_NO_EXPORT KMPlayerBroadcastConfig : public TQObject, public KMPlayer::PreferencesPage {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerBroadcastConfig (KMPlayer::PartBase * player, KMPlayerFFServerConfig * fsc);
diff --git a/src/kmplayerconfig.h b/src/kmplayerconfig.h
index bb9d595..b4b21fc 100644
--- a/src/kmplayerconfig.h
+++ b/src/kmplayerconfig.h
@@ -94,7 +94,7 @@ public:
* Class for storing all actual settings and reading/writing them
*/
class KMPLAYER_EXPORT Settings : public TQObject {
- Q_OBJECT
+ TQ_OBJECT
public:
Settings (PartBase *, TDEConfig * part);
diff --git a/src/kmplayercontrolpanel.h b/src/kmplayercontrolpanel.h
index 91fe927..48804ee 100644
--- a/src/kmplayercontrolpanel.h
+++ b/src/kmplayercontrolpanel.h
@@ -42,7 +42,7 @@ class View;
* A button from the controlpanel
*/
class KMPLAYER_NO_EXPORT KMPlayerMenuButton : public TQPushButton {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerMenuButton (TQWidget *, TQBoxLayout *, const char **, int = 0);
@@ -57,7 +57,7 @@ protected:
* The pop down menu from the controlpanel
*/
class KMPLAYER_EXPORT KMPlayerPopupMenu : public TDEPopupMenu {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerPopupMenu (TQWidget *);
@@ -72,7 +72,7 @@ protected:
* The volume bar from the controlpanel
*/
class KMPLAYER_EXPORT VolumeBar : public TQWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
VolumeBar (TQWidget * parent, View * view);
@@ -95,7 +95,7 @@ private:
* The controlpanel GUI
*/
class KMPLAYER_EXPORT ControlPanel : public TQWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
enum MenuID {
diff --git a/src/kmplayerpartbase.h b/src/kmplayerpartbase.h
index 80e0f37..65bbc18 100644
--- a/src/kmplayerpartbase.h
+++ b/src/kmplayerpartbase.h
@@ -66,7 +66,7 @@ class Settings;
* Source from URLs
*/
class KMPLAYER_EXPORT URLSource : public Source {
- Q_OBJECT
+ TQ_OBJECT
//
public:
URLSource (PartBase * player, const KURL & url = KURL ());
@@ -113,7 +113,7 @@ private:
* KDE's KMediaPlayer::Player implementation and base for KMPlayerPart
*/
class KMPLAYER_EXPORT PartBase : public KMediaPlayer::Player {
- Q_OBJECT
+ TQ_OBJECT
//
K_DCOP
public:
@@ -260,7 +260,7 @@ protected:
};
class KMPLAYER_NO_EXPORT DataCache : public TQObject {
- Q_OBJECT
+ TQ_OBJECT
//
typedef TQMap <TQString, TQByteArray> DataMap;
typedef TQMap <TQString, bool> PreserveMap;
@@ -279,7 +279,7 @@ signals:
};
class KMPLAYER_NO_EXPORT RemoteObjectPrivate : public TQObject {
- Q_OBJECT
+ TQ_OBJECT
//
public:
RemoteObjectPrivate (RemoteObject * r);
diff --git a/src/kmplayerprocess.h b/src/kmplayerprocess.h
index a8f46e8..d420e02 100644
--- a/src/kmplayerprocess.h
+++ b/src/kmplayerprocess.h
@@ -54,7 +54,7 @@ class Backend_stub;
* Base class for all backend processes
*/
class KMPLAYER_EXPORT Process : public TQObject {
- Q_OBJECT
+ TQ_OBJECT
public:
enum State {
@@ -119,7 +119,7 @@ private:
* Base class for all MPlayer based processes
*/
class MPlayerBase : public Process {
- Q_OBJECT
+ TQ_OBJECT
public:
MPlayerBase (TQObject * parent, Settings * settings, const char * n);
@@ -145,7 +145,7 @@ class MPlayerPreferencesFrame;
* MPlayer process
*/
class KDE_EXPORT MPlayer : public MPlayerBase {
- Q_OBJECT
+ TQ_OBJECT
public:
MPlayer (TQObject * parent, Settings * settings);
@@ -236,7 +236,7 @@ protected:
* MEncoder recorder
*/
class MEncoder : public MPlayerBase, public Recorder {
- Q_OBJECT
+ TQ_OBJECT
public:
MEncoder (TQObject * parent, Settings * settings);
@@ -252,7 +252,7 @@ public slots:
*/
class KMPLAYER_NO_EXPORT MPlayerDumpstream
: public MPlayerBase, public Recorder {
- Q_OBJECT
+ TQ_OBJECT
public:
MPlayerDumpstream (TQObject * parent, Settings * settings);
@@ -270,7 +270,7 @@ class XMLPreferencesFrame;
* Base class for all backend processes having the KMPlayer::Backend interface
*/
class KMPLAYER_EXPORT CallbackProcess : public Process {
- Q_OBJECT
+ TQ_OBJECT
friend class Callback;
public:
@@ -377,7 +377,7 @@ private:
* Xine backend process
*/
class KMPLAYER_NO_EXPORT Xine : public CallbackProcess, public Recorder {
- Q_OBJECT
+ TQ_OBJECT
public:
Xine (TQObject * parent, Settings * settings);
@@ -390,7 +390,7 @@ public slots:
* GStreamer backend process
*/
class KMPLAYER_NO_EXPORT GStreamer : public CallbackProcess {
- Q_OBJECT
+ TQ_OBJECT
public:
GStreamer (TQObject * parent, Settings * settings);
@@ -403,7 +403,7 @@ public slots:
* ffmpeg backend recorder
*/
class KMPLAYER_EXPORT FFMpeg : public Process, public Recorder {
- Q_OBJECT
+ TQ_OBJECT
public:
FFMpeg (TQObject * parent, Settings * settings);
@@ -422,7 +422,7 @@ private slots:
*/
class KMPLAYER_NO_EXPORT NpStream : public TQObject {
- Q_OBJECT
+ TQ_OBJECT
public:
enum Reason {
@@ -457,7 +457,7 @@ private slots:
};
class KMPLAYER_NO_EXPORT NpPlayer : public Process {
- Q_OBJECT
+ TQ_OBJECT
public:
NpPlayer (TQObject * parent, Settings * settings, const TQString & srv);
diff --git a/src/kmplayersource.h b/src/kmplayersource.h
index b4a7e7c..ead5649 100644
--- a/src/kmplayersource.h
+++ b/src/kmplayersource.h
@@ -40,7 +40,7 @@ class PartBase;
* Class for a certain media, like URL, DVD, TV etc
*/
class KMPLAYER_EXPORT Source : public TQObject, public PlayListNotify {
- Q_OBJECT
+ TQ_OBJECT
public:
Source (const TQString & name, PartBase * player, const char * src);
diff --git a/src/kmplayertvsource.h b/src/kmplayertvsource.h
index 2a82f21..85d2842 100644
--- a/src/kmplayertvsource.h
+++ b/src/kmplayertvsource.h
@@ -48,7 +48,7 @@ class TDEConfig;
class KMPLAYER_NO_EXPORT TVDevicePage : public TQFrame {
- Q_OBJECT
+ TQ_OBJECT
public:
TVDevicePage (TQWidget *parent, KMPlayer::NodePtr dev);
@@ -68,7 +68,7 @@ private slots:
};
class KMPLAYER_NO_EXPORT KMPlayerPrefSourcePageTV : public TQFrame {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerPrefSourcePageTV (TQWidget *parent, KMPlayerTVSource *);
@@ -146,7 +146,7 @@ public:
* Source form scanning TV devices
*/
class KMPLAYER_NO_EXPORT TVDeviceScannerSource : public KMPlayer::Source {
- Q_OBJECT
+ TQ_OBJECT
public:
TVDeviceScannerSource (KMPlayerTVSource * src);
@@ -178,7 +178,7 @@ private:
* Source form TV devices, also implementing preference page for it
*/
class KMPLAYER_NO_EXPORT KMPlayerTVSource : public KMPlayerMenuSource, public KMPlayer::PreferencesPage {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerTVSource (KMPlayerApp * app, TQPopupMenu * m);
diff --git a/src/kmplayervdr.h b/src/kmplayervdr.h
index c0c3899..dd49eb5 100644
--- a/src/kmplayervdr.h
+++ b/src/kmplayervdr.h
@@ -49,7 +49,7 @@ class TDEListView;
* Preference page for VDR
*/
class KMPLAYER_NO_EXPORT KMPlayerPrefSourcePageVDR : public TQFrame {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerPrefSourcePageVDR (TQWidget * parent, KMPlayer::PartBase * player);
@@ -69,7 +69,7 @@ private:
* Source from VDR (XVideo actually) and socket connection
*/
class KMPLAYER_NO_EXPORT KMPlayerVDRSource : public KMPlayer::Source, public KMPlayer::PreferencesPage {
- Q_OBJECT
+ TQ_OBJECT
public:
KMPlayerVDRSource (KMPlayerApp * app);
@@ -160,7 +160,7 @@ private:
};
class XVideo : public KMPlayer::CallbackProcess {
- Q_OBJECT
+ TQ_OBJECT
public:
XVideo (TQObject * parent, KMPlayer::Settings * settings);
diff --git a/src/kmplayerview.h b/src/kmplayerview.h
index 654dd08..1a2a6fc 100644
--- a/src/kmplayerview.h
+++ b/src/kmplayerview.h
@@ -89,7 +89,7 @@ private:
* The view containing ViewArea and playlist
*/
class KMPLAYER_EXPORT View : public KMediaPlayer::View {
- Q_OBJECT
+ TQ_OBJECT
public:
enum ControlPanelMode {
@@ -208,7 +208,7 @@ private:
* The video widget
*/
class KMPLAYER_EXPORT Viewer : public QXEmbed {
- Q_OBJECT
+ TQ_OBJECT
public:
Viewer(TQWidget *parent, View * view);
diff --git a/src/playlistview.h b/src/playlistview.h
index d3652ef..c757aa4 100644
--- a/src/playlistview.h
+++ b/src/playlistview.h
@@ -76,7 +76,7 @@ public:
* The playlist GUI
*/
class KMPLAYER_EXPORT PlayListView : public TDEListView {
- Q_OBJECT
+ TQ_OBJECT
public:
enum Flags {
diff --git a/src/pref.h b/src/pref.h
index 4fac066..f8f3863 100644
--- a/src/pref.h
+++ b/src/pref.h
@@ -67,7 +67,7 @@ class FontSetting;
class KMPLAYER_NO_EXPORT Preferences : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -100,7 +100,7 @@ public slots:
class KMPLAYER_NO_EXPORT PrefGeneralPageGeneral : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
PrefGeneralPageGeneral(TQWidget *parent, Settings *);
@@ -123,7 +123,7 @@ public:
};
class KMPLAYER_NO_EXPORT PrefGeneralPageLooks : public TQFrame {
- Q_OBJECT
+ TQ_OBJECT
public:
PrefGeneralPageLooks (TQWidget *parent, Settings *);
@@ -144,7 +144,7 @@ private:
class KMPLAYER_NO_EXPORT PrefSourcePageURL : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
PrefSourcePageURL (TQWidget *parent);
@@ -168,7 +168,7 @@ private slots:
class KMPLAYER_NO_EXPORT PrefRecordPage : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
PrefRecordPage (TQWidget *parent, PartBase *, RecorderPage *, int len);
@@ -197,7 +197,7 @@ private:
class KMPLAYER_NO_EXPORT RecorderPage : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
RecorderPage (TQWidget *parent, PartBase *);
@@ -212,7 +212,7 @@ protected:
class KMPLAYER_NO_EXPORT PrefMEncoderPage : public RecorderPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
PrefMEncoderPage (TQWidget *parent, PartBase *);
@@ -251,7 +251,7 @@ public:
class KMPLAYER_NO_EXPORT PrefFFMpegPage : public RecorderPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
PrefFFMpegPage (TQWidget *parent, PartBase *);
@@ -269,7 +269,7 @@ private:
class KMPLAYER_NO_EXPORT PrefGeneralPageOutput : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
PrefGeneralPageOutput (TQWidget *parent, OutputDriver * ad, OutputDriver * vd);
@@ -281,7 +281,7 @@ public:
class KMPLAYER_NO_EXPORT PrefOPPageGeneral : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
PrefOPPageGeneral(TQWidget *parent = 0);
@@ -290,7 +290,7 @@ public:
class KMPLAYER_NO_EXPORT PrefOPPagePostProc : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
PrefOPPagePostProc(TQWidget *parent = 0);
diff --git a/src/viewarea.h b/src/viewarea.h
index de3b32d..34c1e97 100644
--- a/src/viewarea.h
+++ b/src/viewarea.h
@@ -33,7 +33,7 @@ class ViewAreaPrivate;
* The area in which the video widget and controlpanel are laid out
*/
class KMPLAYER_EXPORT ViewArea : public TQWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
ViewArea (TQWidget * parent, View * view);
diff --git a/src/xineplayer.h b/src/xineplayer.h
index e9aec41..efbdd1a 100644
--- a/src/xineplayer.h
+++ b/src/xineplayer.h
@@ -50,7 +50,7 @@ struct XineProgressEvent : public TQEvent {
};
class KXinePlayer : public TQApplication {
- Q_OBJECT
+ TQ_OBJECT
public:
KXinePlayer (int argc, char ** argv);
diff --git a/src/xvplayer.h b/src/xvplayer.h
index 3dbc975..5efaaad 100644
--- a/src/xvplayer.h
+++ b/src/xvplayer.h
@@ -25,7 +25,7 @@
#include <tqsessionmanager.h>
class KXVideoPlayer : public TQApplication {
- Q_OBJECT
+ TQ_OBJECT
public:
KXVideoPlayer (int argc, char ** argv);