summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeditordetails.cpp7
-rw-r--r--korganizer/kotodoeditor.cpp16
2 files changed, 12 insertions, 11 deletions
diff --git a/korganizer/koeditordetails.cpp b/korganizer/koeditordetails.cpp
index ef8025b..2fd13bd 100644
--- a/korganizer/koeditordetails.cpp
+++ b/korganizer/koeditordetails.cpp
@@ -100,2 +100,5 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name)
+ mRsvpButton = new QCheckBox(this);
+ mRsvpButton->setText(i18n("Request response"));
+ mAddressBookButton = new QPushButton(i18n("Address &Book..."),this);
QLabel *attendeeLabel = new QLabel(this);
@@ -129,4 +132,3 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name)
- mRsvpButton = new QCheckBox(this);
- mRsvpButton->setText(i18n("Request response"));
+
connect(mRsvpButton,SIGNAL(clicked()),SLOT(updateAttendeeItem()));
@@ -143,3 +145,2 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name)
- mAddressBookButton = new QPushButton(i18n("Address &Book..."),this);
// buttonLayout->addWidget(mAddressBookButton);
diff --git a/korganizer/kotodoeditor.cpp b/korganizer/kotodoeditor.cpp
index 9232e09..f9f037a 100644
--- a/korganizer/kotodoeditor.cpp
+++ b/korganizer/kotodoeditor.cpp
@@ -135,10 +135,2 @@ void KOTodoEditor::setupGeneral()
if ( QApplication::desktop()->width() < 321 )
- icon = SmallIcon("fileexport16");
- else
- icon = SmallIcon("fileexport");
- QPushButton * saveTemplate = new QPushButton( prioWidget);
- saveTemplate->setIconSet (icon ) ;
- int size = saveTemplate->sizeHint().height();
- saveTemplate->setFixedSize( size, size );
- if ( QApplication::desktop()->width() < 321 )
icon = SmallIcon("fileimport16");
@@ -148,3 +140,11 @@ void KOTodoEditor::setupGeneral()
loadTemplate->setIconSet (icon ) ;
+ int size = loadTemplate->sizeHint().height();
loadTemplate->setFixedSize( size, size );
+ if ( QApplication::desktop()->width() < 321 )
+ icon = SmallIcon("fileexport16");
+ else
+ icon = SmallIcon("fileexport");
+ QPushButton * saveTemplate = new QPushButton( prioWidget);
+ saveTemplate->setIconSet (icon ) ;
+ saveTemplate->setFixedSize( size, size );