summaryrefslogtreecommitdiffstats
path: root/src/kima.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 15:22:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 21:00:04 +0900
commit99ba74a9a60d3dfb49236d2fb6cc3ca252b886c7 (patch)
treea8f05ee8caef540d96534b691415c011af0e122a /src/kima.cpp
parentb6a474ec94c0e109fb1376d924d8e7bc2a00f8e1 (diff)
downloadkima-99ba74a9a60d3dfb49236d2fb6cc3ca252b886c7.tar.gz
kima-99ba74a9a60d3dfb49236d2fb6cc3ca252b886c7.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7be076f07a1669968ae1b37526f959129f37f196)
Diffstat (limited to 'src/kima.cpp')
-rw-r--r--src/kima.cpp8
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();