make setSelectedDevice a slot
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957468
This commit is contained in:
parent
0dc566ae2b
commit
678d4d5e67
|
@ -56,6 +56,9 @@ class LIBPARTITIONMANAGERPRIVATE_EXPORT PartitionManagerWidget : public QWidget,
|
||||||
void statusChanged();
|
void statusChanged();
|
||||||
void selectionChanged(const Partition*);
|
void selectionChanged(const Partition*);
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
void setSelectedDevice(Device* d);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void init(KActionCollection* coll);
|
void init(KActionCollection* coll);
|
||||||
KActionCollection* actionCollection() const { return m_ActionCollection; }
|
KActionCollection* actionCollection() const { return m_ActionCollection; }
|
||||||
|
@ -68,7 +71,6 @@ class LIBPARTITIONMANAGERPRIVATE_EXPORT PartitionManagerWidget : public QWidget,
|
||||||
|
|
||||||
Device* selectedDevice() { return m_SelectedDevice; }
|
Device* selectedDevice() { return m_SelectedDevice; }
|
||||||
const Device* selectedDevice() const { return m_SelectedDevice; }
|
const Device* selectedDevice() const { return m_SelectedDevice; }
|
||||||
void setSelectedDevice(Device* d);
|
|
||||||
|
|
||||||
Partition* selectedPartition();
|
Partition* selectedPartition();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue