From 99ba74a9a60d3dfb49236d2fb6cc3ca252b886c7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 Nov 2023 15:22:12 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit 7be076f07a1669968ae1b37526f959129f37f196) --- src/kima.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/kima.cpp') 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(); -- cgit v1.2.3