Diffstat (limited to 'korganizer/koincidenceeditor.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | korganizer/koincidenceeditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/koincidenceeditor.cpp b/korganizer/koincidenceeditor.cpp index 9813a80..9bc0302 100644 --- a/korganizer/koincidenceeditor.cpp +++ b/korganizer/koincidenceeditor.cpp | |||
@@ -65,49 +65,49 @@ KOIncidenceEditor::KOIncidenceEditor( const QString &caption, | |||
65 | // } | 65 | // } |
66 | setButtonText( User1, saveTemplateText ); | 66 | setButtonText( User1, saveTemplateText ); |
67 | 67 | ||
68 | //mCategoryDialog = new KPIM::CategorySelectDialog( KOPrefs::instance(), this ); | 68 | //mCategoryDialog = new KPIM::CategorySelectDialog( KOPrefs::instance(), this ); |
69 | // KOGlobals::fitDialogToScreen( mCategoryDialog ); | 69 | // KOGlobals::fitDialogToScreen( mCategoryDialog ); |
70 | 70 | ||
71 | //connect(mCategoryDialog,SIGNAL(editCategories()),SIGNAL(editCategories())); | 71 | //connect(mCategoryDialog,SIGNAL(editCategories()),SIGNAL(editCategories())); |
72 | 72 | ||
73 | //connect( this, SIGNAL( defaultClicked() ), SLOT( slotLoadTemplate() ) ); | 73 | //connect( this, SIGNAL( defaultClicked() ), SLOT( slotLoadTemplate() ) ); |
74 | // connect( this, SIGNAL( user1Clicked() ), SLOT( slotSaveTemplate() ) ); | 74 | // connect( this, SIGNAL( user1Clicked() ), SLOT( slotSaveTemplate() ) ); |
75 | connect( this, SIGNAL( user1Clicked() ), SLOT( slotShowIncidence() ) ); | 75 | connect( this, SIGNAL( user1Clicked() ), SLOT( slotShowIncidence() ) ); |
76 | } | 76 | } |
77 | 77 | ||
78 | KOIncidenceEditor::~KOIncidenceEditor() | 78 | KOIncidenceEditor::~KOIncidenceEditor() |
79 | { | 79 | { |
80 | //delete mCategoryDialog; | 80 | //delete mCategoryDialog; |
81 | } | 81 | } |
82 | 82 | ||
83 | void KOIncidenceEditor::setupAttendeesTab() | 83 | void KOIncidenceEditor::setupAttendeesTab() |
84 | { | 84 | { |
85 | QFrame *topFrame = addPage(i18n("Attendees")); | 85 | QFrame *topFrame = addPage(i18n("Attendees")); |
86 | 86 | ||
87 | QBoxLayout *topLayout = new QVBoxLayout(topFrame); | 87 | QBoxLayout *topLayout = new QVBoxLayout(topFrame); |
88 | 88 | ||
89 | mDetails = new KOEditorDetails(spacingHint(),topFrame); | 89 | mDetails = new KOEditorDetails(spacingHint()-2,topFrame); |
90 | topLayout->addWidget(mDetails); | 90 | topLayout->addWidget(mDetails); |
91 | } | 91 | } |
92 | 92 | ||
93 | 93 | ||
94 | void KOIncidenceEditor::slotApply() | 94 | void KOIncidenceEditor::slotApply() |
95 | { | 95 | { |
96 | processInput( false ); | 96 | processInput( false ); |
97 | } | 97 | } |
98 | void KOIncidenceEditor::accept() | 98 | void KOIncidenceEditor::accept() |
99 | { | 99 | { |
100 | slotOk(); | 100 | slotOk(); |
101 | } | 101 | } |
102 | void KOIncidenceEditor::slotOk() | 102 | void KOIncidenceEditor::slotOk() |
103 | { | 103 | { |
104 | if ( processInput( false ) ) QDialog::accept(); | 104 | if ( processInput( false ) ) QDialog::accept(); |
105 | } | 105 | } |
106 | 106 | ||
107 | void KOIncidenceEditor::updateCategoryConfig() | 107 | void KOIncidenceEditor::updateCategoryConfig() |
108 | { | 108 | { |
109 | qDebug("KOIncidenceEditor::updateCategoryConfig() is dead! "); | 109 | qDebug("KOIncidenceEditor::updateCategoryConfig() is dead! "); |
110 | //mCategoryDialog->updateCategoryConfig(); | 110 | //mCategoryDialog->updateCategoryConfig(); |
111 | } | 111 | } |
112 | 112 | ||
113 | void KOIncidenceEditor::slotCancel() | 113 | void KOIncidenceEditor::slotCancel() |