diff options
Diffstat (limited to 'kplayer/kplayerengine.h')
-rw-r--r-- | kplayer/kplayerengine.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kplayer/kplayerengine.h b/kplayer/kplayerengine.h index 875145d..eec3655 100644 --- a/kplayer/kplayerengine.h +++ b/kplayer/kplayerengine.h @@ -16,9 +16,9 @@ #ifndef KPLAYERENGINE_H #define KPLAYERENGINE_H -#include <kaction.h> -#include <kdiroperator.h> -#include <kfiledialog.h> +#include <tdeaction.h> +#include <tdediroperator.h> +#include <tdefiledialog.h> #include "kplayerprocess.h" @@ -58,7 +58,7 @@ class KPlayerEngine : public TQObject Q_OBJECT public: - KPlayerEngine (KActionCollection* ac, TQWidget* parent, const char* name, KConfig*); + KPlayerEngine (TDEActionCollection* ac, TQWidget* parent, const char* name, TDEConfig*); virtual ~KPlayerEngine(); /** Returns whether the engine is running in the KPart mode. */ @@ -111,11 +111,11 @@ public: //KURL openSubtitleUrl (TQWidget* = 0); /** Retrieves an action from the actionCollection by name. */ - KAction* action (const char* name) const + TDEAction* action (const char* name) const { return m_ac -> action (name); } /** Retrieves a toggle action from the actionCollection by name. */ - KToggleAction* toggleAction (const char* name) const - { return (KToggleAction*) action (name); } + TDEToggleAction* toggleAction (const char* name) const + { return (TDEToggleAction*) action (name); } /** Retrieves a slider action from the actionCollection by name. */ KPlayerSliderAction* sliderAction (const char* name) const { return (KPlayerSliderAction*) action (name); } @@ -148,7 +148,7 @@ public: void clearStoreSections (const TQString& section); /** Initializes the engine. */ - static void initialize (KActionCollection* ac, TQWidget* parent, const char* name = 0, KConfig* = 0); + static void initialize (TDEActionCollection* ac, TQWidget* parent, const char* name = 0, TDEConfig* = 0); /** Terminates the engine. */ static void terminate (void); @@ -180,16 +180,16 @@ public: { return m_configuration; } /** Returns the config object. */ - KConfig* config (void) + TDEConfig* config (void) { return m_config; } /** Returns the store object. */ - KConfig* store (void) + TDEConfig* store (void) { return m_store; } /** Returns the meta information object. */ - KConfig* meta (void) + TDEConfig* meta (void) { return m_meta; } /** Returns the meta information storage set to the given group. */ - KConfig* meta (const TQString& group) + TDEConfig* meta (const TQString& group) { meta() -> setGroup (group); return meta(); @@ -198,9 +198,9 @@ public: TQString meta (const TQString& group, const TQString& key, const TQString& value = TQString::null) { return meta (group) -> readEntry (key, value); } - KActionCollection* actionCollection (void) const + TDEActionCollection* actionCollection (void) const { return m_ac; } - void setActionCollection (KActionCollection* collection) + void setActionCollection (TDEActionCollection* collection) { m_ac = collection; } void setDisplaySize (bool zoom = false, bool resize = false); @@ -446,11 +446,11 @@ protected: /** The static engine object. */ static KPlayerEngine* m_engine; /** Main config. */ - KConfig* m_config; + TDEConfig* m_config; /** Store config. */ - KConfig* m_store; + TDEConfig* m_store; /** Meta config. */ - KConfig* m_meta; + TDEConfig* m_meta; /** Configuration properties. */ KPlayerConfiguration* m_configuration; /** The settings object. */ @@ -462,7 +462,7 @@ protected: /** The workspace object. */ KPlayerWorkspace* m_workspace; /** The action collection object. */ - KActionCollection* m_ac; + TDEActionCollection* m_ac; // Following should be private /** Indicates what actions should be used. */ @@ -498,12 +498,12 @@ protected slots: /** Processes an MPlayer output line. */ void receivedOutput (KPlayerLineOutputProcess*, char*, int); /** Finishes refreshing lists. */ - void processExited (KProcess*); + void processExited (TDEProcess*); /** Processes an amixer output line. */ void amixerOutput (KPlayerLineOutputProcess*, char*, int); /** Finishes refreshing ALSA volume. */ - void amixerExited (KProcess*); + void amixerExited (TDEProcess*); }; inline KPlayerEngine* kPlayerEngine (void) @@ -516,7 +516,7 @@ inline KPlayerProcess* kPlayerProcess (void) return kPlayerEngine() -> process(); } -inline KConfig* kPlayerConfig (void) +inline TDEConfig* kPlayerConfig (void) { return kPlayerEngine() -> config(); } |