Changeset View
Changeset View
Standalone View
Standalone View
src/kpassworddialog.h
Show First 20 Lines • Show All 142 Lines • ▼ Show 20 Line(s) | 64 | public: | |||
---|---|---|---|---|---|
143 | void setPrompt(const QString &prompt); | 143 | void setPrompt(const QString &prompt); | ||
144 | 144 | | |||
145 | /** | 145 | /** | ||
146 | * Returns the prompt | 146 | * Returns the prompt | ||
147 | */ | 147 | */ | ||
148 | QString prompt() const; | 148 | QString prompt() const; | ||
149 | 149 | | |||
150 | /** | 150 | /** | ||
151 | * Set the icon that appears next to the prompt. | ||||
152 | * @since 5.63 | ||||
153 | */ | ||||
154 | void setIcon(const QIcon &icon); | ||||
155 | | ||||
156 | /** | ||||
157 | * Returns the icon that appears next to the prompt. | ||||
158 | */ | ||||
159 | QIcon icon() const; | ||||
160 | | ||||
161 | /** | ||||
151 | * set an image that appears next to the prompt. | 162 | * set an image that appears next to the prompt. | ||
163 | * @deprecated since 5.63 use setIcon() | ||||
152 | */ | 164 | */ | ||
153 | void setPixmap(const QPixmap &); | 165 | KWIDGETSADDONS_DEPRECATED void setPixmap(const QPixmap &); | ||
154 | /** | 166 | /** | ||
155 | * | 167 | * @deprecated since 5.63 use icon() | ||
156 | */ | 168 | */ | ||
157 | QPixmap pixmap() const; | 169 | KWIDGETSADDONS_DEPRECATED QPixmap pixmap() const; | ||
158 | 170 | | |||
159 | /** | 171 | /** | ||
160 | * Adds a comment line to the dialog. | 172 | * Adds a comment line to the dialog. | ||
161 | * | 173 | * | ||
162 | * This function allows you to add one additional comment | 174 | * This function allows you to add one additional comment | ||
163 | * line to this widget. Calling this function after a | 175 | * line to this widget. Calling this function after a | ||
164 | * comment has already been added will not have any effect. | 176 | * comment has already been added will not have any effect. | ||
165 | * | 177 | * | ||
▲ Show 20 Lines • Show All 156 Lines • Show Last 20 Lines |