diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-09 21:02:11 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-09 21:02:11 -0500 |
commit | 3c75231601fb35f0c91022abeee5117c81f70a62 (patch) | |
tree | 9b7b826ed0079ec3db0bece5783dfda803805d39 /tdeui/kpassdlg.h | |
parent | 2366375b23b770db27544720910e6c74093db638 (diff) | |
download | tdelibs-3c75231601fb35f0c91022abeee5117c81f70a62.tar.gz tdelibs-3c75231601fb35f0c91022abeee5117c81f70a62.zip |
Add dynamic label support to kpassworddialog
Diffstat (limited to 'tdeui/kpassdlg.h')
-rw-r--r-- | tdeui/kpassdlg.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tdeui/kpassdlg.h b/tdeui/kpassdlg.h index de83bb36c..2d124b01f 100644 --- a/tdeui/kpassdlg.h +++ b/tdeui/kpassdlg.h @@ -246,6 +246,11 @@ public: TQString prompt() const; /** + * Sets the text to be dynamically displayed when the keep checkbox is checked + */ + void setKeepWarning(TQString warn); + + /** * Adds a line of information to the dialog. */ void addLine(TQString key, TQString value); @@ -380,6 +385,7 @@ protected slots: void slotOk(); void slotCancel(); void slotKeep(bool); + void slotLayout(); protected: @@ -399,6 +405,7 @@ private: int m_Keep, m_Type, m_Row; TQLabel *m_pHelpLbl; + TQLabel *m_keepWarnLbl; TQGridLayout *m_pGrid; TQWidget *m_pMain; KPasswordEdit *m_pEdit, *m_pEdit2; |