summaryrefslogtreecommitdiffstats
path: root/kcontrol/hwmanager/hwmanager.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-02-17 11:30:31 +0900
committerMichele Calgaro <[email protected]>2023-02-17 11:32:54 +0900
commit2ffa44200eba513d4e3332917511b40250b416a7 (patch)
tree3b21bd86c0789fb47eca0a41950633ef6983b0f6 /kcontrol/hwmanager/hwmanager.h
parent68c1810b9ee1f895e3129ca1629bc6b47f3946aa (diff)
downloadtdebase-2ffa44200eba513d4e3332917511b40250b416a7.tar.gz
tdebase-2ffa44200eba513d4e3332917511b40250b416a7.zip
hwmanager: avoid unnecessary update of device names on status change. This relates to issue TDE/tde#110.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kcontrol/hwmanager/hwmanager.h')
-rw-r--r--kcontrol/hwmanager/hwmanager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/hwmanager/hwmanager.h b/kcontrol/hwmanager/hwmanager.h
index abc05fa54..6d8105d07 100644
--- a/kcontrol/hwmanager/hwmanager.h
+++ b/kcontrol/hwmanager/hwmanager.h
@@ -58,15 +58,15 @@ public:
k_dcop:
private slots:
+ void cryptographicCardPinRequested(TQString prompt, TDECryptographicCardDevice* cdevice);
void populateTreeView();
void populateTreeViewLeaf(DeviceIconItem *parent, bool show_by_connection, TQString selected_syspath);
- void deviceChanged(TDEGenericDevice*);
- void cryptographicCardPinRequested(TQString prompt, TDECryptographicCardDevice* cdevice);
+ void scheduleDeviceUpdate();
private:
TDEHWManagerBase *base;
-
TDEConfig *config;
+ bool deviceUpdateScheduled;
};
#endif