diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch) | |
tree | 0212ba6d2c749043134005a41f2bd0379619d40f /korganizer/koglobals.cpp | |
parent | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff) | |
download | tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/koglobals.cpp')
-rw-r--r-- | korganizer/koglobals.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/koglobals.cpp b/korganizer/koglobals.cpp index 8f41e82cd..dd22ade4b 100644 --- a/korganizer/koglobals.cpp +++ b/korganizer/koglobals.cpp @@ -154,9 +154,9 @@ TQStringList KOGlobals::holiday( const TQDate &date ) bool KOGlobals::isWorkDay( const TQDate &date ) { - int tqmask( ~( KOPrefs::instance()->mWorkWeekMask ) ); + int mask( ~( KOPrefs::instance()->mWorkWeekMask ) ); - bool nonWorkDay = ( tqmask & ( 1 << ( date.dayOfWeek() - 1 ) ) ); + bool nonWorkDay = ( mask & ( 1 << ( date.dayOfWeek() - 1 ) ) ); if ( KOPrefs::instance()->mExcludeHolidays && mHolidays ) { TQValueList<KHoliday> list = mHolidays->getHolidays( date ); TQValueList<KHoliday>::ConstIterator it = list.begin(); |