summaryrefslogtreecommitdiffstats
path: root/korganizer/multiagendaview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:37:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-10 09:18:39 +0900
commit7a712e6185fe1086345a4ad970291444548f60a2 (patch)
tree6dd0b17b51cc004a16901d02e791fb031d927d51 /korganizer/multiagendaview.cpp
parent8a66634debeb3242ec542056469b6e07d5427968 (diff)
downloadtdepim-7a712e6185fe1086345a4ad970291444548f60a2.tar.gz
tdepim-7a712e6185fe1086345a4ad970291444548f60a2.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 98876ba8c52c0fc2f38c258476bc9637f055d576)
Diffstat (limited to 'korganizer/multiagendaview.cpp')
-rw-r--r--korganizer/multiagendaview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/multiagendaview.cpp b/korganizer/multiagendaview.cpp
index 63c559bf..cc21b249 100644
--- a/korganizer/multiagendaview.cpp
+++ b/korganizer/multiagendaview.cpp
@@ -57,7 +57,7 @@ MultiAgendaView::MultiAgendaView( Calendar * cal, CalendarView *calendarView,
TQVBox *topSideBox = new TQVBox( this );
mLeftTopSpacer = new TQWidget( topSideBox );
mLeftTopSpacer->setFixedHeight( topLabelHeight );
- mLeftSplitter = new TQSplitter( Qt::Vertical, topSideBox );
+ mLeftSplitter = new TQSplitter( TQt::Vertical, topSideBox );
mLeftSplitter->setOpaqueResize( TDEGlobalSettings::opaqueResize() );
TQLabel *label = new TQLabel( i18n("All Day"), mLeftSplitter );
label->setAlignment( TQt::AlignRight | TQt::AlignVCenter | TQt::WordBreak );
@@ -81,14 +81,14 @@ MultiAgendaView::MultiAgendaView( Calendar * cal, CalendarView *calendarView,
topSideBox = new TQVBox( this );
mRightTopSpacer = new TQWidget( topSideBox );
mRightTopSpacer->setFixedHeight( topLabelHeight );
- mRightSplitter = new TQSplitter( Qt::Vertical, topSideBox );
+ mRightSplitter = new TQSplitter( TQt::Vertical, topSideBox );
mRightSplitter->setOpaqueResize( TDEGlobalSettings::opaqueResize() );
new TQWidget( mRightSplitter );
sideBox = new TQVBox( mRightSplitter );
eiSpacer = new EventIndicator( EventIndicator::Top, sideBox );
eiSpacer->setFixedHeight( eiSpacer->minimumHeight() );
eiSpacer->changeColumns( 0 );
- mScrollBar = new TQScrollBar( Qt::Vertical, sideBox );
+ mScrollBar = new TQScrollBar( TQt::Vertical, sideBox );
eiSpacer = new EventIndicator( EventIndicator::Bottom, sideBox );
eiSpacer->setFixedHeight( eiSpacer->minimumHeight() );
eiSpacer->changeColumns( 0 );
@@ -249,11 +249,11 @@ void MultiAgendaView::setupViews()
TQT_SLOT(slotClearTimeSpanSelection()) );
disconnect( agenda->agenda(),
- TQT_SIGNAL(zoomView(const int,const TQPoint&,const Qt::Orientation)),
+ TQT_SIGNAL(zoomView(const int,const TQPoint&,const TQt::Orientation)),
agenda, 0 );
connect( agenda->agenda(),
- TQT_SIGNAL(zoomView(const int,const TQPoint&,const Qt::Orientation)),
- TQT_SLOT(zoomView(const int,const TQPoint&,const Qt::Orientation)) );
+ TQT_SIGNAL(zoomView(const int,const TQPoint&,const TQt::Orientation)),
+ TQT_SLOT(zoomView(const int,const TQPoint&,const TQt::Orientation)) );
}
KOAgenda *anAgenda = mAgendaViews.first()->agenda();
@@ -520,9 +520,9 @@ void MultiAgendaView::resizeSpacers( int newY )
mRightTopSpacer->setFixedHeight( topLabelHeight );
}
-void MultiAgendaView::zoomView( const int delta, const TQPoint & pos, const Qt::Orientation ori )
+void MultiAgendaView::zoomView( const int delta, const TQPoint & pos, const TQt::Orientation ori )
{
- if ( ori == Qt::Vertical ) {
+ if ( ori == TQt::Vertical ) {
if ( delta > 0 ) {
if ( KOPrefs::instance()->mHourSize > 4 )
KOPrefs::instance()->mHourSize--;