diff options
Diffstat (limited to 'qtinterface/tqwhatsthis.cpp')
-rw-r--r-- | qtinterface/tqwhatsthis.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qtinterface/tqwhatsthis.cpp b/qtinterface/tqwhatsthis.cpp index 3f1bfde..1a170c5 100644 --- a/qtinterface/tqwhatsthis.cpp +++ b/qtinterface/tqwhatsthis.cpp @@ -21,3 +21,15 @@ Boston, MA 02110-1301, USA. #include <tqt.h> #include <tqwhatsthis.h> + +#ifdef USE_QT4 + +static QString textFor( QWidget * widget, const QPoint & pos, bool includeParents ) { + QString text; + Q3WhatsThis *wt = new Q3WhatsThis(widget); + text = wt->text(pos); + delete wt; + return text; +} + +#endif // USE_QT4
\ No newline at end of file |