summaryrefslogtreecommitdiffstats
path: root/korn
diff options
context:
space:
mode:
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 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)