-rw-r--r-- | microkde/kdialogbase.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/microkde/kdialogbase.cpp b/microkde/kdialogbase.cpp index 489474a..2251207 100644 --- a/microkde/kdialogbase.cpp +++ b/microkde/kdialogbase.cpp | |||
@@ -238,51 +238,50 @@ void KDialogBase::showButton( ButtonCode id, bool show ) | |||
238 | } | 238 | } |
239 | 239 | ||
240 | int KDialogBase::pageIndex( QWidget *widget ) const | 240 | int KDialogBase::pageIndex( QWidget *widget ) const |
241 | { | 241 | { |
242 | return 0; | 242 | return 0; |
243 | } | 243 | } |
244 | 244 | ||
245 | 245 | ||
246 | bool KDialogBase::showPage( int index ) | 246 | bool KDialogBase::showPage( int index ) |
247 | { | 247 | { |
248 | tabWidget()->setCurrentPage( index );return false; | 248 | tabWidget()->setCurrentPage( index );return false; |
249 | } | 249 | } |
250 | 250 | ||
251 | QFrame *KDialogBase::plainPage() | 251 | QFrame *KDialogBase::plainPage() |
252 | { | 252 | { |
253 | if ( !mPlainPage ) { | 253 | if ( !mPlainPage ) { |
254 | mPlainPage = new QFrame( this ); | 254 | mPlainPage = new QFrame( this ); |
255 | setMainWidget( mPlainPage ); | 255 | setMainWidget( mPlainPage ); |
256 | } | 256 | } |
257 | return mPlainPage; | 257 | return mPlainPage; |
258 | } | 258 | } |
259 | 259 | ||
260 | void KDialogBase::slotOk() | 260 | void KDialogBase::slotOk() |
261 | { | 261 | { |
262 | qDebug("KDialogBase::slotOk"); | ||
263 | emit okClicked(); | 262 | emit okClicked(); |
264 | accept(); | 263 | QDialog::accept(); |
265 | } | 264 | } |
266 | 265 | ||
267 | void KDialogBase::slotApply() | 266 | void KDialogBase::slotApply() |
268 | { | 267 | { |
269 | emit applyClicked(); | 268 | emit applyClicked(); |
270 | } | 269 | } |
271 | 270 | ||
272 | void KDialogBase::slotCancel() | 271 | void KDialogBase::slotCancel() |
273 | { | 272 | { |
274 | emit cancelClicked(); | 273 | emit cancelClicked(); |
275 | reject(); | 274 | reject(); |
276 | } | 275 | } |
277 | 276 | ||
278 | void KDialogBase::slotClose() | 277 | void KDialogBase::slotClose() |
279 | { | 278 | { |
280 | emit closeClicked(); | 279 | emit closeClicked(); |
281 | reject(); | 280 | reject(); |
282 | } | 281 | } |
283 | 282 | ||
284 | void KDialogBase::slotUser1() | 283 | void KDialogBase::slotUser1() |
285 | { | 284 | { |
286 | emit user1Clicked(); | 285 | emit user1Clicked(); |
287 | } | 286 | } |
288 | void KDialogBase::slotUser2() | 287 | void KDialogBase::slotUser2() |