DatabaseActiondlgPrivate.cpp
00001 /*************************************************************************** 00002 DatabaseActiondlgPrivate.cpp - description 00003 ------------------- 00004 begin : Sat Apr 6 2002 00005 copyright : (C) 2002 by reinhold 00006 email : reinhold@albert 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #include <qradiobutton.h> 00019 #include <qbuttongroup.h> 00020 #include <qlayout.h> 00021 #include "DatabaseActiondlgPrivate.h" 00022 00023 DatabaseActionDlgPrivate::DatabaseActionDlgPrivate(QWidget *parent, const char *name ) : DBSettingsWidget(parent,name) { 00024 widgPos=0; 00025 } 00026 DatabaseActionDlgPrivate::~DatabaseActionDlgPrivate(){ 00027 } 00028 QRadioButton*DatabaseActionDlgPrivate::InsertRadioButton(QString ln, const char* sn) { 00029 // QRadioButton*btn = new QRadioButton( DefaultSyncTypeGroup, sn ); 00030 // btn->setText( ln ); 00031 // DefaultSyncTypeGroupLayout->addWidget( btn ); 00032 00033 QRadioButton*btn = new QRadioButton( ln, DefaultSyncTypeGroup, sn ); 00034 // DefaultSyncTypeGroupLayout->addWidget( btn, widgPos++, 0 ); 00035 DefaultSyncTypeGroupLayout->addWidget( btn ); 00036 return btn; 00037 }