Changeset View
Changeset View
Standalone View
Standalone View
src/knewpassworddialog.h
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Line(s) | 73 | public: | |||
---|---|---|---|---|---|
89 | void setPrompt(const QString &prompt); | 89 | void setPrompt(const QString &prompt); | ||
90 | 90 | | |||
91 | /** | 91 | /** | ||
92 | * Returns the password prompt. | 92 | * Returns the password prompt. | ||
93 | */ | 93 | */ | ||
94 | QString prompt() const; | 94 | QString prompt() const; | ||
95 | 95 | | |||
96 | /** | 96 | /** | ||
97 | * Sets the pixmap that appears next to the prompt in the dialog. The default pixmap represent a simple key. | 97 | * Sets the icon that appears next to the prompt in the dialog. The default icon represents a simple key. | ||
dfaure: typo: `represents` | |||||
98 | * @since 5.63 | ||||
99 | */ | ||||
100 | void setIcon(const QIcon &icon); | ||||
101 | | ||||
102 | /** | ||||
103 | * Returns the icon that appears next to the prompt in the dialog. The default icon represents a simple key. | ||||
dfaure: same | |||||
104 | * @since 5.63 | ||||
105 | */ | ||||
106 | QIcon icon() const; | ||||
107 | | ||||
108 | /** | ||||
109 | * Sets the pixmap that appears next to the prompt in the dialog. The default pixmap represents a simple key. | ||||
98 | * | 110 | * | ||
99 | * the recommended size is KIconLoader::SizeHuge | 111 | * the recommended size is KIconLoader::SizeHuge | ||
112 | * | ||||
113 | * @deprecated since 5.63 use setIcon() | ||||
100 | */ | 114 | */ | ||
101 | void setPixmap(const QPixmap &); | 115 | KWIDGETSADDONS_DEPRECATED void setPixmap(const QPixmap &); | ||
102 | 116 | | |||
103 | /** | 117 | /** | ||
104 | * Returns the pixmap that appears next to the prompt in the dialog | 118 | * Returns the pixmap that appears next to the prompt in the dialog | ||
119 | * @deprecated since 5.63 use setIcon() | ||||
105 | */ | 120 | */ | ||
106 | QPixmap pixmap() const; | 121 | KWIDGETSADDONS_DEPRECATED QPixmap pixmap() const; | ||
107 | 122 | | |||
108 | /** | 123 | /** | ||
109 | * Allow empty passwords? - Default: true | 124 | * Allow empty passwords? - Default: true | ||
110 | * | 125 | * | ||
111 | * same as setMinimumPasswordLength( allowed ? 0 : 1 ) | 126 | * same as setMinimumPasswordLength( allowed ? 0 : 1 ) | ||
112 | */ | 127 | */ | ||
113 | void setAllowEmptyPasswords(bool allowed); | 128 | void setAllowEmptyPasswords(bool allowed); | ||
114 | 129 | | |||
▲ Show 20 Lines • Show All 145 Lines • Show Last 20 Lines |
typo: represents