From 420fcb6c991b2c21d5919db2af202e7f444f9326 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 4 Nov 2023 22:03:54 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit c5554a5f82ebc79fbda3940ee904e71490fb13d6) --- src/viewcontainer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/viewcontainer.cpp') diff --git a/src/viewcontainer.cpp b/src/viewcontainer.cpp index 594a473..7191d74 100644 --- a/src/viewcontainer.cpp +++ b/src/viewcontainer.cpp @@ -410,7 +410,7 @@ ViewArea *ViewArea::createViewArea( Position position, uint id ) return 0l; } - setOrientation( ( position == Right ) ? Qt::Horizontal : Qt::Vertical ); + setOrientation( ( position == Right ) ? TQt::Horizontal : TQt::Vertical ); p_viewArea1 = new ViewArea(this, p_viewContainer, m_id, TQString("viewarea_%1").arg(TQString::number(m_id)).latin1()); p_viewArea2 = new ViewArea(this, p_viewContainer, id, TQString("viewarea_%1").arg(TQString::number(id)).latin1()); @@ -424,7 +424,7 @@ ViewArea *ViewArea::createViewArea( Position position, uint id ) m_id = p_viewContainer->uniqueParentId(); TQValueList splitPos; - int pos = ((orientation() == Qt::Horizontal) ? width()/2 : height()/2); + int pos = ((orientation() == TQt::Horizontal) ? width()/2 : height()/2); splitPos << pos << pos; setSizes(splitPos); @@ -499,7 +499,7 @@ void ViewArea::saveState( TDEConfig *config ) if ( va1Ok || va2Ok ) { - config->writeEntry( orientationKey(m_id), (orientation() == Qt::Horizontal) ? "LeftRight" : "TopBottom" ); + config->writeEntry( orientationKey(m_id), (orientation() == TQt::Horizontal) ? "LeftRight" : "TopBottom" ); TQValueList contains; if (va1Ok) @@ -542,7 +542,7 @@ void ViewArea::restoreState( TDEConfig *config, int id, const TQString &groupNam if ( config->hasKey( orientationKey(id) ) ) { TQString orientation = config->readEntry( orientationKey(m_id) ); - setOrientation( (orientation == "LeftRight") ? Qt::Horizontal : Qt::Vertical ); + setOrientation( (orientation == "LeftRight") ? TQt::Horizontal : TQt::Vertical ); } config->setGroup(groupName); -- cgit v1.2.1