diff options
author | Michele Calgaro <[email protected]> | 2023-11-09 10:37:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-10 09:18:39 +0900 |
commit | 7a712e6185fe1086345a4ad970291444548f60a2 (patch) | |
tree | 6dd0b17b51cc004a16901d02e791fb031d927d51 /korn | |
parent | 8a66634debeb3242ec542056469b6e07d5427968 (diff) | |
download | tdepim-7a712e6185fe1086345a4ad970291444548f60a2.tar.gz tdepim-7a712e6185fe1086345a4ad970291444548f60a2.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 98876ba8c52c0fc2f38c258476bc9637f055d576)
Diffstat (limited to 'korn')
-rw-r--r-- | korn/boxcontaineritem.cpp | 6 | ||||
-rw-r--r-- | korn/hvcontainer.cpp | 4 | ||||
-rw-r--r-- | korn/hvcontainer.h | 2 | ||||
-rw-r--r-- | korn/kornshell.cpp | 4 | ||||
-rw-r--r-- | korn/mailsubject.cpp | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/korn/boxcontaineritem.cpp b/korn/boxcontaineritem.cpp index e67296d57..386baaef5 100644 --- a/korn/boxcontaineritem.cpp +++ b/korn/boxcontaineritem.cpp @@ -171,11 +171,11 @@ void BoxContainerItem::runCommand( const TQString& cmd ) void BoxContainerItem::mouseButtonPressed( TQt::ButtonState state ) { int button; - if( state & Qt::LeftButton ) + if( state & TQt::LeftButton ) button = 0; - else if( state & Qt::RightButton ) + else if( state & TQt::RightButton ) button = 2; - else if( state & Qt::MidButton ) + else if( state & TQt::MidButton ) button = 1; else return; //Invalid mouse button diff --git a/korn/hvcontainer.cpp b/korn/hvcontainer.cpp index fa815179d..cb2aef721 100644 --- a/korn/hvcontainer.cpp +++ b/korn/hvcontainer.cpp @@ -24,11 +24,11 @@ #include <tqvbox.h> -HVContainer::HVContainer( Qt::Orientation orientation, TQObject * parent, const char * name ) +HVContainer::HVContainer( TQt::Orientation orientation, TQObject * parent, const char * name ) : BoxContainer( parent, name ), box( 0 ) { - if( orientation == Qt::Horizontal ) + if( orientation == TQt::Horizontal ) box = new TQHBox( 0, "hbox" ); else box = new TQVBox( 0, "vbox" ); diff --git a/korn/hvcontainer.h b/korn/hvcontainer.h index 023adcd77..ccb469fbb 100644 --- a/korn/hvcontainer.h +++ b/korn/hvcontainer.h @@ -38,7 +38,7 @@ public: * * @param orientation The orientation of the box: it is a vertical or horizontal box? */ - HVContainer( Qt::Orientation orientation, TQObject * parent = 0 , const char * name = 0 ); + HVContainer( TQt::Orientation orientation, TQObject * parent = 0 , const char * name = 0 ); ~HVContainer(); /** diff --git a/korn/kornshell.cpp b/korn/kornshell.cpp index 7f5587bc6..20533de3e 100644 --- a/korn/kornshell.cpp +++ b/korn/kornshell.cpp @@ -99,9 +99,9 @@ void KornShell::readConfig() KOrnPassword::setUseWallet( _config->readBoolEntry( "usewallet", false ) ); if( layout == 'H' ) - _box = new HVContainer( Qt::Horizontal, TQT_TQOBJECT(this), "horizontal container" ); + _box = new HVContainer( TQt::Horizontal, TQT_TQOBJECT(this), "horizontal container" ); else if( layout == 'V' ) - _box = new HVContainer( Qt::Vertical, TQT_TQOBJECT(this), "vertical container" ); + _box = new HVContainer( TQt::Vertical, TQT_TQOBJECT(this), "vertical container" ); else _box = new DockedContainer( TQT_TQOBJECT(this), "docked container" ); diff --git a/korn/mailsubject.cpp b/korn/mailsubject.cpp index 0b7a2e3a9..841e183b6 100644 --- a/korn/mailsubject.cpp +++ b/korn/mailsubject.cpp @@ -54,7 +54,7 @@ TQString KornMailSubject::toString() const date.setTime_t(_date); return TQString("KornMailSubject, Id: ") + (_id?_id->toString():TQString("NULL")) + ", " + i18n("Subject:") + " " + _subject + ", " + i18n("Sender:") + " " + _sender + ", " + i18n("Size:") + " " + TQString::number(_size) - + ", " + i18n("Date:") + " " + date.toString(Qt::ISODate); + + ", " + i18n("Date:") + " " + date.toString(TQt::ISODate); } TQString KornMailSubject::decodeRFC2047String(const TQCString& aStr) |