summaryrefslogtreecommitdiffstats
path: root/korn
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:37:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:56:59 +0900
commit98876ba8c52c0fc2f38c258476bc9637f055d576 (patch)
treec603affd2b47d424507127e5bff9231bb06fc020 /korn
parentf46438dda23948d5a4732428a1df913b3246fed8 (diff)
downloadtdepim-98876ba8c52c0fc2f38c258476bc9637f055d576.tar.gz
tdepim-98876ba8c52c0fc2f38c258476bc9637f055d576.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'korn')
-rw-r--r--korn/boxcontaineritem.cpp6
-rw-r--r--korn/hvcontainer.cpp4
-rw-r--r--korn/hvcontainer.h2
-rw-r--r--korn/kornshell.cpp4
-rw-r--r--korn/mailsubject.cpp2
5 files changed, 9 insertions, 9 deletions
diff --git a/korn/boxcontaineritem.cpp b/korn/boxcontaineritem.cpp
index e67296d5..386baaef 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 fa815179..cb2aef72 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 023adcd7..ccb469fb 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 7f5587bc..20533de3 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 0b7a2e3a..841e183b 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)