summaryrefslogtreecommitdiffstats
path: root/src/viewcontainer.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-04 22:03:54 +0900
committerMichele Calgaro <[email protected]>2023-11-05 11:34:05 +0900
commit420fcb6c991b2c21d5919db2af202e7f444f9326 (patch)
treec6a2c38cdd7ab8a193f25a0a51ebb5aa7fe8c386 /src/viewcontainer.cpp
parent4f72176a0ff3c10fa366a67a45a11cf538d1c4eb (diff)
downloadktechlab-420fcb6c991b2c21d5919db2af202e7f444f9326.tar.gz
ktechlab-420fcb6c991b2c21d5919db2af202e7f444f9326.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c5554a5f82ebc79fbda3940ee904e71490fb13d6)
Diffstat (limited to 'src/viewcontainer.cpp')
-rw-r--r--src/viewcontainer.cpp8
1 files changed, 4 insertions, 4 deletions
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<int> 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<int> 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);