summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/textfield.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:52 -0600
commit7ea89afa119615e547323a7a482ea7fef8e67029 (patch)
tree7b28540e70b4be9a779347f70486d4937258a875 /superkaramba/src/textfield.cpp
parentbcc684e28ad6f9ebeeae5d334a4dc297cef3e816 (diff)
downloadtdeutils-7ea89afa119615e547323a7a482ea7fef8e67029.tar.gz
tdeutils-7ea89afa119615e547323a7a482ea7fef8e67029.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'superkaramba/src/textfield.cpp')
-rw-r--r--superkaramba/src/textfield.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/superkaramba/src/textfield.cpp b/superkaramba/src/textfield.cpp
index 2c10659..4b1cee2 100644
--- a/superkaramba/src/textfield.cpp
+++ b/superkaramba/src/textfield.cpp
@@ -106,28 +106,28 @@ void TextField::setAlignment( const TQString &align )
{
TQString a = align.upper();
if( a == "LEFT" || a.isEmpty() )
- tqalignment = TQt::AlignLeft;
+ alignment = TQt::AlignLeft;
if( a == "RIGHT" )
- tqalignment = TQt::AlignRight;
+ alignment = TQt::AlignRight;
if( a == "CENTER" )
- tqalignment = TQt::AlignHCenter;
+ alignment = TQt::AlignHCenter;
}
void TextField::setAlignment( int af )
{
- tqalignment = af;
+ alignment = af;
}
int TextField::getAlignment() const
{
- return tqalignment;
+ return alignment;
}
TQString TextField::getAlignmentAsString() const
{
- if( tqalignment == TQt::AlignHCenter )
+ if( alignment == TQt::AlignHCenter )
return "CENTER";
- else if( tqalignment == TQt::AlignRight )
+ else if( alignment == TQt::AlignRight )
return "RIGHT";
else
return "LEFT";