diff options
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; |