summaryrefslogtreecommitdiffstats
path: root/ksirc/kstextview.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:09 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:09 -0600
commit8a143ab9f846e910c583ea8e770cd05495e0c58d (patch)
tree06462d431eeef66349e54facb75e75a09261eba8 /ksirc/kstextview.h
parent1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98 (diff)
downloadtdenetwork-8a143ab9f846e910c583ea8e770cd05495e0c58d.tar.gz
tdenetwork-8a143ab9f846e910c583ea8e770cd05495e0c58d.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'ksirc/kstextview.h')
-rw-r--r--ksirc/kstextview.h6
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 );