summaryrefslogtreecommitdiffstats
path: root/korganizer/multiagendaview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/multiagendaview.cpp')
-rw-r--r--korganizer/multiagendaview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/multiagendaview.cpp b/korganizer/multiagendaview.cpp
index 8558d846f..998936226 100644
--- a/korganizer/multiagendaview.cpp
+++ b/korganizer/multiagendaview.cpp
@@ -60,7 +60,7 @@ MultiAgendaView::MultiAgendaView( Calendar * cal, CalendarView *calendarView,
mLeftSplitter = new TQSplitter( Qt::Vertical, topSideBox );
mLeftSplitter->setOpaqueResize( KGlobalSettings::opaqueResize() );
TQLabel *label = new TQLabel( i18n("All Day"), mLeftSplitter );
- label->tqsetAlignment( TQt::AlignRight | TQt::AlignVCenter | TQt::WordBreak );
+ label->setAlignment( TQt::AlignRight | TQt::AlignVCenter | TQt::WordBreak );
TQVBox *sideBox = new TQVBox( mLeftSplitter );
EventIndicator *eiSpacer = new EventIndicator( EventIndicator::Top, sideBox );
eiSpacer->changeColumns( 0 );
@@ -265,7 +265,7 @@ void MultiAgendaView::setupViews()
int minWidth = 0;
for ( TQValueList<TQWidget*>::ConstIterator it = mAgendaWidgets.constBegin(); it != mAgendaWidgets.constEnd(); ++it )
- minWidth = TQMAX( minWidth, (*it)->tqminimumSizeHint().width() );
+ minWidth = TQMAX( minWidth, (*it)->minimumSizeHint().width() );
for ( TQValueList<TQWidget*>::ConstIterator it = mAgendaWidgets.constBegin(); it != mAgendaWidgets.constEnd(); ++it )
(*it)->setMinimumWidth( minWidth );
}
@@ -292,10 +292,10 @@ DateList MultiAgendaView::selectedIncidenceDates()
return list;
}
-int MultiAgendaView::tqcurrentDateCount()
+int MultiAgendaView::currentDateCount()
{
FOREACH_VIEW( agendaView )
- return agendaView->tqcurrentDateCount();
+ return agendaView->currentDateCount();
return 0;
}
@@ -427,7 +427,7 @@ void MultiAgendaView::resizeEvent(TQResizeEvent * ev)
void MultiAgendaView::resizeScrollView(const TQSize & size)
{
const int widgetWidth = size.width() - mTimeLabels->width() - mScrollBar->width();
- int width = TQMAX( mTopBox->tqsizeHint().width(), widgetWidth );
+ int width = TQMAX( mTopBox->sizeHint().width(), widgetWidth );
int height = size.height();
if ( width > widgetWidth ) {
const int sbHeight = mScrollView->horizontalScrollBar()->height();