diff options
Diffstat (limited to 'tqtinterface/qt4/tools/designer/editor/completion.cpp')
-rw-r--r-- | tqtinterface/qt4/tools/designer/editor/completion.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tqtinterface/qt4/tools/designer/editor/completion.cpp b/tqtinterface/qt4/tools/designer/editor/completion.cpp index 1ca2f89..1b42cb0 100644 --- a/tqtinterface/qt4/tools/designer/editor/completion.cpp +++ b/tqtinterface/qt4/tools/designer/editor/completion.cpp @@ -41,7 +41,7 @@ #include <tqapplication.h> #include <tqregexp.h> #include "arghintwidget.h" -#include <sizegrip.h> +#include <tqsizegrip.h> #include <tqtimer.h> static TQColor getColor( const TQString &type ) @@ -299,7 +299,7 @@ bool EditorCompletion::doCompletion() (void)new CompletionItem( completionListBox, (*it).text, (*it).type, (*it).postfix, (*it).prefix, (*it).postfix2 ); cList = lst; - completionPopup->resize( completionListBox->sizeHint() + + completionPopup->resize( completionListBox->tqsizeHint() + TQSize( completionListBox->verticalScrollBar()->width() + 4, completionListBox->horizontalScrollBar()->height() + 4 ) ); completionListBox->setCurrentItem( 0 ); @@ -698,7 +698,7 @@ void EditorCompletion::showCompletion( const TQValueList<CompletionEntry> &lst ) (void)new CompletionItem( completionListBox, (*it).text, (*it).type, (*it).postfix, (*it).prefix, (*it).postfix2 ); cList = lst; - completionPopup->resize( completionListBox->sizeHint() + + completionPopup->resize( completionListBox->tqsizeHint() + TQSize( completionListBox->verticalScrollBar()->width() + 4, completionListBox->horizontalScrollBar()->height() + 4 ) ); completionListBox->setCurrentItem( 0 ); |