summaryrefslogtreecommitdiffstats
path: root/src/kmplayer_koffice_part.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commitcdbd0571baaf836a247dd997a6c4ca3755506297 (patch)
tree866e171f53893a3bb109d25b954882a2a65d34c4 /src/kmplayer_koffice_part.cpp
parent63c4fb318b4b6c0c22fce659f0029e4b21112c86 (diff)
downloadkmplayer-cdbd0571baaf836a247dd997a6c4ca3755506297.tar.gz
kmplayer-cdbd0571baaf836a247dd997a6c4ca3755506297.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmplayer@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kmplayer_koffice_part.cpp')
-rw-r--r--src/kmplayer_koffice_part.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/kmplayer_koffice_part.cpp b/src/kmplayer_koffice_part.cpp
index b60f289..c32e829 100644
--- a/src/kmplayer_koffice_part.cpp
+++ b/src/kmplayer_koffice_part.cpp
@@ -60,7 +60,7 @@ 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:
@@ -80,19 +80,19 @@ KMPlayerFactory::~KMPlayerFactory () {
}
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) {
if (strstr (cls, "KoDocument"))
- return new KOfficeMPlayer (wtqparent, wname, tqparent, name);
+ return new KOfficeMPlayer (wparent, wname, parent, name);
return 0L;
}
//-----------------------------------------------------------------------------
-KOfficeMPlayer::KOfficeMPlayer (TQWidget *parentWidget, const char *widgetName, TQObject* tqparent, const char* name, bool singleViewMode)
- : KoDocument (parentWidget, widgetName, tqparent, name, singleViewMode),
+KOfficeMPlayer::KOfficeMPlayer (TQWidget *parentWidget, const char *widgetName, TQObject* parent, const char* name, bool singleViewMode)
+ : KoDocument (parentWidget, widgetName, parent, name, singleViewMode),
m_config (new KConfig ("kmplayerrc")),
m_player (new KMPlayer (parentWidget, 0L, 0L, 0L, m_config))
{
@@ -144,16 +144,16 @@ TQDomDocument KOfficeMPlayer::saveXML() {
return doc;
}
-KoView* KOfficeMPlayer::createViewInstance (TQWidget* tqparent, const char* name) {
+KoView* KOfficeMPlayer::createViewInstance (TQWidget* parent, const char* name) {
kdDebug() << "KOfficeMPlayer::createViewInstance" << endl;
- return new KOfficeMPlayerView (this, tqparent);
+ return new KOfficeMPlayerView (this, parent);
}
-KOfficeMPlayerView::KOfficeMPlayerView (KOfficeMPlayer* part, TQWidget* tqparent, const char* name)
- : KoView (part, tqparent, name),
+KOfficeMPlayerView::KOfficeMPlayerView (KOfficeMPlayer* part, TQWidget* parent, const char* name)
+ : KoView (part, parent, name),
m_view (static_cast <KMPlayer::View*> (part->player ()->view ())) {
- kdDebug() << "KOfficeMPlayerView::KOfficeMPlayerView this:" << this << " tqparent:" << tqparent << endl;
- m_oldtqparent = static_cast <TQWidget*> (m_view->tqparent());
+ kdDebug() << "KOfficeMPlayerView::KOfficeMPlayerView this:" << this << " parent:" << parent << endl;
+ m_oldparent = static_cast <TQWidget*> (m_view->parent());
m_view->reparent (this, TQPoint (0, 0));
TQVBoxLayout * box = new TQVBoxLayout (this, 0, 0);
box->addWidget (m_view);
@@ -161,7 +161,7 @@ KOfficeMPlayerView::KOfficeMPlayerView (KOfficeMPlayer* part, TQWidget* tqparent
KOfficeMPlayerView::~KOfficeMPlayerView () {
kdDebug() << "KOfficeMPlayerView::~KOfficeMPlayerView this:" << this << endl;
- m_view->reparent (m_oldtqparent, TQPoint (0, 0));
+ m_view->reparent (m_oldparent, TQPoint (0, 0));
}
#include "kmplayer_koffice_part.moc"