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.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kernel/qwidget_x11.cpp b/src/kernel/qwidget_x11.cpp
index da6ec481..41b048b6 100644
--- a/src/kernel/qwidget_x11.cpp
+++ b/src/kernel/qwidget_x11.cpp
@@ -236,11 +236,11 @@ Q_EXPORT void qt_wait_for_window_manager( TQWidget* w )
break;
if ( t.elapsed() > 500 )
return; // give up, no event available
- qApp->syncX(); // non-busy wait
+ tqApp->syncX(); // non-busy wait
}
- qApp->x11ProcessEvent( &ev );
+ tqApp->x11ProcessEvent( &ev );
if ( XCheckTypedWindowEvent( w->x11Display(), w->winId(), ConfigureNotify, &ev ) )
- qApp->x11ProcessEvent( &ev );
+ tqApp->x11ProcessEvent( &ev );
}
static void qt_net_change_wm_state(const TQWidget* w, bool set, Atom one, Atom two = 0)
@@ -668,7 +668,7 @@ void TQWidget::create( WId window, bool initializeWindow, bool destroyOldWindow)
XClassHint class_hint;
class_hint.res_name = (char *) tqAppName(); // application name
- class_hint.res_class = (char *) qAppClass(); // application class
+ class_hint.res_class = (char *) tqAppClass(); // application class
XSetWMProperties( dpy, id, 0, 0, 0, 0, &size_hints, &wm_hints, &class_hint );
@@ -802,7 +802,7 @@ void TQWidget::destroy( bool destroyWindow, bool destroySubWindows )
if ( testWFlags(WShowModal) ) // just be sure we leave modal
qt_leave_modal( this );
else if ( testWFlags(WType_Popup) )
- qApp->closePopup( this );
+ tqApp->closePopup( this );
#ifndef QT_NO_XFTFREETYPE
if ( rendhd) {
@@ -1825,7 +1825,7 @@ void TQWidget::setWindowState(uint newstate)
(getWFlags() & 0xffff0000),
mapToGlobal(TQPoint(0, 0)));
const TQRect r = top->normalGeometry;
- setGeometry(qApp->desktop()->screenGeometry(this));
+ setGeometry(tqApp->desktop()->screenGeometry(this));
top->normalGeometry = r;
if ( top->normalGeometry.width() < 0 )
@@ -2873,7 +2873,7 @@ void TQWidget::updateFrameStrut() const
*/
TQWidget *TQWidget::icHolderWidget()
{
- return qApp->locateICHolderWidget(this);
+ return tqApp->locateICHolderWidget(this);
}
@@ -2923,7 +2923,7 @@ void TQWidget::changeInputContext( const TQString& identifierName )
*qicp = qic;
if ( qic ) {
TQObject::connect( qic, SIGNAL(imEventGenerated(TQObject *,TQIMEvent *)),
- qApp, SLOT(postIMEvent(TQObject *,TQIMEvent *)) );
+ tqApp, SLOT(postIMEvent(TQObject *,TQIMEvent *)) );
TQObject::connect( qic, SIGNAL(deletionRequested()),
icWidget, SLOT(destroyInputContext()) );
}
@@ -2962,7 +2962,7 @@ void TQWidget::createInputContext()
*qicp = qic;
if ( qic ) {
TQObject::connect( qic, SIGNAL(imEventGenerated(TQObject *,TQIMEvent *)),
- qApp, SLOT(postIMEvent(TQObject *,TQIMEvent *)) );
+ tqApp, SLOT(postIMEvent(TQObject *,TQIMEvent *)) );
TQObject::connect( qic, SIGNAL(deletionRequested()),
icWidget, SLOT(destroyInputContext()) );
}