From ae32266829a3b9ed718a8d37c5d6c25aaa0127c9 Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Fri, 13 Jul 2012 23:09:05 +0000 Subject: [PATCH] 2012-07-13 16:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QClipboard.qth * Fixed: constructor ( void* ) QApplication::clipboard() => ( void* ) __hbqtgui_app()->clipboard() * contrib/hbqt/qtgui/qth/QWidget.qth + Added: void setInputMethodHints ( Qt::InputMethodHints hints ) [*V=0x040600*] --- harbour/ChangeLog | 9 +++++++++ harbour/contrib/hbqt/qtgui/qth/QClipboard.qth | 8 ++++++-- harbour/contrib/hbqt/qtgui/qth/QWidget.qth | 2 ++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index a3edf41318..c087d2801a 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,15 @@ The license applies to all entries newer than 2009-04-28. */ +2012-07-13 16:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + * contrib/hbqt/qtgui/qth/QClipboard.qth + * Fixed: constructor + ( void* ) QApplication::clipboard() + => + ( void* ) __hbqtgui_app()->clipboard() + * contrib/hbqt/qtgui/qth/QWidget.qth + + Added: void setInputMethodHints ( Qt::InputMethodHints hints ) [*V=0x040600*] + 2012-07-13 15:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.ch * contrib/hbqt/hbmk2_qt.hb diff --git a/harbour/contrib/hbqt/qtgui/qth/QClipboard.qth b/harbour/contrib/hbqt/qtgui/qth/QClipboard.qth index 744a347926..af382ee5fe 100644 --- a/harbour/contrib/hbqt/qtgui/qth/QClipboard.qth +++ b/harbour/contrib/hbqt/qtgui/qth/QClipboard.qth @@ -25,13 +25,17 @@ Detached = yes #include #include +HB_EXTERN_BEGIN +extern HB_EXPORT QApplication * __hbqtgui_app( void ); +HB_EXTERN_END + /* * QApplication::clipboard() * */ HB_FUNC( QT_QCLIPBOARD ) { - hb_itemReturnRelease( hbqt_bindGetHbObject( NULL, ( void* ) QApplication::clipboard(), "HB_QCLIPBOARD", NULL, HBQT_BIT_NONE ) ); + hb_itemReturnRelease( hbqt_bindGetHbObject( NULL, ( void* ) __hbqtgui_app()->clipboard(), "HB_QCLIPBOARD", NULL, HBQT_BIT_QOBJECT ) ); } @@ -61,7 +65,7 @@ bool supportsFindBuffer () const bool supportsSelection () const QString text ( Mode mode = Clipboard ) const # -// QString text ( QString & subtype, Mode mode = Clipboard ) const +//QString text ( const QString & subtype, Mode mode = Clipboard ) const # diff --git a/harbour/contrib/hbqt/qtgui/qth/QWidget.qth b/harbour/contrib/hbqt/qtgui/qth/QWidget.qth index 5a0221f08a..f4c897ce43 100644 --- a/harbour/contrib/hbqt/qtgui/qth/QWidget.qth +++ b/harbour/contrib/hbqt/qtgui/qth/QWidget.qth @@ -200,6 +200,8 @@ void setForegroundRole ( QPalette::ColorRole role ) void setGeometry ( const QRect & ) void setGeometry ( int x, int y, int w, int h ) +void setInputMethodHints ( Qt::InputMethodHints hints ) [*V=0x040600*] + // void setInputContext ( QInputContext * context ) void setLayout ( QLayout * layout ) [*X=1*] void setLayoutDirection ( Qt::LayoutDirection direction )