summaryrefslogtreecommitdiffstats
path: root/korganizer/koagenda.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koagenda.cpp')
-rw-r--r--korganizer/koagenda.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index 5600682f1..a05a82d2c 100644
--- a/korganizer/koagenda.cpp
+++ b/korganizer/koagenda.cpp
@@ -73,7 +73,7 @@ MarcusBains::MarcusBains(KOAgenda *_agenda,const char *name )
minutes->start(0, true);
mTimeBox = new TQLabel(this);
- mTimeBox->tqsetAlignment(TQt::AlignRight | TQt::AlignBottom);
+ mTimeBox->setAlignment(TQt::AlignRight | TQt::AlignBottom);
TQPalette pal = mTimeBox->palette();
pal.setColor(TQColorGroup::Foreground, TQt::red);
mTimeBox->setPalette(pal);
@@ -92,13 +92,13 @@ MarcusBains::~MarcusBains()
int MarcusBains::todayColumn()
{
- TQDate tqcurrentDate = TQDate::tqcurrentDate();
+ TQDate currentDate = TQDate::currentDate();
DateList dateList = agenda->dateList();
DateList::ConstIterator it;
int col = 0;
for(it = dateList.begin(); it != dateList.end(); ++it) {
- if((*it) == tqcurrentDate)
+ if((*it) == currentDate)
return KOGlobals::self()->reverseLayout() ?
agenda->columns() - 1 - col : col;
++col;