diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:27 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 03:15:14 +0200 |
commit | 7ee38ebc22d177c8f0f4805d0e8479736ec94f79 (patch) | |
tree | 8923548e283ead89f5d6d5508ca68e294bfe1a1e /superkaramba/src/textfield.cpp | |
parent | 82588f54335b5e52502303e89e2035066a6cc808 (diff) | |
download | tdeutils-7ee38ebc22d177c8f0f4805d0e8479736ec94f79.tar.gz tdeutils-7ee38ebc22d177c8f0f4805d0e8479736ec94f79.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit bcc684e28ad6f9ebeeae5d334a4dc297cef3e816)
Diffstat (limited to 'superkaramba/src/textfield.cpp')
-rw-r--r-- | superkaramba/src/textfield.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/superkaramba/src/textfield.cpp b/superkaramba/src/textfield.cpp index a3be722..2c10659 100644 --- a/superkaramba/src/textfield.cpp +++ b/superkaramba/src/textfield.cpp @@ -18,7 +18,7 @@ TextField::TextField( ) setColor(TQColor(192, 192, 192)); setBGColor(TQColor(0, 0, 0)); setFont("Helvetica"); - tqsetAlignment(TQt::AlignLeft); + setAlignment(TQt::AlignLeft); setFixedPitch(false); setShadow(0); } @@ -35,7 +35,7 @@ TextField::TextField( const TextField& def ) setBGColor(def.getBGColor()); setFont( def.getFont() ); - tqsetAlignment( def.getAlignment() ); + setAlignment( def.getAlignment() ); setFixedPitch( def.getFixedPitch() ); setShadow( def.getShadow() ); } @@ -51,7 +51,7 @@ TextField& TextField::operator=(const TextField& rhs) setBGColor(rhs.getBGColor()); setFont( rhs.getFont() ); - tqsetAlignment( rhs.getAlignment() ); + setAlignment( rhs.getAlignment() ); setFixedPitch( rhs.getFixedPitch() ); setShadow( rhs.getShadow() ); @@ -102,7 +102,7 @@ int TextField::getFontSize() const return font.pointSize(); } -void TextField::tqsetAlignment( const TQString &align ) +void TextField::setAlignment( const TQString &align ) { TQString a = align.upper(); if( a == "LEFT" || a.isEmpty() ) @@ -113,7 +113,7 @@ void TextField::tqsetAlignment( const TQString &align ) tqalignment = TQt::AlignHCenter; } -void TextField::tqsetAlignment( int af ) +void TextField::setAlignment( int af ) { tqalignment = af; } |