diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:52:44 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 20:26:21 +0200 |
commit | 239cc9b83ce0d6dd5216aeb01a82e0d23a0a3595 (patch) | |
tree | b9679d63b6a1004d9983259d41303b5a88a1621a /kcron/ktprint.cpp | |
parent | 1754e4db964431e721e805a923b689b6c92960e4 (diff) | |
download | tdeadmin-239cc9b83ce0d6dd5216aeb01a82e0d23a0a3595.tar.gz tdeadmin-239cc9b83ce0d6dd5216aeb01a82e0d23a0a3595.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 6b7a8ff33a6383be4a9dea3c4225d142aab79b78)
Diffstat (limited to 'kcron/ktprint.cpp')
-rw-r--r-- | kcron/ktprint.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kcron/ktprint.cpp b/kcron/ktprint.cpp index ceb1482..b1de5c6 100644 --- a/kcron/ktprint.cpp +++ b/kcron/ktprint.cpp @@ -104,7 +104,7 @@ TQFont KTPrint :: getFont () const return paint->font(); } -void KTPrint :: print (const TQString &str, int col, int tqalignment, bool wordWrap) +void KTPrint :: print (const TQString &str, int col, int alignment, bool wordWrap) { //Prints the string str into the column col using //the remaining arguments as format flags @@ -115,8 +115,8 @@ void KTPrint :: print (const TQString &str, int col, int tqalignment, bool wordW return; - //Setup the tqalignment - switch (tqalignment) { + //Setup the alignment + switch (alignment) { case alignTextLeft : format = AlignLeft | AlignTop | DontClip | ExpandTabs; break; case alignTextCenter : format = AlignHCenter | AlignTop | DontClip | ExpandTabs; break; case alignTextRight : format = AlignRight | AlignTop | DontClip | ExpandTabs; break; |