diff options
Diffstat (limited to 'kmid')
-rw-r--r-- | kmid/kmid_part.cpp | 8 | ||||
-rw-r--r-- | kmid/kmid_part.h | 4 | ||||
-rw-r--r-- | kmid/kmidclient.cpp | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/kmid/kmid_part.cpp b/kmid/kmid_part.cpp index 16618f7d..5e800aaa 100644 --- a/kmid/kmid_part.cpp +++ b/kmid/kmid_part.cpp @@ -37,11 +37,11 @@ KMidFactory::~KMidFactory() s_instance = 0; } -KParts::Part *KMidFactory::createPartObject(TQWidget *tqparentWidget, const char *widgetName, +KParts::Part *KMidFactory::createPartObject(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const char*, const TQStringList& ) { - KParts::Part *obj = new KMidPart(tqparentWidget, widgetName, tqparent, name); + KParts::Part *obj = new KMidPart(parentWidget, widgetName, tqparent, name); return obj; } @@ -65,13 +65,13 @@ KInstance *KMidFactory::instance() return s_instance; } - KMidPart::KMidPart(TQWidget *tqparentWidget, const char *widgetName, + KMidPart::KMidPart(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name) : KParts::ReadOnlyPart(tqparent, name) { setInstance(KMidFactory::instance()); - widget = new kmidClient(tqparentWidget, actionCollection()); + widget = new kmidClient(parentWidget, actionCollection()); widget->show(); widget->setFocusPolicy(TQ_ClickFocus); setWidget(widget); diff --git a/kmid/kmid_part.h b/kmid/kmid_part.h index c22d8d43..cb4b2d2c 100644 --- a/kmid/kmid_part.h +++ b/kmid/kmid_part.h @@ -17,7 +17,7 @@ class KDE_EXPORT KMidFactory : public KParts::Factory KMidFactory(); virtual ~KMidFactory(); - virtual KParts::Part* createPartObject(TQWidget *tqparentWidget, const char *widgetName, + virtual KParts::Part* createPartObject(TQWidget *parentWidget, const char *widgetName, TQObject* tqparent = 0, const char* name = 0, const char* classname = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList()); @@ -34,7 +34,7 @@ class KMidPart: public KParts::ReadOnlyPart Q_OBJECT TQ_OBJECT public: - KMidPart(TQWidget *tqparentWidget, const char *widgetName, + KMidPart(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name); virtual ~KMidPart(); diff --git a/kmid/kmidclient.cpp b/kmid/kmidclient.cpp index 95517cb4..88854444 100644 --- a/kmid/kmidclient.cpp +++ b/kmid/kmidclient.cpp @@ -1374,7 +1374,7 @@ void kmidClient::visibleChannelView(int i) } channelView->show(); connect(channelView,TQT_SIGNAL(signalToKMidClient(int *)),this,TQT_SLOT(communicationFromChannelView(int *))); - connect(kapp,TQT_SIGNAL(shutDown()),tqparentWidget(),TQT_SLOT(shuttingDown())); + connect(kapp,TQT_SIGNAL(shutDown()),parentWidget(),TQT_SLOT(shuttingDown())); } else if ((channelView!=NULL)&&(i==0)) |