summaryrefslogtreecommitdiffstats
path: root/src/kmplayer_koffice_part.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmplayer_koffice_part.h')
-rw-r--r--src/kmplayer_koffice_part.h32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/kmplayer_koffice_part.h b/src/kmplayer_koffice_part.h
index 632a570..ca9002e 100644
--- a/src/kmplayer_koffice_part.h
+++ b/src/kmplayer_koffice_part.h
@@ -28,11 +28,11 @@
#include <koDocument.h>
#include <koView.h>
#endif //HAVE_KOFFICE
-#include <qobject.h>
-#include <qvaluelist.h>
-#include <qstringlist.h>
-#include <qguardedptr.h>
-#include <qregexp.h>
+#include <tqobject.h>
+#include <tqvaluelist.h>
+#include <tqstringlist.h>
+#include <tqguardedptr.h>
+#include <tqregexp.h>
#include "kmplayerview.h"
#include "kmplayersource.h"
@@ -42,39 +42,41 @@ class KAboutData;
class KMPlayer;
class KInstance;
class KConfig;
-class QIODevice;
+class TQIODevice;
#ifdef HAVE_KOFFICE
class KOfficeMPlayer;
class KOfficeMPlayerView : public KoView {
Q_OBJECT
+ TQ_OBJECT
public:
- KOfficeMPlayerView (KOfficeMPlayer* part, QWidget* parent, const char* name = 0 );
+ KOfficeMPlayerView (KOfficeMPlayer* part, TQWidget* tqparent, const char* name = 0 );
~KOfficeMPlayerView ();
void updateReadWrite(bool) {}
private:
KMPlayer::View * m_view;
- QGuardedPtr <QWidget> m_oldparent;
+ TQGuardedPtr <TQWidget> m_oldtqparent;
};
class KOfficeMPlayer : public KoDocument {
Q_OBJECT
+ TQ_OBJECT
public:
- KOfficeMPlayer (QWidget *parentWidget = 0, const char *widgetName = 0, QObject* parent = 0, const char* name = 0, bool singleViewMode = false);
+ KOfficeMPlayer (TQWidget *tqparentWidget = 0, const char *widgetName = 0, TQObject* tqparent = 0, const char* name = 0, bool singleViewMode = false);
~KOfficeMPlayer ();
- virtual void paintContent (QPainter& painter, const QRect& rect,
+ virtual void paintContent (TQPainter& painter, const TQRect& rect,
bool transparent = false, double zoomX = 1.0, double zoomY = 1.0);
virtual bool initDoc ();
- virtual bool loadXML (QIODevice *, const QDomDocument &);
- virtual bool loadOasis (const QDomDocument &, KoOasisStyles &, const QDomDocument &, KoStore *);
- virtual QDomDocument saveXML ();
- virtual QCString mimeType() const { return "application/x-kmplayer"; }
+ virtual bool loadXML (TQIODevice *, const TQDomDocument &);
+ virtual bool loadOasis (const TQDomDocument &, KoOasisStyles &, const TQDomDocument &, KoStore *);
+ virtual TQDomDocument saveXML ();
+ virtual TQCString mimeType() const { return "application/x-kmplayer"; }
KMPlayer * player () const { return m_player; }
protected:
- virtual KoView* createViewInstance (QWidget* parent, const char* name);
+ virtual KoView* createViewInstance (TQWidget* tqparent, const char* name);
private:
KConfig * m_config;
KMPlayer * m_player;