diff options
Diffstat (limited to 'src/kima.cpp')
-rw-r--r-- | src/kima.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kima.cpp b/src/kima.cpp index 214b40e..ff42185 100644 --- a/src/kima.cpp +++ b/src/kima.cpp @@ -306,7 +306,7 @@ void Kima::savePreferences(){ int Kima::widthForHeight(int inHeight) const{ //kdDebug() << "widthForHeight: " << height << endl; - mLayout->setOrientation(Qt::Horizontal); + mLayout->setOrientation(TQt::Horizontal); if(mCachedHeight != inHeight){ mCachedHeight = inHeight; mCachedWFH = 0; @@ -317,18 +317,18 @@ int Kima::widthForHeight(int inHeight) const{ int Kima::heightForWidth(int inWidth) const{ //kdDebug() << "heightForWidth: " << width << endl; - mLayout->setOrientation(Qt::Vertical); + mLayout->setOrientation(TQt::Vertical); return mLayout->heightForWidth(inWidth); //return sizeHint().height(); } void Kima::mousePressEvent(TQMouseEvent* inEvent ){ - if(inEvent->button() == Qt::RightButton){ + if(inEvent->button() == TQt::RightButton){ mMenu->popup( inEvent->globalPos() ); if(mDraggedSourceItem) mDraggedSourceItem->widget()->unsetCursor(); // unset drag cursor } - else if(inEvent->button() == Qt::LeftButton){ + else if(inEvent->button() == TQt::LeftButton){ TQLayoutIterator it = mLayout->iterator(); while(it.current()){ TQWidget * c = it.current()->widget(); |