diff options
Diffstat (limited to 'kitchensync/src/groupconfigdialog.cpp')
-rw-r--r-- | kitchensync/src/groupconfigdialog.cpp | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/kitchensync/src/groupconfigdialog.cpp b/kitchensync/src/groupconfigdialog.cpp index d0b5894f9..4d8be65d0 100644 --- a/kitchensync/src/groupconfigdialog.cpp +++ b/kitchensync/src/groupconfigdialog.cpp @@ -28,7 +28,7 @@ GroupConfigDialog::GroupConfigDialog( TQWidget *parent, SyncProcess *process ) : KDialogBase( parent, 0, true, i18n("Configure Synchronization Group"), - Ok | User1 | User2, Ok ) + Ok ) { TQFrame *topFrame = makeMainWidget(); @@ -40,13 +40,6 @@ GroupConfigDialog::GroupConfigDialog( TQWidget *parent, SyncProcess *process ) mConfigWidget->setSyncProcess( process ); setInitialSize( configDialogSize( "size_groupconfigdialog" ) ); - - enableButton( User1, false ); - setButtonText( User1, i18n( "Remove Member" ) ); - - connect( mConfigWidget, TQT_SIGNAL( memberSelected( bool ) ), TQT_SLOT( memberSelected( bool ) ) ); - - setButtonText( User2, i18n("Add Member...") ); } GroupConfigDialog::~GroupConfigDialog() @@ -61,19 +54,4 @@ void GroupConfigDialog::slotOk() accept(); } -void GroupConfigDialog::slotUser1() -{ - mConfigWidget->removeMember(); -} - -void GroupConfigDialog::slotUser2() -{ - mConfigWidget->addMember(); -} - -void GroupConfigDialog::memberSelected( bool selected ) -{ - enableButton( User1, selected ); -} - #include "groupconfigdialog.moc" |