summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/addressbook/addresspluginconfig.cpp
Unidiff
Diffstat (limited to 'core/pim/today/plugins/addressbook/addresspluginconfig.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/addressbook/addresspluginconfig.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/today/plugins/addressbook/addresspluginconfig.cpp b/core/pim/today/plugins/addressbook/addresspluginconfig.cpp
index 7b6117e..4f1630d 100644
--- a/core/pim/today/plugins/addressbook/addresspluginconfig.cpp
+++ b/core/pim/today/plugins/addressbook/addresspluginconfig.cpp
@@ -27,27 +27,27 @@
27#include <qvgroupbox.h> 27#include <qvgroupbox.h>
28 28
29 29
30AddressBookPluginConfig::AddressBookPluginConfig( QWidget *parent, const char* name) 30AddressBookPluginConfig::AddressBookPluginConfig( QWidget *parent, const char* name)
31 : TodayConfigWidget(parent, name ) { 31 : TodayConfigWidget(parent, name ) {
32 32
33 QVBoxLayout * layout = new QVBoxLayout( this ); 33 QVBoxLayout * layout = new QVBoxLayout( this );
34 layout->setMargin( 5 ); 34 layout->setMargin( 5 );
35 35
36 // Buttongroup to enable/disable shown stuff 36 // Buttongroup to enable/disable shown stuff
37 QVGroupBox* b_group = new QVGroupBox( this, "name" ); 37 QVGroupBox* b_group = new QVGroupBox( this, "name" );
38 b_group -> setTitle( tr("Enable/Disable Views") ); 38 b_group -> setTitle( tr("Enable/Disable Views") );
39 m_showBirthdayButton = new QRadioButton( b_group ); 39 m_showBirthdayButton = new QCheckBox( b_group );
40 m_showBirthdayButton -> setText( tr( "Show &Birthdays" ) ); 40 m_showBirthdayButton -> setText( tr( "Show &Birthdays" ) );
41 m_showAnniversaryButton = new QRadioButton( b_group ); 41 m_showAnniversaryButton = new QCheckBox( b_group );
42 m_showAnniversaryButton -> setText( tr( "Show &Anniveraries" ) ); 42 m_showAnniversaryButton -> setText( tr( "Show &Anniveraries" ) );
43 43
44 QWhatsThis::add( m_showBirthdayButton , tr( "The next birthdays will just be shown, if enabled!" ) ); 44 QWhatsThis::add( m_showBirthdayButton , tr( "The next birthdays will just be shown, if enabled!" ) );
45 QWhatsThis::add( m_showAnniversaryButton , tr( "The next anniversaries will just be shown, if enabled !" ) ); 45 QWhatsThis::add( m_showAnniversaryButton , tr( "The next anniversaries will just be shown, if enabled !" ) );
46 46
47 // Max lines settings 47 // Max lines settings
48 QHBox *box1 = new QHBox( this ); 48 QHBox *box1 = new QHBox( this );
49 QLabel* TextLabel6 = new QLabel( box1, "TextLabel6" ); 49 QLabel* TextLabel6 = new QLabel( box1, "TextLabel6" );
50 TextLabel6->setText( tr( "Max Lines: " ) ); 50 TextLabel6->setText( tr( "Max Lines: " ) );
51 SpinBox2 = new QSpinBox( box1, "SpinBox2" ); 51 SpinBox2 = new QSpinBox( box1, "SpinBox2" );
52 SpinBox2->setMaxValue( 40 ); 52 SpinBox2->setMaxValue( 40 );
53 QWhatsThis::add( SpinBox2 , tr( "Set the maximum number of lines that should be shown for each anniversaries/birthdays" ) ); 53 QWhatsThis::add( SpinBox2 , tr( "Set the maximum number of lines that should be shown for each anniversaries/birthdays" ) );