summaryrefslogtreecommitdiffstats
path: root/src/kmplayer_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmplayer_part.cpp')
-rw-r--r--src/kmplayer_part.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/kmplayer_part.cpp b/src/kmplayer_part.cpp
index 63311eb..a5c15b4 100644
--- a/src/kmplayer_part.cpp
+++ b/src/kmplayer_part.cpp
@@ -97,8 +97,8 @@ public:
KMPlayerFactory ();
virtual ~KMPlayerFactory ();
virtual KParts::Part *createPartObject
- (TQWidget *wtqparent, const char *wname,
- TQObject *tqparent, const char *name,
+ (TQWidget *wparent, const char *wname,
+ TQObject *parent, const char *name,
const char *className, const TQStringList &args);
static KInstance * instance () { return s_instance; }
private:
@@ -118,11 +118,11 @@ KDE_NO_CDTOR_EXPORT KMPlayerFactory::~KMPlayerFactory () {
}
KDE_NO_EXPORT KParts::Part *KMPlayerFactory::createPartObject
- (TQWidget *wtqparent, const char *wname,
- TQObject *tqparent, const char * name,
+ (TQWidget *wparent, const char *wname,
+ TQObject *parent, const char * name,
const char * cls, const TQStringList & args) {
kdDebug() << "KMPlayerFactory::createPartObject " << cls << endl;
- return new KMPlayerPart (wtqparent, wname, tqparent, name, args);
+ return new KMPlayerPart (wparent, wname, parent, name, args);
}
//-----------------------------------------------------------------------------
@@ -136,9 +136,9 @@ static bool getBoolValue (const TQString & value) {
#define SET_FEAT_ON(f) { m_features |= f; turned_off_features &= ~f; }
#define SET_FEAT_OFF(f) { m_features &= ~f; turned_off_features |= f; }
-KDE_NO_CDTOR_EXPORT KMPlayerPart::KMPlayerPart (TQWidget * wtqparent, const char *wname,
- TQObject * tqparent, const char *name, const TQStringList &args)
- : PartBase (wtqparent, wname, tqparent, name, new KConfig ("kmplayerrc")),
+KDE_NO_CDTOR_EXPORT KMPlayerPart::KMPlayerPart (TQWidget * wparent, const char *wname,
+ TQObject * parent, const char *name, const TQStringList &args)
+ : PartBase (wparent, wname, parent, name, new KConfig ("kmplayerrc")),
m_master (0L),
m_browserextension (new KMPlayerBrowserExtension (this)),
m_liveconnectextension (new KMPlayerLiveConnectExtension (this)),
@@ -647,8 +647,8 @@ KDE_NO_EXPORT void KMPlayerPart::statusPosition (int pos, int length) {
//---------------------------------------------------------------------
-KDE_NO_CDTOR_EXPORT KMPlayerBrowserExtension::KMPlayerBrowserExtension (KMPlayerPart * tqparent)
- : KParts::BrowserExtension (tqparent, "KMPlayer Browser Extension") {
+KDE_NO_CDTOR_EXPORT KMPlayerBrowserExtension::KMPlayerBrowserExtension (KMPlayerPart * parent)
+ : KParts::BrowserExtension (parent, "KMPlayer Browser Extension") {
}
KDE_NO_EXPORT void KMPlayerBrowserExtension::urlChanged (const TQString & url) {
@@ -660,13 +660,13 @@ KDE_NO_EXPORT void KMPlayerBrowserExtension::setLoadingProgress (int percentage)
}
KDE_NO_EXPORT void KMPlayerBrowserExtension::saveState (TQDataStream & stream) {
- stream << static_cast <PartBase *> (tqparent ())->url ().url ();
+ stream << static_cast <PartBase *> (parent ())->url ().url ();
}
KDE_NO_EXPORT void KMPlayerBrowserExtension::restoreState (TQDataStream & stream) {
TQString url;
stream >> url;
- static_cast <PartBase *> (tqparent ())->openURL (KURL(url));
+ static_cast <PartBase *> (parent ())->openURL (KURL(url));
}
KDE_NO_EXPORT void KMPlayerBrowserExtension::requestOpenURL (const KURL & url, const TQString & target, const TQString & service) {
@@ -847,13 +847,13 @@ static const JSCommandEntry * getJSCommandEntry (const char * name, int start =
return &JSCommandList[mid];
}
-KDE_NO_CDTOR_EXPORT KMPlayerLiveConnectExtension::KMPlayerLiveConnectExtension (KMPlayerPart * tqparent)
- : KParts::LiveConnectExtension (tqparent), player (tqparent),
+KDE_NO_CDTOR_EXPORT KMPlayerLiveConnectExtension::KMPlayerLiveConnectExtension (KMPlayerPart * parent)
+ : KParts::LiveConnectExtension (parent), player (parent),
lastJSCommandEntry (0L),
m_started (false),
m_enablefinish (false),
m_evaluating (false) {
- connect (tqparent, TQT_SIGNAL (started (KIO::Job *)), this, TQT_SLOT (started ()));
+ connect (parent, TQT_SIGNAL (started (KIO::Job *)), this, TQT_SLOT (started ()));
}
KDE_NO_CDTOR_EXPORT KMPlayerLiveConnectExtension::~KMPlayerLiveConnectExtension() {