diff options
Diffstat (limited to 'qt')
-rw-r--r-- | qt/PlatQt.cpp | 2 | ||||
-rw-r--r-- | qt/SciListBox.cpp | 4 | ||||
-rw-r--r-- | qt/qextscintillabase.cpp | 6 | ||||
-rw-r--r-- | qt/qextscintillabase.h | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/qt/PlatQt.cpp b/qt/PlatQt.cpp index db5e94a..9f31d0d 100644 --- a/qt/PlatQt.cpp +++ b/qt/PlatQt.cpp @@ -661,7 +661,7 @@ void Window::SetFont(Font &font) void Window::SetCursor(Cursor curs) { - TQt::tqCursorShape qc; + TQt::CursorShape qc; switch (curs) { diff --git a/qt/SciListBox.cpp b/qt/SciListBox.cpp index ef2475b..f873d7c 100644 --- a/qt/SciListBox.cpp +++ b/qt/SciListBox.cpp @@ -98,7 +98,7 @@ void ListBoxX::Create(Window &parent,int,Point,int,bool) void ListBoxX::SetAverageCharWidth(int) { - // We rely on TQListBox::tqsizeHint() for the size of the list box rather + // We rely on TQListBox::sizeHint() for the size of the list box rather // than make calculations based on the average character width and the // number of visible rows. } @@ -121,7 +121,7 @@ PRectangle ListBoxX::GetDesiredRect() if (slb) { - TQSize sh = slb -> tqsizeHint(); + TQSize sh = slb -> sizeHint(); rc.right = sh.width(); rc.bottom = sh.height(); 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); } diff --git a/qt/qextscintillabase.h b/qt/qextscintillabase.h index d4e73ba..1e5a792 100644 --- a/qt/qextscintillabase.h +++ b/qt/qextscintillabase.h @@ -2243,7 +2243,7 @@ public: } //! Returns the recommended size of the widget. - virtual TQSize tqsizeHint() const; + virtual TQSize sizeHint() const; //! Returns the viewport widget. This is the widget that actually //! contains the text. |