author | zautrix <zautrix> | 2005-01-29 07:48:23 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-29 07:48:23 (UTC) |
commit | ef1d97a243957180f5ffc3c3b055ffd8bf52e157 (patch) (unidiff) | |
tree | 57ebf97cfd0d324ffcecbfb0c9814745f73d54a5 /korganizer/koprefsdialog.cpp | |
parent | 0850ade22908615389800c6ee973f5906154d980 (diff) | |
download | kdepimpi-ef1d97a243957180f5ffc3c3b055ffd8bf52e157.zip kdepimpi-ef1d97a243957180f5ffc3c3b055ffd8bf52e157.tar.gz kdepimpi-ef1d97a243957180f5ffc3c3b055ffd8bf52e157.tar.bz2 |
many stribg fixes
-rw-r--r-- | korganizer/koprefsdialog.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/korganizer/koprefsdialog.cpp b/korganizer/koprefsdialog.cpp index ea73fd0..1b24f56 100644 --- a/korganizer/koprefsdialog.cpp +++ b/korganizer/koprefsdialog.cpp | |||
@@ -707,47 +707,45 @@ void KOPrefsDialog::setupViewsTab() | |||
707 | 707 | ||
708 | 708 | ||
709 | 709 | ||
710 | topFrame = addPage(i18n("Month View"),0,0); | 710 | topFrame = addPage(i18n("Month View"),0,0); |
711 | // DesktopIcon("viewmag",KIcon::SizeMedium)); | 711 | // DesktopIcon("viewmag",KIcon::SizeMedium)); |
712 | 712 | ||
713 | topLayout = new QGridLayout(topFrame,5,1); | 713 | topLayout = new QGridLayout(topFrame,5,1); |
714 | topLayout->setSpacing(spacingHint()); | 714 | topLayout->setSpacing(spacingHint()); |
715 | topLayout->setMargin(marginHint()); | 715 | topLayout->setMargin(marginHint()); |
716 | ii = 0; | 716 | ii = 0; |
717 | QLabel *lab; | 717 | QLabel *lab; |
718 | QHBox *habo = new QHBox( topFrame ); | 718 | QHBox *habo = new QHBox( topFrame ); |
719 | if ( QApplication::desktop()->width() < 320 ) { | 719 | if ( QApplication::desktop()->width() <= 480 ) { |
720 | lab = new QLabel ( i18n("Show events that recur "), topFrame ); | 720 | lab = new QLabel ( i18n("Show events that recur "), topFrame ); |
721 | topLayout->addMultiCellWidget(lab,ii, ii,0,1); | 721 | topLayout->addMultiCellWidget(lab,ii, ii,0,1); |
722 | ii++; | 722 | ii++; |
723 | |||
724 | } else { | 723 | } else { |
725 | new QLabel ( i18n("Show events that recur "), habo ); | 724 | new QLabel ( i18n("Show events that recur "), habo ); |
726 | |||
727 | } | 725 | } |
728 | dailyRecur = | 726 | dailyRecur = |
729 | addWidBool(i18n("daily"), | 727 | addWidBool(i18n("daily"), |
730 | &(KOPrefs::instance()->mMonthDailyRecur),habo); | 728 | &(KOPrefs::instance()->mMonthDailyRecur),habo); |
731 | // topLayout->addWidget(dailyRecur->checkBox(),ii++,0); | 729 | // topLayout->addWidget(dailyRecur->checkBox(),ii++,0); |
732 | 730 | ||
733 | weeklyRecur = | 731 | weeklyRecur = |
734 | addWidBool(i18n("weekly"), | 732 | addWidBool(i18n("weekly"), |
735 | &(KOPrefs::instance()->mMonthWeeklyRecur),habo); | 733 | &(KOPrefs::instance()->mMonthWeeklyRecur),habo); |
736 | topLayout->addMultiCellWidget(habo,ii, ii,0,1); | 734 | topLayout->addMultiCellWidget(habo,ii, ii,0,1); |
737 | ii++; | 735 | ii++; |
738 | 736 | ||
739 | 737 | ||
740 | habo = new QHBox( topFrame ); | 738 | habo = new QHBox( topFrame ); |
741 | if ( QApplication::desktop()->width() < 320 ) { | 739 | if ( QApplication::desktop()->width() <= 480 ) { |
742 | lab = new QLabel (i18n("Show in every cell ") , topFrame ); | 740 | lab = new QLabel (i18n("Show in every cell ") , topFrame ); |
743 | topLayout->addMultiCellWidget(lab,ii, ii,0,1); | 741 | topLayout->addMultiCellWidget(lab,ii, ii,0,1); |
744 | ii++; | 742 | ii++; |
745 | 743 | ||
746 | } else { | 744 | } else { |
747 | new QLabel ( i18n("Show in every cell "), habo ); | 745 | new QLabel ( i18n("Show in every cell "), habo ); |
748 | } | 746 | } |
749 | weeklyRecur = | 747 | weeklyRecur = |
750 | addWidBool(i18n("short month"), | 748 | addWidBool(i18n("short month"), |
751 | &(KOPrefs::instance()->mMonthShowShort),habo); | 749 | &(KOPrefs::instance()->mMonthShowShort),habo); |
752 | weeklyRecur = | 750 | weeklyRecur = |
753 | addWidBool(i18n("icons"), | 751 | addWidBool(i18n("icons"), |