diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-09-17 18:33:37 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-09-17 18:33:37 -0500 |
commit | 5b260a9627dd03085931882a9918cd6fbca58752 (patch) | |
tree | 12536e59fe69ee814a0d1ba3545fcdd27d8ebe2d /tdm/kfrontend/sakdlg.h | |
parent | ce477303019c7f3ba18dcab48e4205d59614ce5a (diff) | |
download | tdebase-5b260a9627dd03085931882a9918cd6fbca58752.tar.gz tdebase-5b260a9627dd03085931882a9918cd6fbca58752.zip |
Fix cryptographic card login when SAK is enabled
Diffstat (limited to 'tdm/kfrontend/sakdlg.h')
-rw-r--r-- | tdm/kfrontend/sakdlg.h | 73 |
1 files changed, 39 insertions, 34 deletions
diff --git a/tdm/kfrontend/sakdlg.h b/tdm/kfrontend/sakdlg.h index 22d5ec869..fd77dd028 100644 --- a/tdm/kfrontend/sakdlg.h +++ b/tdm/kfrontend/sakdlg.h @@ -22,6 +22,7 @@ class TQLabel; class KPushButton; class TQListView; class SAKDlg; +class TDECryptographicCardDevice; //=========================================================================== // @@ -30,40 +31,44 @@ class SAKDlg; // class SAKDlg : public TQDialog { - Q_OBJECT - -public: - SAKDlg(TQWidget *parent); - ~SAKDlg(); - virtual void show(); - - void updateLabel( TQString &txt ); - void closeDialogForced(); - -private slots: - void slotSAKProcessExited(); - void processInputPipeCommand(TQString command); - -protected slots: - virtual void reject(); - -private: - TQFrame *frame; - TQGridLayout *frameLayout; - TQLabel *mStatusLabel; - int mCapsLocked; - bool mUnlockingFailed; - TQStringList layoutsList; - TQStringList::iterator currLayout; - int sPid, sFd; - TDEProcess* mSAKProcess; - ControlPipeHandlerObject* mControlPipeHandler; - TQEventLoopThread* mControlPipeHandlerThread; - -protected: - bool closingDown; - - friend class ControlPipeHandlerObject; + Q_OBJECT + + public: + SAKDlg(TQWidget *parent); + ~SAKDlg(); + virtual void show(); + + void updateLabel( TQString &txt ); + void closeDialogForced(); + + private slots: + void slotSAKProcessExited(); + void processInputPipeCommand(TQString command); + + protected slots: + virtual void reject(); + + private slots: + void cryptographicCardInserted(TDECryptographicCardDevice*); + void cryptographicCardRemoved(TDECryptographicCardDevice*); + + protected: + bool closingDown; + + private: + TQFrame *frame; + TQGridLayout *frameLayout; + TQLabel *mStatusLabel; + int mCapsLocked; + bool mUnlockingFailed; + TQStringList layoutsList; + TQStringList::iterator currLayout; + int sPid, sFd; + TDEProcess* mSAKProcess; + ControlPipeHandlerObject* mControlPipeHandler; + TQEventLoopThread* mControlPipeHandlerThread; + + friend class ControlPipeHandlerObject; }; #endif |