summaryrefslogtreecommitdiffstats
path: root/kmid/kmid_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmid/kmid_part.cpp')
-rw-r--r--kmid/kmid_part.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kmid/kmid_part.cpp b/kmid/kmid_part.cpp
index 98241ac1..39b10603 100644
--- a/kmid/kmid_part.cpp
+++ b/kmid/kmid_part.cpp
@@ -5,12 +5,12 @@
#include <klocale.h>
#include <kaboutdata.h>
#include <kaction.h>
-#include <qiconset.h>
+#include <tqiconset.h>
#include <kparts/partmanager.h>
#include "kmidclient.h"
-#include <qtimer.h>
+#include <tqtimer.h>
#include <kdelibs_export.h>
K_EXPORT_COMPONENT_FACTORY( libkmidpart, KMidFactory )
@@ -37,9 +37,9 @@ KMidFactory::~KMidFactory()
s_instance = 0;
}
-KParts::Part *KMidFactory::createPartObject(QWidget *parentWidget, const char *widgetName,
- QObject *parent, const char *name, const char*,
- const QStringList& )
+KParts::Part *KMidFactory::createPartObject(TQWidget *parentWidget, const char *widgetName,
+ TQObject *parent, const char *name, const char*,
+ const TQStringList& )
{
KParts::Part *obj = new KMidPart(parentWidget, widgetName, parent, name);
return obj;
@@ -65,34 +65,34 @@ KInstance *KMidFactory::instance()
return s_instance;
}
- KMidPart::KMidPart(QWidget *parentWidget, const char *widgetName,
- QObject *parent, const char *name)
+ KMidPart::KMidPart(TQWidget *parentWidget, const char *widgetName,
+ TQObject *parent, const char *name)
: KParts::ReadOnlyPart(parent, name)
{
setInstance(KMidFactory::instance());
widget = new kmidClient(parentWidget, actionCollection());
widget->show();
- widget->setFocusPolicy(QWidget::ClickFocus);
+ widget->setFocusPolicy(TQWidget::ClickFocus);
setWidget(widget);
// create and connect our actions
(void)new KAction(i18n("Play"), "player_play", 0, this,
- SLOT(slotPlay()), actionCollection(),
+ TQT_SLOT(slotPlay()), actionCollection(),
"play");
(void)new KAction(i18n("Stop"), "player_stop", 0, this,
- SLOT(slotStop()), actionCollection(),
+ TQT_SLOT(slotStop()), actionCollection(),
"stop");
(void)new KAction(i18n("Backward"),
"2leftarrow", 0, this,
- SLOT(slotBackward()), actionCollection(),
+ TQT_SLOT(slotBackward()), actionCollection(),
"backward");
(void)new KAction(i18n("Forward"),
"2rightarrow", 0, this,
- SLOT(slotForward()), actionCollection(),
+ TQT_SLOT(slotForward()), actionCollection(),
"forward");
m_extension = new KMidBrowserExtension(this);
@@ -111,7 +111,7 @@ bool KMidPart::openFile()
widget->openURL(m_file);
widget->stop();
widget->show();
- QTimer::singleShot(2000, this, SLOT(slotPlay()));
+ TQTimer::singleShot(2000, this, TQT_SLOT(slotPlay()));
return true;
}