summaryrefslogtreecommitdiffstats
path: root/tdeui/kpassdlg.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-09 21:02:11 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-09 21:02:11 -0500
commit3c75231601fb35f0c91022abeee5117c81f70a62 (patch)
tree9b7b826ed0079ec3db0bece5783dfda803805d39 /tdeui/kpassdlg.h
parent2366375b23b770db27544720910e6c74093db638 (diff)
downloadtdelibs-3c75231601fb35f0c91022abeee5117c81f70a62.tar.gz
tdelibs-3c75231601fb35f0c91022abeee5117c81f70a62.zip
Add dynamic label support to kpassworddialog
Diffstat (limited to 'tdeui/kpassdlg.h')
-rw-r--r--tdeui/kpassdlg.h7
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;