summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-09-22 00:34:51 (UTC)
committer zautrix <zautrix>2004-09-22 00:34:51 (UTC)
commit01572248367c63119514d15d7401a5b2b83349a0 (patch) (unidiff)
tree892544498d4b989a9c319b21b243b818652e9718
parentcc0e64e64da1b2d25dd95ab6d2c2f55bd8822e8f (diff)
downloadkdepimpi-01572248367c63119514d15d7401a5b2b83349a0.zip
kdepimpi-01572248367c63119514d15d7401a5b2b83349a0.tar.gz
kdepimpi-01572248367c63119514d15d7401a5b2b83349a0.tar.bz2
make it compile
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/koprefsdialog.cpp74
1 files changed, 37 insertions, 37 deletions
diff --git a/kmicromail/koprefsdialog.cpp b/kmicromail/koprefsdialog.cpp
index 87a6715..7d7bd2a 100644
--- a/kmicromail/koprefsdialog.cpp
+++ b/kmicromail/koprefsdialog.cpp
@@ -96,5 +96,5 @@ KOPrefsDialog::~KOPrefsDialog()
96} 96}
97 97
98void KOPrefsDialog::setupMainTab() 98void KOPrefsDialog::setupMainTab()
99{ 99{
100 QFrame *topFrame = addPage(i18n("General"),0,0); 100 QFrame *topFrame = addPage(i18n("General"),0,0);
@@ -116,5 +116,5 @@ void KOPrefsDialog::setupMainTab()
116 QLabel *lab = new QLabel( i18n("HINT: Separate multiple\neMail addresses by \";\""), topFrame); 116 QLabel *lab = new QLabel( i18n("HINT: Separate multiple\neMail addresses by \";\""), topFrame);
117 topLayout->addMultiCellWidget(lab,2,2,0,1); 117 topLayout->addMultiCellWidget(lab,2,2,0,1);
118 KPrefsWidBool* ttt = addWidBool(i18n("Ignore above settings and\nuse KA/Pi \"Who am I\" instead!"), 118 KPrefsDialogWidBool* ttt = addWidBool(i18n("Ignore above settings and\nuse KA/Pi \"Who am I\" instead!"),
119 &(KOPrefs::instance()->mUseKapi),topFrame); 119 &(KOPrefs::instance()->mUseKapi),topFrame);
120 topLayout->addMultiCellWidget(ttt->checkBox(),3,3,0,1); 120 topLayout->addMultiCellWidget(ttt->checkBox(),3,3,0,1);
@@ -129,5 +129,5 @@ void KOPrefsDialog::setupMailTab()
129 topLayout->setMargin(marginHint()); 129 topLayout->setMargin(marginHint());
130 130
131 KPrefsWidBool* ttt = addWidBool(i18n("View mail as html"), 131 KPrefsDialogWidBool* ttt = addWidBool(i18n("View mail as html"),
132 &(KOPrefs::instance()->mViewAsHtml),topFrame); 132 &(KOPrefs::instance()->mViewAsHtml),topFrame);
133 topLayout->addMultiCellWidget(ttt->checkBox(),0,0,0,1); 133 topLayout->addMultiCellWidget(ttt->checkBox(),0,0,0,1);
@@ -149,7 +149,7 @@ void KOPrefsDialog::setupFontsTab()
149 topLayout->setSpacing(1); 149 topLayout->setSpacing(1);
150 topLayout->setMargin(3); 150 topLayout->setMargin(3);
151 KPrefsWidFont * tVFont; 151 KPrefsDialogWidFont * tVFont;
152 int i = 0; 152 int i = 0;
153 KPrefsWidFont *timeLabelsFont = 153 KPrefsDialogWidFont *timeLabelsFont =
154 addWidFont(i18n("OK"),i18n("Application(nr)"), 154 addWidFont(i18n("OK"),i18n("Application(nr)"),
155 &(KOPrefs::instance()->mAppFont),topFrame); 155 &(KOPrefs::instance()->mAppFont),topFrame);
@@ -168,5 +168,5 @@ void KOPrefsDialog::setupFontsTab()
168 ++i; 168 ++i;
169 169
170 KPrefsWidFont *timeBarFont = 170 KPrefsDialogWidFont *timeBarFont =
171 addWidFont(i18n("Hello"),i18n("Read mail:"), 171 addWidFont(i18n("Hello"),i18n("Read mail:"),
172 &(KOPrefs::instance()->mReadFont),topFrame); 172 &(KOPrefs::instance()->mReadFont),topFrame);
@@ -277,5 +277,5 @@ void KOPrefsDialog::setupLocaleTab()
277 topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); 277 topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1);
278 ++iii; 278 ++iii;
279 KPrefsWidBool *sb; 279 KPrefsDialogWidBool *sb;
280 if ( QApplication::desktop()->width() < 300 ) { 280 if ( QApplication::desktop()->width() < 300 ) {
281 sb = 281 sb =
@@ -328,5 +328,5 @@ void KOPrefsDialog::setupSyncAlgTab()
328 int iii = 0; 328 int iii = 0;
329 329
330 KPrefsWidBool *sb = 330 KPrefsDialogWidBool *sb =
331 addWidBool(i18n("Ask for preferences before syncing"), 331 addWidBool(i18n("Ask for preferences before syncing"),
332 &(KOPrefs::instance()->mAskForPreferences),topFrame); 332 &(KOPrefs::instance()->mAskForPreferences),topFrame);
@@ -395,5 +395,5 @@ void KOPrefsDialog::setupSyncTab()
395 ++iii; 395 ++iii;
396 396
397 KPrefsWidBool *wb = 397 KPrefsDialogWidBool *wb =
398 addWidBool(i18n("Write back synced file"), 398 addWidBool(i18n("Write back synced file"),
399 &(KOPrefs::instance()->mWriteBackFile),topFrame); 399 &(KOPrefs::instance()->mWriteBackFile),topFrame);
@@ -418,5 +418,5 @@ void KOPrefsDialog::setupMainTab()
418 topLayout->setMargin(marginHint()); 418 topLayout->setMargin(marginHint());
419 419
420 // KPrefsWidBool *emailControlCenter = 420 // KPrefsDialogWidBool *emailControlCenter =
421// addWidBool(i18n("&Use email settings from Control Center"), 421// addWidBool(i18n("&Use email settings from Control Center"),
422// &(KOPrefs::instance()->mEmailControlCenter),topFrame); 422// &(KOPrefs::instance()->mEmailControlCenter),topFrame);
@@ -434,5 +434,5 @@ void KOPrefsDialog::setupMainTab()
434 topLayout->addWidget(mEmailLabel,1,0); 434 topLayout->addWidget(mEmailLabel,1,0);
435 topLayout->addWidget(mEmailEdit,1,1); 435 topLayout->addWidget(mEmailEdit,1,1);
436 KPrefsWidBool *wb; 436 KPrefsDialogWidBool *wb;
437 QHBox *dummy; 437 QHBox *dummy;
438 if ( QApplication::desktop()->width() > 480 ) { 438 if ( QApplication::desktop()->width() > 480 ) {
@@ -477,5 +477,5 @@ void KOPrefsDialog::setupMainTab()
477 mPrioSpin->setFixedWidth( 40 ); 477 mPrioSpin->setFixedWidth( 40 );
478 478
479 // KPrefsWidBool *bcc = 479 // KPrefsDialogWidBool *bcc =
480// addWidBool(i18n("Send copy to owner when mailing events"), 480// addWidBool(i18n("Send copy to owner when mailing events"),
481// &(KOPrefs::instance()->mBcc),topFrame); 481// &(KOPrefs::instance()->mBcc),topFrame);
@@ -504,5 +504,5 @@ void KOPrefsDialog::setupMainTab()
504 topLayout->addMultiCellWidget(agendasize,7,7,0,1); 504 topLayout->addMultiCellWidget(agendasize,7,7,0,1);
505 */ 505 */
506 KPrefsWidBool *verticalScreen = 506 KPrefsDialogWidBool *verticalScreen =
507 addWidBool(i18n("Show vertical screen (Needs restart)"), 507 addWidBool(i18n("Show vertical screen (Needs restart)"),
508 &(KOPrefs::instance()->mVerticalScreen),topFrame); 508 &(KOPrefs::instance()->mVerticalScreen),topFrame);
@@ -510,5 +510,5 @@ void KOPrefsDialog::setupMainTab()
510 topLayout->addMultiCellWidget(verticalScreen->checkBox(),7,7,0,1); 510 topLayout->addMultiCellWidget(verticalScreen->checkBox(),7,7,0,1);
511 511
512 KPrefsWidBool *ask = 512 KPrefsDialogWidBool *ask =
513 addWidBool(i18n("Ask for quit when closing KO/Pi"), 513 addWidBool(i18n("Ask for quit when closing KO/Pi"),
514 &(KOPrefs::instance()->mAskForQuit),topFrame); 514 &(KOPrefs::instance()->mAskForQuit),topFrame);
@@ -517,5 +517,5 @@ void KOPrefsDialog::setupMainTab()
517 517
518 /* 518 /*
519 KPrefsWidBool *confirmCheck = 519 KPrefsDialogWidBool *confirmCheck =
520 addWidBool(i18n("Confirm &deletes"),&(KOPrefs::instance()->mConfirm), 520 addWidBool(i18n("Confirm &deletes"),&(KOPrefs::instance()->mConfirm),
521 topFrame); 521 topFrame);
@@ -561,5 +561,5 @@ void KOPrefsDialog::setupMainTab()
561 topLayout->addMultiCellWidget(mailClientGroup->groupBox(),11,11,0,1); 561 topLayout->addMultiCellWidget(mailClientGroup->groupBox(),11,11,0,1);
562 562
563 KPrefsWidBool *htmlsave = 563 KPrefsDialogWidBool *htmlsave =
564 addWidBool(i18n("Export to HTML with every save"),&(KOPrefs::instance()->mHtmlWithSave), 564 addWidBool(i18n("Export to HTML with every save"),&(KOPrefs::instance()->mHtmlWithSave),
565 topFrame); 565 topFrame);
@@ -641,5 +641,5 @@ void KOPrefsDialog::setupTimeTab()
641 &(KOPrefs::instance()->mExcludeSaturdays),excludeBox); 641 &(KOPrefs::instance()->mExcludeSaturdays),excludeBox);
642 642
643// KPrefsWidBool *marcusBainsShowSeconds = addWidBool(i18n("Show seconds on Marcus Bains line"), 643// KPrefsDialogWidBool *marcusBainsShowSeconds = addWidBool(i18n("Show seconds on Marcus Bains line"),
644 // &(KOPrefs::instance()->mMarcusBainsShowSeconds), 644 // &(KOPrefs::instance()->mMarcusBainsShowSeconds),
645 // topFrame); 645 // topFrame);
@@ -679,5 +679,5 @@ void KOPrefsDialog::setupViewsTab()
679 679
680 int ii = 0; 680 int ii = 0;
681 KPrefsWidBool *dummy = 681 KPrefsDialogWidBool *dummy =
682 addWidBool(i18n("Edit item on doubleclick (if not, show)"), 682 addWidBool(i18n("Edit item on doubleclick (if not, show)"),
683 &(KOPrefs::instance()->mEditOnDoubleClick),topFrame); 683 &(KOPrefs::instance()->mEditOnDoubleClick),topFrame);
@@ -694,10 +694,10 @@ void KOPrefsDialog::setupViewsTab()
694 topLayout->addWidget(dummy->checkBox(),ii++,0); 694 topLayout->addWidget(dummy->checkBox(),ii++,0);
695 695
696 KPrefsWidBool *dailyRecur = 696 KPrefsDialogWidBool *dailyRecur =
697 addWidBool(i18n("Show events that recur daily in date nav."), 697 addWidBool(i18n("Show events that recur daily in date nav."),
698 &(KOPrefs::instance()->mDailyRecur),topFrame); 698 &(KOPrefs::instance()->mDailyRecur),topFrame);
699 topLayout->addWidget(dailyRecur->checkBox(),ii++,0); 699 topLayout->addWidget(dailyRecur->checkBox(),ii++,0);
700 700
701 KPrefsWidBool *weeklyRecur = 701 KPrefsDialogWidBool *weeklyRecur =
702 addWidBool(i18n("Show ev. that recur weekly in date nav."), 702 addWidBool(i18n("Show ev. that recur weekly in date nav."),
703 &(KOPrefs::instance()->mWeeklyRecur),topFrame); 703 &(KOPrefs::instance()->mWeeklyRecur),topFrame);
@@ -705,5 +705,5 @@ void KOPrefsDialog::setupViewsTab()
705 if ( QApplication::desktop()->width() > 640 ) { 705 if ( QApplication::desktop()->width() > 640 ) {
706 706
707 KPrefsWidBool *enableToolTips = 707 KPrefsDialogWidBool *enableToolTips =
708 addWidBool(i18n("Enable tooltips displaying summary of ev."), 708 addWidBool(i18n("Enable tooltips displaying summary of ev."),
709 &(KOPrefs::instance()->mEnableToolTips),topFrame); 709 &(KOPrefs::instance()->mEnableToolTips),topFrame);
@@ -711,5 +711,5 @@ void KOPrefsDialog::setupViewsTab()
711 711
712 } 712 }
713 KPrefsWidBool *passwdk = 713 KPrefsDialogWidBool *passwdk =
714 addWidBool(i18n("Show parent To-Do's in What's Next view"), 714 addWidBool(i18n("Show parent To-Do's in What's Next view"),
715 &(KOPrefs::instance()->mWNViewShowsParents),topFrame); 715 &(KOPrefs::instance()->mWNViewShowsParents),topFrame);
@@ -727,5 +727,5 @@ void KOPrefsDialog::setupViewsTab()
727 727
728 728
729 KPrefsWidBool *marcusBainsEnabled = 729 KPrefsDialogWidBool *marcusBainsEnabled =
730 addWidBool(i18n("Show Marcus Bains line"), 730 addWidBool(i18n("Show Marcus Bains line"),
731 &(KOPrefs::instance()->mMarcusBainsEnabled),topFrame); 731 &(KOPrefs::instance()->mMarcusBainsEnabled),topFrame);
@@ -762,10 +762,10 @@ void KOPrefsDialog::setupViewsTab()
762 762
763 763
764 KPrefsWidBool *fullViewTodo = 764 KPrefsDialogWidBool *fullViewTodo =
765 addWidBool(i18n("Event list view uses full window"), 765 addWidBool(i18n("Event list view uses full window"),
766 &(KOPrefs::instance()->mFullViewTodo),topFrame); 766 &(KOPrefs::instance()->mFullViewTodo),topFrame);
767 topLayout->addWidget(fullViewTodo->checkBox(),ii++,0); 767 topLayout->addWidget(fullViewTodo->checkBox(),ii++,0);
768 768
769 KPrefsWidBool *fullViewMonth = 769 KPrefsDialogWidBool *fullViewMonth =
770 addWidBool(i18n("Next days view uses full window"), 770 addWidBool(i18n("Next days view uses full window"),
771 &(KOPrefs::instance()->mFullViewMonth),topFrame); 771 &(KOPrefs::instance()->mFullViewMonth),topFrame);
@@ -844,5 +844,5 @@ void KOPrefsDialog::setupViewsTab()
844 ii++; 844 ii++;
845#ifdef DESKTOP_VERSION 845#ifdef DESKTOP_VERSION
846 KPrefsWidBool *enableMonthScroll = 846 KPrefsDialogWidBool *enableMonthScroll =
847 addWidBool(i18n("Enable scrollbars in month view cells"), 847 addWidBool(i18n("Enable scrollbars in month view cells"),
848 &(KOPrefs::instance()->mEnableMonthScroll),topFrame); 848 &(KOPrefs::instance()->mEnableMonthScroll),topFrame);
@@ -855,5 +855,5 @@ void KOPrefsDialog::setupViewsTab()
855 topLayout->addWidget(dummy->checkBox(),ii++,0); 855 topLayout->addWidget(dummy->checkBox(),ii++,0);
856 856
857 KPrefsWidBool *coloredCategoriesInMonthView = 857 KPrefsDialogWidBool *coloredCategoriesInMonthView =
858 addWidBool(i18n("Month view uses category colors"), 858 addWidBool(i18n("Month view uses category colors"),
859 &(KOPrefs::instance()->mMonthViewUsesCategoryColor),topFrame); 859 &(KOPrefs::instance()->mMonthViewUsesCategoryColor),topFrame);
@@ -898,5 +898,5 @@ void KOPrefsDialog::setupViewsTab()
898 ii = 0; 898 ii = 0;
899 899
900 KPrefsWidBool *showCompletedTodo = 900 KPrefsDialogWidBool *showCompletedTodo =
901 addWidBool(i18n("To-do view shows completed Todos"), 901 addWidBool(i18n("To-do view shows completed Todos"),
902 &(KOPrefs::instance()->mShowCompletedTodo),topFrame); 902 &(KOPrefs::instance()->mShowCompletedTodo),topFrame);
@@ -1048,7 +1048,7 @@ void KOPrefsDialog::setupFontsTab()
1048 topLayout->setSpacing(1); 1048 topLayout->setSpacing(1);
1049 topLayout->setMargin(3); 1049 topLayout->setMargin(3);
1050 KPrefsWidFont * tVFont; 1050 KPrefsDialogWidFont * tVFont;
1051 int i = 0; 1051 int i = 0;
1052 KPrefsWidFont *timeLabelsFont = 1052 KPrefsDialogWidFont *timeLabelsFont =
1053 addWidFont(i18n("23"),i18n("DateNavigator:(nr)"), 1053 addWidFont(i18n("23"),i18n("DateNavigator:(nr)"),
1054 &(KOPrefs::instance()->mDateNavigatorFont),topFrame); 1054 &(KOPrefs::instance()->mDateNavigatorFont),topFrame);
@@ -1067,5 +1067,5 @@ void KOPrefsDialog::setupFontsTab()
1067 ++i; 1067 ++i;
1068 1068
1069 KPrefsWidFont *timeBarFont = 1069 KPrefsDialogWidFont *timeBarFont =
1070 addWidFont(KGlobal::locale()->formatTime(QTime(12,34)),i18n("Time bar:"), 1070 addWidFont(KGlobal::locale()->formatTime(QTime(12,34)),i18n("Time bar:"),
1071 &(KOPrefs::instance()->mTimeBarFont),topFrame); 1071 &(KOPrefs::instance()->mTimeBarFont),topFrame);
@@ -1076,5 +1076,5 @@ void KOPrefsDialog::setupFontsTab()
1076 1076
1077 1077
1078 KPrefsWidFont *marcusBainsFont = 1078 KPrefsDialogWidFont *marcusBainsFont =
1079 addWidFont(KGlobal::locale()->formatTime(QTime(12,34,23)),i18n("M. Bains line:"), 1079 addWidFont(KGlobal::locale()->formatTime(QTime(12,34,23)),i18n("M. Bains line:"),
1080 &(KOPrefs::instance()->mMarcusBainsFont),topFrame); 1080 &(KOPrefs::instance()->mMarcusBainsFont),topFrame);
@@ -1123,5 +1123,5 @@ void KOPrefsDialog::setupFontsTab()
1123 topLayout->addWidget(tVFont->button(),i,2); 1123 topLayout->addWidget(tVFont->button(),i,2);
1124 ++i; 1124 ++i;
1125 KPrefsWidFont *agendaViewFont = 1125 KPrefsDialogWidFont *agendaViewFont =
1126 addWidFont(i18n("Event text"),i18n("Agenda view:"), 1126 addWidFont(i18n("Event text"),i18n("Agenda view:"),
1127 &(KOPrefs::instance()->mAgendaViewFont),topFrame); 1127 &(KOPrefs::instance()->mAgendaViewFont),topFrame);
@@ -1132,5 +1132,5 @@ void KOPrefsDialog::setupFontsTab()
1132 1132
1133 1133
1134 KPrefsWidFont *monthViewFont = 1134 KPrefsDialogWidFont *monthViewFont =
1135 addWidFont(KGlobal::locale()->formatTime(QTime(12,34)) + " " + i18n("Event"), 1135 addWidFont(KGlobal::locale()->formatTime(QTime(12,34)) + " " + i18n("Event"),
1136 i18n("Month view:"),&(KOPrefs::instance()->mMonthViewFont),topFrame); 1136 i18n("Month view:"),&(KOPrefs::instance()->mMonthViewFont),topFrame);
@@ -1141,5 +1141,5 @@ void KOPrefsDialog::setupFontsTab()
1141 1141
1142 1142
1143 KPrefsWidFont *lVFont = 1143 KPrefsDialogWidFont *lVFont =
1144 addWidFont(i18n("Event"),i18n("List View:"), 1144 addWidFont(i18n("Event"),i18n("List View:"),
1145 &(KOPrefs::instance()->mListViewFont),topFrame); 1145 &(KOPrefs::instance()->mListViewFont),topFrame);
@@ -1242,5 +1242,5 @@ void KOPrefsDialog::setupColorsTab()
1242 topLayout->addWidget(workingHoursColor->button(),ii++,1); 1242 topLayout->addWidget(workingHoursColor->button(),ii++,1);
1243 1243
1244 KPrefsWidBool *sb = 1244 KPrefsDialogWidBool *sb =
1245 addWidBool(i18n("Use colors for application:"), 1245 addWidBool(i18n("Use colors for application:"),
1246 &(KOPrefs::instance()->mUseAppColors),topFrame); 1246 &(KOPrefs::instance()->mUseAppColors),topFrame);
@@ -1676,5 +1676,5 @@ void KOPrefsDialog::setupTimeZoneTab()
1676 mTimeZoneCombo->setCurrentItem(nCurrentlySet); 1676 mTimeZoneCombo->setCurrentItem(nCurrentlySet);
1677 int iii = 1; 1677 int iii = 1;
1678 KPrefsWidBool *sb = 1678 KPrefsDialogWidBool *sb =
1679 addWidBool(i18n("Timezone has daylight saving"), 1679 addWidBool(i18n("Timezone has daylight saving"),
1680 &(KOPrefs::instance()->mUseDaylightsaving),topFrame); 1680 &(KOPrefs::instance()->mUseDaylightsaving),topFrame);