diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:09 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 15:53:43 +0200 |
commit | 81d696e1ee26cfc46fb4c97989575a7376b2d246 (patch) | |
tree | 08aba6fcefaed9220ebfcd71eb069179434e1df1 /ksirc/kstextview.h | |
parent | e7bee19a9f42cffe3a0792348a60e5bee1d3da71 (diff) | |
download | tdenetwork-81d696e1ee26cfc46fb4c97989575a7376b2d246.tar.gz tdenetwork-81d696e1ee26cfc46fb4c97989575a7376b2d246.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit 8a143ab9f846e910c583ea8e770cd05495e0c58d)
Diffstat (limited to 'ksirc/kstextview.h')
-rw-r--r-- | ksirc/kstextview.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ksirc/kstextview.h b/ksirc/kstextview.h index 1ac273eb..1c537e95 100644 --- a/ksirc/kstextview.h +++ b/ksirc/kstextview.h @@ -40,7 +40,7 @@ struct StringPtr StringPtr( const TQChar *_ptr, uint _len ) : ptr( _ptr ), len( _len ) {} explicit StringPtr( const TQString &s ) // use with care! - : ptr( s.tqunicode() ), len( s.length() ) {} + : ptr( s.unicode() ), len( s.length() ) {} inline bool isNull() const { return ptr == 0; } @@ -354,7 +354,7 @@ public: ~TextParag(); - void tqlayout( int width ); + void layout( int width ); void paint( TQPainter &p, int y, int maxY ); @@ -537,7 +537,7 @@ private: SelectionPoint *selectionStart(); SelectionPoint *selectionEnd(); - void tqlayout( bool force = true ); + void layout( bool force = true ); Item *itemAt( const TQPoint &pos, SelectionPoint *selectionInfo = 0, Item::SelectionAccuracy accuracy = Item::SelectExact ); |