Replace Q_OBJECT with TQ_OBJECT

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/8/head
Michele Calgaro 1 year ago
parent 47d29ee63f
commit f15328299d
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -37,7 +37,7 @@ struct GstProgressEvent : public TQEvent {
};
class KGStreamerPlayer : public TQApplication {
Q_OBJECT
TQ_OBJECT
public:
KGStreamerPlayer (int argc, char ** argv);

@ -57,7 +57,7 @@ namespace KMPlayer {
class KMPlayerApp : public TDEMainWindow
{
Q_OBJECT
TQ_OBJECT
public:

@ -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);

@ -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:

@ -198,7 +198,7 @@ public:
};
class KMPLAYER_NO_EXPORT ImageRuntime : public TQObject,public MediaTypeRuntime {
Q_OBJECT
TQ_OBJECT
public:
ImageRuntime (NodePtr e);

@ -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);

@ -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);

@ -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);

@ -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 {

@ -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);

@ -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);

@ -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);

@ -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);

@ -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);

@ -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);

@ -76,7 +76,7 @@ public:
* The playlist GUI
*/
class KMPLAYER_EXPORT PlayListView : public TDEListView {
Q_OBJECT
TQ_OBJECT
public:
enum Flags {

@ -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);

@ -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);

@ -50,7 +50,7 @@ struct XineProgressEvent : public TQEvent {
};
class KXinePlayer : public TQApplication {
Q_OBJECT
TQ_OBJECT
public:
KXinePlayer (int argc, char ** argv);

@ -25,7 +25,7 @@
#include <tqsessionmanager.h>
class KXVideoPlayer : public TQApplication {
Q_OBJECT
TQ_OBJECT
public:
KXVideoPlayer (int argc, char ** argv);

Loading…
Cancel
Save