From 6b2ff2034db2c9270dfa8ed212277a6e5ca24788 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 29 Jan 2009 14:08:31 +0000 Subject: removable devices support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@761 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/hal/halplugin.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/plugins/General/hal/halplugin.h') diff --git a/src/plugins/General/hal/halplugin.h b/src/plugins/General/hal/halplugin.h index 3c9717f3c..7a3dade65 100644 --- a/src/plugins/General/hal/halplugin.h +++ b/src/plugins/General/hal/halplugin.h @@ -44,9 +44,11 @@ private slots: void removeDevice(const QString &udi); void addDevice(const QString &udi); void processAction(QAction *action); + void updateActions(); private: - void updateActions(); + QAction *findAction(const QString &dev_path); + HalDevice *findDevice(QAction *action); HalManager *m_manager; QList m_devices; QActionGroup *m_actions; -- cgit v1.2.3-13-gbd6f