-rw-r--r-- | korganizer/kofilterview.cpp | 11 | ||||
-rw-r--r-- | korganizer/kofilterview.h | 2 |
2 files changed, 10 insertions, 3 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp index a653c18..105028a 100644 --- a/korganizer/kofilterview.cpp +++ b/korganizer/kofilterview.cpp | |||
@@ -153,2 +153,3 @@ KOCalEditView::KOCalEditView(QWidget* parent, | |||
153 | setMidLineWidth ( 1 ); | 153 | setMidLineWidth ( 1 ); |
154 | setFocusPolicy(NoFocus); | ||
154 | } | 155 | } |
@@ -230,3 +231,3 @@ void KOCalEditView::deleteCal( int id ) | |||
230 | QString file = kkf->mFileName; | 231 | QString file = kkf->mFileName; |
231 | if ( KMessageBox::warningContinueCancel( this, i18n("The calendar <b>%1</b> is displaying file <b>%2</b><tr> Do you want to remove this calendar from KO/Pi? (The file is not removed, of course!)").arg(name).arg(file) ) != KMessageBox::Continue ) return; | 232 | if ( KMessageBox::warningContinueCancel( this, i18n("The calendar<tr><b>%1</b><tr>is displaying file<tr><b>%2</b><tr>Do you want to remove<tr>this calendar from KO/Pi?<tr>(The file is not removed!)").arg(name).arg(file) ) != KMessageBox::Continue ) return; |
232 | if ( kkf->isStandard ) | 233 | if ( kkf->isStandard ) |
@@ -243,3 +244,3 @@ void KOCalEditView::infoCal( int id ) | |||
243 | if ( KOPrefs::instance()->getCalendar( id )->mErrorOnLoad ) { | 244 | if ( KOPrefs::instance()->getCalendar( id )->mErrorOnLoad ) { |
244 | if ( KMessageBox::Yes == KMessageBox::questionYesNo( this, i18n("The calendar <b>%1</b> is not loaded! Loading of file <b>%2</b> failed! <b>Try again to load the calendar?</b>").arg(name).arg(file) ) ) { | 245 | if ( KMessageBox::Yes == KMessageBox::questionYesNo( this, i18n("The calendar <tr><b>%1</b><tr> is not loaded! Loading of file <tr><b>%2</b><tr> failed! <tr><b>Try again to load the calendar?</b>").arg(name).arg(file) ) ) { |
245 | emit calendarAdded( id ); | 246 | emit calendarAdded( id ); |
@@ -250,3 +251,3 @@ void KOCalEditView::infoCal( int id ) | |||
250 | else | 251 | else |
251 | KMessageBox::information( this, i18n("The calendar <b>%1</b> is displaying file <b>%2</b>").arg(name).arg(file) ); | 252 | KMessageBox::information( this, i18n("The calendar <tr><b>%1</b><tr>is displaying file<tr><b>%2</b>").arg(name).arg(file) ); |
252 | } | 253 | } |
@@ -268,2 +269,3 @@ void KOCalEditView::readConfig() | |||
268 | QPushButton * addBut = new QPushButton ( mw ); | 269 | QPushButton * addBut = new QPushButton ( mw ); |
270 | addBut->setFocusPolicy(NoFocus); | ||
269 | mainLayout->addWidget( addBut,0,0 ); | 271 | mainLayout->addWidget( addBut,0,0 ); |
@@ -274,2 +276,3 @@ void KOCalEditView::readConfig() | |||
274 | addBut = new QPushButton ( mw ); | 276 | addBut = new QPushButton ( mw ); |
277 | addBut->setFocusPolicy(NoFocus); | ||
275 | mainLayout->addWidget( addBut,0,1 ); | 278 | mainLayout->addWidget( addBut,0,1 ); |
@@ -285,2 +288,3 @@ void KOCalEditView::readConfig() | |||
285 | addBut = new QPushButton ( mw ); | 288 | addBut = new QPushButton ( mw ); |
289 | addBut->setFocusPolicy(NoFocus); | ||
286 | mainLayout->addWidget( addBut,0,4 ); | 290 | mainLayout->addWidget( addBut,0,4 ); |
@@ -291,2 +295,3 @@ void KOCalEditView::readConfig() | |||
291 | addBut = new QPushButton ( mw ); | 295 | addBut = new QPushButton ( mw ); |
296 | addBut->setFocusPolicy(NoFocus); | ||
292 | mainLayout->addWidget( addBut,0,5 ); | 297 | mainLayout->addWidget( addBut,0,5 ); |
diff --git a/korganizer/kofilterview.h b/korganizer/kofilterview.h index e2ebdd4..3ab316f 100644 --- a/korganizer/kofilterview.h +++ b/korganizer/kofilterview.h | |||
@@ -47,2 +47,3 @@ class KOCalButton : public QPushButton | |||
47 | mNumber = -1; | 47 | mNumber = -1; |
48 | setFocusPolicy(NoFocus); | ||
48 | } | 49 | } |
@@ -71,2 +72,3 @@ class KOCalCheckButton : public QCheckBox | |||
71 | mNumber = -1; | 72 | mNumber = -1; |
73 | setFocusPolicy(NoFocus); | ||
72 | //setMaximumWidth( 10 ); | 74 | //setMaximumWidth( 10 ); |