diff options
-rw-r--r-- | superkaramba/src/taskmanager.cpp | 26 | ||||
-rw-r--r-- | superkaramba/src/taskmanager.h | 20 |
2 files changed, 23 insertions, 23 deletions
diff --git a/superkaramba/src/taskmanager.cpp b/superkaramba/src/taskmanager.cpp index 34ec17b..9e10123 100644 --- a/superkaramba/src/taskmanager.cpp +++ b/superkaramba/src/taskmanager.cpp @@ -84,16 +84,16 @@ void TaskManager::configure_startup() c.setGroup("FeedbackStyle"); if (!c.readBoolEntry("TaskbarButton", true)) return; - _startup_info = new KStartupInfo( true, this ); + _startup_info = new TDEStartupInfo( true, this ); connect( _startup_info, - TQT_SIGNAL( gotNewStartup( const KStartupInfoId&, const KStartupInfoData& )), - TQT_SLOT( gotNewStartup( const KStartupInfoId&, const KStartupInfoData& ))); + TQT_SIGNAL( gotNewStartup( const TDEStartupInfoId&, const TDEStartupInfoData& )), + TQT_SLOT( gotNewStartup( const TDEStartupInfoId&, const TDEStartupInfoData& ))); connect( _startup_info, - TQT_SIGNAL( gotStartupChange( const KStartupInfoId&, const KStartupInfoData& )), - TQT_SLOT( gotStartupChange( const KStartupInfoId&, const KStartupInfoData& ))); + TQT_SIGNAL( gotStartupChange( const TDEStartupInfoId&, const TDEStartupInfoData& )), + TQT_SLOT( gotStartupChange( const TDEStartupInfoId&, const TDEStartupInfoData& ))); connect( _startup_info, - TQT_SIGNAL( gotRemoveStartup( const KStartupInfoId&, const KStartupInfoData& )), - TQT_SLOT( gotRemoveStartup( const KStartupInfoId& ))); + TQT_SIGNAL( gotRemoveStartup( const TDEStartupInfoId&, const TDEStartupInfoData& )), + TQT_SLOT( gotRemoveStartup( const TDEStartupInfoId& ))); c.setGroup( "TaskbarButtonSettings" ); _startup_info->setTimeout( c.readUnsignedNumEntry( "Timeout", 30 )); } @@ -252,7 +252,7 @@ void TaskManager::currentDesktopChanged(int desktop) emit desktopChanged(desktop); } -void TaskManager::gotNewStartup( const KStartupInfoId& id, const KStartupInfoData& data ) +void TaskManager::gotNewStartup( const TDEStartupInfoId& id, const TDEStartupInfoData& data ) { Startup* s = new Startup( id, data, this ); _startups.append(s); @@ -260,7 +260,7 @@ void TaskManager::gotNewStartup( const KStartupInfoId& id, const KStartupInfoDat emit startupAdded(s); } -void TaskManager::gotStartupChange( const KStartupInfoId& id, const KStartupInfoData& data ) +void TaskManager::gotStartupChange( const TDEStartupInfoId& id, const TDEStartupInfoData& data ) { for( Startup* s = _startups.first(); s != 0; s = _startups.next()) { if ( s->id() == id ) { @@ -270,12 +270,12 @@ void TaskManager::gotStartupChange( const KStartupInfoId& id, const KStartupInfo } } -void TaskManager::gotRemoveStartup( const KStartupInfoId& id ) +void TaskManager::gotRemoveStartup( const TDEStartupInfoId& id ) { killStartup( id ); } -void TaskManager::killStartup( const KStartupInfoId& id ) +void TaskManager::killStartup( const TDEStartupInfoId& id ) { Startup* s = 0; for(s = _startups.first(); s != 0; s = _startups.next()) { @@ -802,7 +802,7 @@ void Task::generateThumbnail() emit thumbnailChanged(); } -Startup::Startup( const KStartupInfoId& id, const KStartupInfoData& data, +Startup::Startup( const TDEStartupInfoId& id, const TDEStartupInfoData& data, TQObject * parent, const char *name) : TQObject(parent, name), _id( id ), _data( data ) { @@ -813,7 +813,7 @@ Startup::~Startup() } -void Startup::update( const KStartupInfoData& data ) +void Startup::update( const TDEStartupInfoData& data ) { _data.update( data ); emit changed(); diff --git a/superkaramba/src/taskmanager.h b/superkaramba/src/taskmanager.h index f0d2c3c..12915f2 100644 --- a/superkaramba/src/taskmanager.h +++ b/superkaramba/src/taskmanager.h @@ -382,7 +382,7 @@ class Startup: public TQObject TQ_PROPERTY( TQString icon READ icon ) public: - Startup( const KStartupInfoId& id, const KStartupInfoData& data, TQObject * parent, + Startup( const TDEStartupInfoId& id, const TDEStartupInfoData& data, TQObject * parent, const char *name = 0); virtual ~Startup(); @@ -400,8 +400,8 @@ public: * The name of the icon to be used for the starting task. */ TQString icon() const { return _data.findIcon(); } - void update( const KStartupInfoData& data ); - const KStartupInfoId& id() const { return _id; } + void update( const TDEStartupInfoData& data ); + const TDEStartupInfoId& id() const { return _id; } signals: /** @@ -410,8 +410,8 @@ signals: void changed(); private: - KStartupInfoId _id; - KStartupInfoData _data; + TDEStartupInfoId _id; + TDEStartupInfoData _data; class StartupPrivate *d; }; @@ -522,16 +522,16 @@ protected slots: //* @internal void currentDesktopChanged(int); //* @internal - void killStartup( const KStartupInfoId& ); + void killStartup( const TDEStartupInfoId& ); //* @internal void killStartup(Startup*); //* @internal - void gotNewStartup( const KStartupInfoId&, const KStartupInfoData& ); + void gotNewStartup( const TDEStartupInfoId&, const TDEStartupInfoData& ); //* @internal - void gotStartupChange( const KStartupInfoId&, const KStartupInfoData& ); + void gotStartupChange( const TDEStartupInfoId&, const TDEStartupInfoData& ); //* @internal - void gotRemoveStartup( const KStartupInfoId& ); + void gotRemoveStartup( const TDEStartupInfoId& ); protected: /** @@ -545,7 +545,7 @@ private: TaskList _tasks; TQValueList< WId > _skiptaskbar_windows; StartupList _startups; - KStartupInfo* _startup_info; + TDEStartupInfo* _startup_info; class TaskManagerPrivate *d; }; |