summaryrefslogtreecommitdiffstats
path: root/qt/qextscintillabase.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:16:52 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:16:52 -0600
commitc03d5480ab0242a8e6b03b466d90d32d39303e71 (patch)
tree49196ad7975cefd5de40614cc3b92f88092b412b /qt/qextscintillabase.cpp
parent6ade7e598a18691f3f92471c4441d856b3ac54dc (diff)
downloadtqscintilla-c03d5480ab0242a8e6b03b466d90d32d39303e71.tar.gz
tqscintilla-c03d5480ab0242a8e6b03b466d90d32d39303e71.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'qt/qextscintillabase.cpp')
-rw-r--r--qt/qextscintillabase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt/qextscintillabase.cpp b/qt/qextscintillabase.cpp
index aa58b9e..2131ab6 100644
--- a/qt/qextscintillabase.cpp
+++ b/qt/qextscintillabase.cpp
@@ -73,7 +73,7 @@ QextScintillaBase::QextScintillaBase(TQWidget *parent,const char *name,WFlags f)
TQGridLayout *tqlayout = new TQGridLayout(this,2,2);
txtarea = new TQWidget(this,0,WRepaintNoErase|WResizeNoErase);
- txtarea -> tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Expanding));
+ txtarea -> setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Expanding));
txtarea -> setMouseTracking(TRUE);
txtarea -> setAcceptDrops(TRUE);
txtarea -> setFocusPolicy(WheelFocus);
@@ -563,12 +563,12 @@ void QextScintillaBase::handleHSb(int val)
// Return the current prefered size.
-TQSize QextScintillaBase::tqsizeHint() const
+TQSize QextScintillaBase::sizeHint() const
{
int height = sci -> vs.lineHeight * sci -> pdoc -> LinesTotal();
if (sci -> horizontalScrollBarVisible)
- height += hsb -> tqsizeHint().height();
+ height += hsb -> sizeHint().height();
return TQSize(sci -> scrollWidth,height);
}