diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 15:22:12 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 15:22:12 +0900 |
| commit | 7be076f07a1669968ae1b37526f959129f37f196 (patch) | |
| tree | a8f05ee8caef540d96534b691415c011af0e122a /src/kima.cpp | |
| parent | efda7b84b278d73a2af32e4ceb0c7e470997e571 (diff) | |
| download | kima-7be076f07a1669968ae1b37526f959129f37f196.tar.gz kima-7be076f07a1669968ae1b37526f959129f37f196.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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(); |
