author | zautrix <zautrix> | 2004-09-22 00:34:51 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-22 00:34:51 (UTC) |
commit | 01572248367c63119514d15d7401a5b2b83349a0 (patch) (side-by-side diff) | |
tree | 892544498d4b989a9c319b21b243b818652e9718 /kmicromail | |
parent | cc0e64e64da1b2d25dd95ab6d2c2f55bd8822e8f (diff) | |
download | kdepimpi-01572248367c63119514d15d7401a5b2b83349a0.zip kdepimpi-01572248367c63119514d15d7401a5b2b83349a0.tar.gz kdepimpi-01572248367c63119514d15d7401a5b2b83349a0.tar.bz2 |
make it compile
-rw-r--r-- | kmicromail/koprefsdialog.cpp | 74 |
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() } -void KOPrefsDialog::setupMainTab() +void KOPrefsDialog::setupMainTab() { QFrame *topFrame = addPage(i18n("General"),0,0); @@ -116,5 +116,5 @@ void KOPrefsDialog::setupMainTab() QLabel *lab = new QLabel( i18n("HINT: Separate multiple\neMail addresses by \";\""), topFrame); topLayout->addMultiCellWidget(lab,2,2,0,1); - KPrefsWidBool* ttt = addWidBool(i18n("Ignore above settings and\nuse KA/Pi \"Who am I\" instead!"), + KPrefsDialogWidBool* ttt = addWidBool(i18n("Ignore above settings and\nuse KA/Pi \"Who am I\" instead!"), &(KOPrefs::instance()->mUseKapi),topFrame); topLayout->addMultiCellWidget(ttt->checkBox(),3,3,0,1); @@ -129,5 +129,5 @@ void KOPrefsDialog::setupMailTab() topLayout->setMargin(marginHint()); - KPrefsWidBool* ttt = addWidBool(i18n("View mail as html"), + KPrefsDialogWidBool* ttt = addWidBool(i18n("View mail as html"), &(KOPrefs::instance()->mViewAsHtml),topFrame); topLayout->addMultiCellWidget(ttt->checkBox(),0,0,0,1); @@ -149,7 +149,7 @@ void KOPrefsDialog::setupFontsTab() topLayout->setSpacing(1); topLayout->setMargin(3); - KPrefsWidFont * tVFont; + KPrefsDialogWidFont * tVFont; int i = 0; - KPrefsWidFont *timeLabelsFont = + KPrefsDialogWidFont *timeLabelsFont = addWidFont(i18n("OK"),i18n("Application(nr)"), &(KOPrefs::instance()->mAppFont),topFrame); @@ -168,5 +168,5 @@ void KOPrefsDialog::setupFontsTab() ++i; - KPrefsWidFont *timeBarFont = + KPrefsDialogWidFont *timeBarFont = addWidFont(i18n("Hello"),i18n("Read mail:"), &(KOPrefs::instance()->mReadFont),topFrame); @@ -277,5 +277,5 @@ void KOPrefsDialog::setupLocaleTab() topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); ++iii; - KPrefsWidBool *sb; + KPrefsDialogWidBool *sb; if ( QApplication::desktop()->width() < 300 ) { sb = @@ -328,5 +328,5 @@ void KOPrefsDialog::setupSyncAlgTab() int iii = 0; - KPrefsWidBool *sb = + KPrefsDialogWidBool *sb = addWidBool(i18n("Ask for preferences before syncing"), &(KOPrefs::instance()->mAskForPreferences),topFrame); @@ -395,5 +395,5 @@ void KOPrefsDialog::setupSyncTab() ++iii; - KPrefsWidBool *wb = + KPrefsDialogWidBool *wb = addWidBool(i18n("Write back synced file"), &(KOPrefs::instance()->mWriteBackFile),topFrame); @@ -418,5 +418,5 @@ void KOPrefsDialog::setupMainTab() topLayout->setMargin(marginHint()); - // KPrefsWidBool *emailControlCenter = + // KPrefsDialogWidBool *emailControlCenter = // addWidBool(i18n("&Use email settings from Control Center"), // &(KOPrefs::instance()->mEmailControlCenter),topFrame); @@ -434,5 +434,5 @@ void KOPrefsDialog::setupMainTab() topLayout->addWidget(mEmailLabel,1,0); topLayout->addWidget(mEmailEdit,1,1); - KPrefsWidBool *wb; + KPrefsDialogWidBool *wb; QHBox *dummy; if ( QApplication::desktop()->width() > 480 ) { @@ -477,5 +477,5 @@ void KOPrefsDialog::setupMainTab() mPrioSpin->setFixedWidth( 40 ); - // KPrefsWidBool *bcc = + // KPrefsDialogWidBool *bcc = // addWidBool(i18n("Send copy to owner when mailing events"), // &(KOPrefs::instance()->mBcc),topFrame); @@ -504,5 +504,5 @@ void KOPrefsDialog::setupMainTab() topLayout->addMultiCellWidget(agendasize,7,7,0,1); */ - KPrefsWidBool *verticalScreen = + KPrefsDialogWidBool *verticalScreen = addWidBool(i18n("Show vertical screen (Needs restart)"), &(KOPrefs::instance()->mVerticalScreen),topFrame); @@ -510,5 +510,5 @@ void KOPrefsDialog::setupMainTab() topLayout->addMultiCellWidget(verticalScreen->checkBox(),7,7,0,1); - KPrefsWidBool *ask = + KPrefsDialogWidBool *ask = addWidBool(i18n("Ask for quit when closing KO/Pi"), &(KOPrefs::instance()->mAskForQuit),topFrame); @@ -517,5 +517,5 @@ void KOPrefsDialog::setupMainTab() /* - KPrefsWidBool *confirmCheck = + KPrefsDialogWidBool *confirmCheck = addWidBool(i18n("Confirm &deletes"),&(KOPrefs::instance()->mConfirm), topFrame); @@ -561,5 +561,5 @@ void KOPrefsDialog::setupMainTab() topLayout->addMultiCellWidget(mailClientGroup->groupBox(),11,11,0,1); - KPrefsWidBool *htmlsave = + KPrefsDialogWidBool *htmlsave = addWidBool(i18n("Export to HTML with every save"),&(KOPrefs::instance()->mHtmlWithSave), topFrame); @@ -641,5 +641,5 @@ void KOPrefsDialog::setupTimeTab() &(KOPrefs::instance()->mExcludeSaturdays),excludeBox); -// KPrefsWidBool *marcusBainsShowSeconds = addWidBool(i18n("Show seconds on Marcus Bains line"), +// KPrefsDialogWidBool *marcusBainsShowSeconds = addWidBool(i18n("Show seconds on Marcus Bains line"), // &(KOPrefs::instance()->mMarcusBainsShowSeconds), // topFrame); @@ -679,5 +679,5 @@ void KOPrefsDialog::setupViewsTab() int ii = 0; - KPrefsWidBool *dummy = + KPrefsDialogWidBool *dummy = addWidBool(i18n("Edit item on doubleclick (if not, show)"), &(KOPrefs::instance()->mEditOnDoubleClick),topFrame); @@ -694,10 +694,10 @@ void KOPrefsDialog::setupViewsTab() topLayout->addWidget(dummy->checkBox(),ii++,0); - KPrefsWidBool *dailyRecur = + KPrefsDialogWidBool *dailyRecur = addWidBool(i18n("Show events that recur daily in date nav."), &(KOPrefs::instance()->mDailyRecur),topFrame); topLayout->addWidget(dailyRecur->checkBox(),ii++,0); - KPrefsWidBool *weeklyRecur = + KPrefsDialogWidBool *weeklyRecur = addWidBool(i18n("Show ev. that recur weekly in date nav."), &(KOPrefs::instance()->mWeeklyRecur),topFrame); @@ -705,5 +705,5 @@ void KOPrefsDialog::setupViewsTab() if ( QApplication::desktop()->width() > 640 ) { - KPrefsWidBool *enableToolTips = + KPrefsDialogWidBool *enableToolTips = addWidBool(i18n("Enable tooltips displaying summary of ev."), &(KOPrefs::instance()->mEnableToolTips),topFrame); @@ -711,5 +711,5 @@ void KOPrefsDialog::setupViewsTab() } - KPrefsWidBool *passwdk = + KPrefsDialogWidBool *passwdk = addWidBool(i18n("Show parent To-Do's in What's Next view"), &(KOPrefs::instance()->mWNViewShowsParents),topFrame); @@ -727,5 +727,5 @@ void KOPrefsDialog::setupViewsTab() - KPrefsWidBool *marcusBainsEnabled = + KPrefsDialogWidBool *marcusBainsEnabled = addWidBool(i18n("Show Marcus Bains line"), &(KOPrefs::instance()->mMarcusBainsEnabled),topFrame); @@ -762,10 +762,10 @@ void KOPrefsDialog::setupViewsTab() - KPrefsWidBool *fullViewTodo = + KPrefsDialogWidBool *fullViewTodo = addWidBool(i18n("Event list view uses full window"), &(KOPrefs::instance()->mFullViewTodo),topFrame); topLayout->addWidget(fullViewTodo->checkBox(),ii++,0); - KPrefsWidBool *fullViewMonth = + KPrefsDialogWidBool *fullViewMonth = addWidBool(i18n("Next days view uses full window"), &(KOPrefs::instance()->mFullViewMonth),topFrame); @@ -844,5 +844,5 @@ void KOPrefsDialog::setupViewsTab() ii++; #ifdef DESKTOP_VERSION - KPrefsWidBool *enableMonthScroll = + KPrefsDialogWidBool *enableMonthScroll = addWidBool(i18n("Enable scrollbars in month view cells"), &(KOPrefs::instance()->mEnableMonthScroll),topFrame); @@ -855,5 +855,5 @@ void KOPrefsDialog::setupViewsTab() topLayout->addWidget(dummy->checkBox(),ii++,0); - KPrefsWidBool *coloredCategoriesInMonthView = + KPrefsDialogWidBool *coloredCategoriesInMonthView = addWidBool(i18n("Month view uses category colors"), &(KOPrefs::instance()->mMonthViewUsesCategoryColor),topFrame); @@ -898,5 +898,5 @@ void KOPrefsDialog::setupViewsTab() ii = 0; - KPrefsWidBool *showCompletedTodo = + KPrefsDialogWidBool *showCompletedTodo = addWidBool(i18n("To-do view shows completed Todos"), &(KOPrefs::instance()->mShowCompletedTodo),topFrame); @@ -1048,7 +1048,7 @@ void KOPrefsDialog::setupFontsTab() topLayout->setSpacing(1); topLayout->setMargin(3); - KPrefsWidFont * tVFont; + KPrefsDialogWidFont * tVFont; int i = 0; - KPrefsWidFont *timeLabelsFont = + KPrefsDialogWidFont *timeLabelsFont = addWidFont(i18n("23"),i18n("DateNavigator:(nr)"), &(KOPrefs::instance()->mDateNavigatorFont),topFrame); @@ -1067,5 +1067,5 @@ void KOPrefsDialog::setupFontsTab() ++i; - KPrefsWidFont *timeBarFont = + KPrefsDialogWidFont *timeBarFont = addWidFont(KGlobal::locale()->formatTime(QTime(12,34)),i18n("Time bar:"), &(KOPrefs::instance()->mTimeBarFont),topFrame); @@ -1076,5 +1076,5 @@ void KOPrefsDialog::setupFontsTab() - KPrefsWidFont *marcusBainsFont = + KPrefsDialogWidFont *marcusBainsFont = addWidFont(KGlobal::locale()->formatTime(QTime(12,34,23)),i18n("M. Bains line:"), &(KOPrefs::instance()->mMarcusBainsFont),topFrame); @@ -1123,5 +1123,5 @@ void KOPrefsDialog::setupFontsTab() topLayout->addWidget(tVFont->button(),i,2); ++i; - KPrefsWidFont *agendaViewFont = + KPrefsDialogWidFont *agendaViewFont = addWidFont(i18n("Event text"),i18n("Agenda view:"), &(KOPrefs::instance()->mAgendaViewFont),topFrame); @@ -1132,5 +1132,5 @@ void KOPrefsDialog::setupFontsTab() - KPrefsWidFont *monthViewFont = + KPrefsDialogWidFont *monthViewFont = addWidFont(KGlobal::locale()->formatTime(QTime(12,34)) + " " + i18n("Event"), i18n("Month view:"),&(KOPrefs::instance()->mMonthViewFont),topFrame); @@ -1141,5 +1141,5 @@ void KOPrefsDialog::setupFontsTab() - KPrefsWidFont *lVFont = + KPrefsDialogWidFont *lVFont = addWidFont(i18n("Event"),i18n("List View:"), &(KOPrefs::instance()->mListViewFont),topFrame); @@ -1242,5 +1242,5 @@ void KOPrefsDialog::setupColorsTab() topLayout->addWidget(workingHoursColor->button(),ii++,1); - KPrefsWidBool *sb = + KPrefsDialogWidBool *sb = addWidBool(i18n("Use colors for application:"), &(KOPrefs::instance()->mUseAppColors),topFrame); @@ -1676,5 +1676,5 @@ void KOPrefsDialog::setupTimeZoneTab() mTimeZoneCombo->setCurrentItem(nCurrentlySet); int iii = 1; - KPrefsWidBool *sb = + KPrefsDialogWidBool *sb = addWidBool(i18n("Timezone has daylight saving"), &(KOPrefs::instance()->mUseDaylightsaving),topFrame); |