From 359640943bcf155faa9a067dde9e00a123276290 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Feb 2012 17:43:39 -0600 Subject: Automated update from Qt3 --- src/kernel/qwidget_x11.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kernel/qwidget_x11.cpp') 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 ) ); } } -- cgit v1.2.1