summaryrefslogtreecommitdiffstats
path: root/korganizer/datenavigator.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:49:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:49:30 -0600
commita9bde819f2b421dcc44741156e75eca4bb5fb4f4 (patch)
treed087071b1e8fcf79698938efec19f8e48bab0799 /korganizer/datenavigator.cpp
parent5c4a80ead2b1fe57dc6a8c29d0368792344cd61e (diff)
downloadtdepim-a9bde819f2b421dcc44741156e75eca4bb5fb4f4.tar.gz
tdepim-a9bde819f2b421dcc44741156e75eca4bb5fb4f4.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'korganizer/datenavigator.cpp')
-rw-r--r--korganizer/datenavigator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/datenavigator.cpp b/korganizer/datenavigator.cpp
index bb4206b0c..4d85a7a4d 100644
--- a/korganizer/datenavigator.cpp
+++ b/korganizer/datenavigator.cpp
@@ -104,7 +104,7 @@ void DateNavigator::selectDates( const TQDate &d, int count, const TQDate &prefe
void DateNavigator::selectWeekByDay( int weekDay, const TQDate &d, const TQDate &preferredMonth )
{
int dateCount = mSelectedDates.count();
- bool weekStart = ( weekDay == KGlobal::locale()->weekStartDay() );
+ bool weekStart = ( weekDay == TDEGlobal::locale()->weekStartDay() );
if ( weekStart && dateCount == 7 ) {
selectWeek( d, preferredMonth );
} else {
@@ -121,7 +121,7 @@ void DateNavigator::selectWeek( const TQDate &d, const TQDate &preferredMonth )
{
int dayOfWeek = KOGlobals::self()->calendarSystem()->dayOfWeek( d );
- int weekStart = KGlobal::locale()->weekStartDay();
+ int weekStart = TDEGlobal::locale()->weekStartDay();
TQDate firstDate = d.addDays( weekStart - dayOfWeek );
@@ -139,7 +139,7 @@ void DateNavigator::selectWorkWeek()
void DateNavigator::selectWorkWeek( const TQDate &d )
{
- int weekStart = KGlobal::locale()->weekStartDay();
+ int weekStart = TDEGlobal::locale()->weekStartDay();
int dayOfWeek = KOGlobals::self()->calendarSystem()->dayOfWeek( d );