summaryrefslogtreecommitdiffabout
path: root/microkde/kdialogbase.cpp
Unidiff
Diffstat (limited to 'microkde/kdialogbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kdialogbase.cpp3
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
240int KDialogBase::pageIndex( QWidget *widget ) const 240int KDialogBase::pageIndex( QWidget *widget ) const
241{ 241{
242 return 0; 242 return 0;
243} 243}
244 244
245 245
246bool KDialogBase::showPage( int index ) 246bool KDialogBase::showPage( int index )
247{ 247{
248 tabWidget()->setCurrentPage( index );return false; 248 tabWidget()->setCurrentPage( index );return false;
249} 249}
250 250
251QFrame *KDialogBase::plainPage() 251QFrame *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
260void KDialogBase::slotOk() 260void KDialogBase::slotOk()
261{ 261{
262 qDebug("KDialogBase::slotOk");
263 emit okClicked(); 262 emit okClicked();
264 accept(); 263 QDialog::accept();
265} 264}
266 265
267void KDialogBase::slotApply() 266void KDialogBase::slotApply()
268{ 267{
269 emit applyClicked(); 268 emit applyClicked();
270} 269}
271 270
272void KDialogBase::slotCancel() 271void KDialogBase::slotCancel()
273{ 272{
274 emit cancelClicked(); 273 emit cancelClicked();
275 reject(); 274 reject();
276} 275}
277 276
278void KDialogBase::slotClose() 277void KDialogBase::slotClose()
279{ 278{
280 emit closeClicked(); 279 emit closeClicked();
281 reject(); 280 reject();
282} 281}
283 282
284void KDialogBase::slotUser1() 283void KDialogBase::slotUser1()
285{ 284{
286 emit user1Clicked(); 285 emit user1Clicked();
287} 286}
288void KDialogBase::slotUser2() 287void KDialogBase::slotUser2()