summaryrefslogtreecommitdiffstats
path: root/korganizer/koprefsdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /korganizer/koprefsdialog.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
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
Diffstat (limited to 'korganizer/koprefsdialog.cpp')
-rw-r--r--korganizer/koprefsdialog.cpp14
1 files changed, 7 insertions, 7 deletions
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<<i);
+ if (mWorkDays[i]->isChecked()) tqmask = tqmask | (1<<i);
}
- KOPrefs::instance()->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 );