From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/koprefsdialog.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'korganizer/koprefsdialog.cpp') diff --git a/korganizer/koprefsdialog.cpp b/korganizer/koprefsdialog.cpp index 37f889cfb..63b2a3476 100644 --- a/korganizer/koprefsdialog.cpp +++ b/korganizer/koprefsdialog.cpp @@ -442,11 +442,11 @@ class KOPrefsDialogTime : public KPrefsModule KOPrefs::instance()->mReminderTime = mReminderTimeSpin->value(); KOPrefs::instance()->mReminderTimeUnits = mReminderUnitsCombo->currentItem(); - int mask = 0; + int tqmask = 0; for ( int i = 0; i < 7; ++i ) { - if (mWorkDays[i]->isChecked()) mask = mask | (1<isChecked()) tqmask = tqmask | (1<mWorkWeekMask = mask; + KOPrefs::instance()->mWorkWeekMask = tqmask; KOPrefs::instance()->writeConfig(); } @@ -774,7 +774,7 @@ void KOPrefsDialogColors::updateCategories() void KOPrefsDialogColors::setCategoryColor() { - mCategoryDict.replace(mCategoryCombo->currentText(), new TQColor(mCategoryButton->color())); + mCategoryDict.tqreplace(mCategoryCombo->currentText(), new TQColor(mCategoryButton->color())); slotWidChanged(); } @@ -823,7 +823,7 @@ void KOPrefsDialogColors::setResourceColor() { kdDebug( 5850) << "KOPrefsDialogColors::setResorceColor()" << endl; - mResourceDict.replace( mResourceIdentifier[mResourceCombo->currentItem()], + mResourceDict.tqreplace( mResourceIdentifier[mResourceCombo->currentItem()], new TQColor( mResourceButton->color() ) ); slotWidChanged(); } @@ -1108,11 +1108,11 @@ KOPrefsDialogPlugins::KOPrefsDialogPlugins( TQWidget *parent, const char* name ) topLayout->addWidget( mListView ); mDescription = new TQLabel( topFrame ); - mDescription->setAlignment( TQLabel::NoAccel | TQLabel::WordBreak | TQLabel::AlignVCenter ); + mDescription->tqsetAlignment( TQLabel::NoAccel | TQLabel::WordBreak | TQLabel::AlignVCenter ); mDescription->setFrameShape( TQLabel::Panel ); mDescription->setFrameShadow( TQLabel::Sunken ); mDescription->setMinimumSize( TQSize( 0, 55 ) ); - mDescription->setSizePolicy( + mDescription->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, mDescription->sizePolicy().hasHeightForWidth() ) ); topLayout->addWidget( mDescription ); -- cgit v1.2.1