diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/kernel/qwidget_x11.cpp | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
Diffstat (limited to 'src/kernel/qwidget_x11.cpp')
-rw-r--r-- | src/kernel/qwidget_x11.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kernel/qwidget_x11.cpp b/src/kernel/qwidget_x11.cpp index 9fc3e7d05..da6ec4817 100644 --- a/src/kernel/qwidget_x11.cpp +++ b/src/kernel/qwidget_x11.cpp @@ -667,13 +667,13 @@ void TQWidget::create( WId window, bool initializeWindow, bool destroyOldWindow) wm_hints.flags |= WindowGroupHint; XClassHint class_hint; - class_hint.res_name = (char *) qAppName(); // application name + class_hint.res_name = (char *) tqAppName(); // application name class_hint.res_class = (char *) qAppClass(); // application class XSetWMProperties( dpy, id, 0, 0, 0, 0, &size_hints, &wm_hints, &class_hint ); XResizeWindow( dpy, id, crect.width(), crect.height() ); - XStoreName( dpy, id, qAppName() ); + XStoreName( dpy, id, tqAppName() ); Atom protocols[5]; int n = 0; protocols[n++] = qt_wm_delete_window; // support del window protocol @@ -728,7 +728,7 @@ void TQWidget::create( WId window, bool initializeWindow, bool destroyOldWindow) // declare the widget's object name as window role XChangeProperty( dpy, id, qt_window_role, XA_STRING, 8, PropModeReplace, - (unsigned char *)name(), qstrlen( name() ) ); + (unsigned char *)name(), tqstrlen( name() ) ); // set client leader property XChangeProperty( dpy, id, qt_wm_client_leader, @@ -1171,7 +1171,7 @@ void TQWidget::setBackgroundPixmapDirect( const TQPixmap &pixmap ) else createExtra(); extra->bg_pix = new TQPixmap( pm ); - Q_CHECK_PTR( extra->bg_pix ); + TQ_CHECK_PTR( extra->bg_pix ); extra->bg_pix->x11SetScreen( x11Screen() ); XSetWindowBackgroundPixmap( x11Display(), winId(), extra->bg_pix->handle() ); if ( testWFlags(WType_Desktop) ) // save rootinfo later @@ -2766,7 +2766,7 @@ void TQWidget::setName( const char *name ) if ( isTopLevel() ) { XChangeProperty( x11Display(), winId(), qt_window_role, XA_STRING, 8, PropModeReplace, - (unsigned char *)name, qstrlen( name ) ); + (unsigned char *)name, tqstrlen( name ) ); } } |