summaryrefslogtreecommitdiffstats
path: root/korganizer/koagenda.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koagenda.cpp')
-rw-r--r--korganizer/koagenda.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index 5600682f1..6c1c79521 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;
@@ -296,7 +296,7 @@ void KOAgenda::init()
setMinimumSize( 30, int( mGridSpacingY + 1 ) );
// setMaximumHeight(mGridSpacingY * mRows + 5);
- // Disable horizontal scrollbar. This is a hack. The tqgeometry should be
+ // Disable horizontal scrollbar. This is a hack. The geometry should be
// controlled in a way that the contents horizontally always fits. Then it is
// not necessary to turn off the scrollbar.
setHScrollBarMode( AlwaysOff );
@@ -1300,11 +1300,11 @@ void KOAgenda::placeAgendaItem( KOAgendaItem *item, double subCellWidth )
xpos = pt.x() + int( subCellPos );
ypos = pt.y();
}
- if ( KOGlobals::self()->reverseLayout() ) { // RTL language/tqlayout
+ if ( KOGlobals::self()->reverseLayout() ) { // RTL language/layout
xpos += width;
width = -width;
}
- if ( height<0 ) { // BTT (bottom-to-top) tqlayout ?!?
+ if ( height<0 ) { // BTT (bottom-to-top) layout ?!?
ypos += height;
height = -height;
}
@@ -1708,7 +1708,7 @@ void KOAgenda::insertMultiItem( Event *event, const TQDate &qd, int XBegin, int
cellYBottom = rows() - 1;
}
- newtext = TQString("(%1/%2): ").tqarg( count ).tqarg( width );
+ newtext = TQString("(%1/%2): ").arg( count ).arg( width );
newtext.append( event->summary() );
current = insertItem( event, qd, cellX, cellYTop, cellYBottom, count, width );