summaryrefslogtreecommitdiffstats
path: root/src/kernel/qwidget_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qwidget_x11.cpp')
-rw-r--r--src/kernel/qwidget_x11.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kernel/qwidget_x11.cpp b/src/kernel/qwidget_x11.cpp
index 9fc3e7d0..da6ec481 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 ) );
}
}