diff options
Diffstat (limited to 'src/kmplayerpartbase.h')
-rw-r--r-- | src/kmplayerpartbase.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/kmplayerpartbase.h b/src/kmplayerpartbase.h index ee53ba9..cbd133f 100644 --- a/src/kmplayerpartbase.h +++ b/src/kmplayerpartbase.h @@ -40,12 +40,12 @@ class TDEAboutData; class TDEInstance; class KActionCollection; class KBookmarkMenu; -class KConfig; +class TDEConfig; class TQIODevice; class TQTextStream; class TQListViewItem; -namespace KIO { +namespace TDEIO { class Job; } @@ -87,9 +87,9 @@ public slots: virtual void jump (NodePtr e); void play (); private slots: - void kioData (KIO::Job *, const TQByteArray &); - void kioMimetype (KIO::Job *, const TQString &); - void kioResult (KIO::Job *); + void kioData (TDEIO::Job *, const TQByteArray &); + void kioMimetype (TDEIO::Job *, const TQString &); + void kioResult (TDEIO::Job *); protected: virtual bool requestPlayURL (NodePtr mrl); virtual bool resolveURL (NodePtr mrl); @@ -97,10 +97,10 @@ private: void read (NodePtr mrl, TQTextStream &); void stopResolving (); struct ResolveInfo { - ResolveInfo (NodePtr mrl, KIO::Job * j, SharedPtr <ResolveInfo> & n) + ResolveInfo (NodePtr mrl, TDEIO::Job * j, SharedPtr <ResolveInfo> & n) : resolving_mrl (mrl), job (j), progress (0), next (n) {} NodePtrW resolving_mrl; - KIO::Job * job; + TDEIO::Job * job; TQByteArray data; int progress; SharedPtr <ResolveInfo> next; @@ -118,7 +118,7 @@ class KMPLAYER_EXPORT PartBase : public KMediaPlayer::Player { K_DCOP public: typedef TQMap <TQString, Process *> ProcessMap; - PartBase (TQWidget * parent, const char * wname,TQObject * objectParent, const char * name, KConfig *); + PartBase (TQWidget * parent, const char * wname,TQObject * objectParent, const char * name, TDEConfig *); ~PartBase (); void init (KActionCollection * = 0L); virtual KMediaPlayer::View* view (); @@ -148,7 +148,7 @@ public: TQMap <TQString, Process *> & players () { return m_players; } TQMap <TQString, Process *> & recorders () { return m_recorders; } TQMap <TQString, Source *> & sources () { return m_sources; } - KConfig * config () const { return m_config; } + TDEConfig * config () const { return m_config; } bool mayResize () const { return !m_noresize; } void updatePlayerMenu (ControlPanel *); void updateInfo (const TQString & msg); @@ -233,7 +233,7 @@ protected slots: void audioSelected (int); void subtitleSelected (int); protected: - KConfig * m_config; + TDEConfig * m_config; TQGuardedPtr <View> m_view; TQMap <TQString, TQString> temp_backends; Settings * m_settings; @@ -286,14 +286,14 @@ public: ~RemoteObjectPrivate (); bool download (const TQString &); void clear (); - KIO::Job * job; + TDEIO::Job * job; TQString url; TQByteArray data; TQString mime; private slots: - void slotResult (KIO::Job*); - void slotData (KIO::Job*, const TQByteArray& qb); - void slotMimetype (KIO::Job * job, const TQString & mimestr); + void slotResult (TDEIO::Job*); + void slotData (TDEIO::Job*, const TQByteArray& qb); + void slotMimetype (TDEIO::Job * job, const TQString & mimestr); void cachePreserveRemoved (const TQString &); private: RemoteObject * remote_object; |