summaryrefslogtreecommitdiffstats
path: root/src/viewcontainer.cpp
diff options
context:
space:
mode:
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);