summaryrefslogtreecommitdiffstats
path: root/src/workspace/qworkspace.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 02:13:42 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 02:13:42 -0600
commit520c05ef06ce203ad32470730f68402bc7719157 (patch)
tree8d0bb18bbbecb4c837e232848905e5819db84b81 /src/workspace/qworkspace.cpp
parentb82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff)
downloadtqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz
tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip
Automated update from qt3
Diffstat (limited to 'src/workspace/qworkspace.cpp')
-rw-r--r--src/workspace/qworkspace.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/workspace/qworkspace.cpp b/src/workspace/qworkspace.cpp
index e57f07f7d..b46a9dddb 100644
--- a/src/workspace/qworkspace.cpp
+++ b/src/workspace/qworkspace.cpp
@@ -601,7 +601,7 @@ void TQWorkspace::place( TQWidget* w)
TQRect r2(0, 0, 0, 0);
TQRect maxRect = rect();
if(d->wmode == TopLevel) {
- const TQDesktopWidget *dw = qApp->desktop();
+ const TQDesktopWidget *dw = tqApp->desktop();
maxRect = dw->availableGeometry(dw->screenNumber(topLevelWidget()));
}
int x = maxRect.left(), y = maxRect.top();
@@ -800,7 +800,7 @@ void TQWorkspace::resizeEvent( TQResizeEvent * )
void TQWorkspace::handleUndock(TQDockWindow *w)
{
- const TQDesktopWidget *dw = qApp->desktop();
+ const TQDesktopWidget *dw = tqApp->desktop();
TQRect maxRect = dw->availableGeometry(dw->screenNumber(d->mainwindow));
TQPoint wpos(maxRect.left(), maxRect.top());
int possible = 0;
@@ -1026,8 +1026,8 @@ void TQWorkspace::showEvent( TQShowEvent *e )
TQWidget *w = new TQWidget(NULL, "TQDoesNotExist",
WType_Dialog | WStyle_Customize | WStyle_NoBorder);
-// if(qApp->mainWidget() == o)
-// TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit()));
+// if(tqApp->mainWidget() == o)
+// TQObject::connect(tqApp, SIGNAL(lastWindowClosed()), tqApp, SLOT(quit()));
TQDesktopWidget *dw = TQApplication::desktop();
w->setGeometry(dw->availableGeometry(dw->screenNumber(o)));
o->reparent(w, TQPoint(0, 0), TRUE);
@@ -1197,9 +1197,9 @@ void TQWorkspace::maximizeWindow( TQWidget* w)
c->adjustToFullscreen();
c->show();
c->internalRaise();
- qApp->sendPostedEvents( c, TQEvent::Resize );
- qApp->sendPostedEvents( c, TQEvent::Move );
- qApp->sendPostedEvents( c, TQEvent::ShowWindowRequest );
+ tqApp->sendPostedEvents( c, TQEvent::Resize );
+ tqApp->sendPostedEvents( c, TQEvent::Move );
+ tqApp->sendPostedEvents( c, TQEvent::ShowWindowRequest );
if ( d->maxWindow != c ) {
if ( d->maxWindow )
d->maxWindow->setGeometry( d->maxRestore );
@@ -1892,7 +1892,7 @@ void TQWorkspace::cascade()
int h = prefSize.height();
child->showNormal();
- qApp->sendPostedEvents( 0, TQEvent::ShowNormal );
+ tqApp->sendPostedEvents( 0, TQEvent::ShowNormal );
if ( y + h > height() )
y = 0;
if ( x + w > width() )
@@ -1987,7 +1987,7 @@ void TQWorkspace::tile()
c->TQFrame::move( p );
} else {
c->showNormal();
- qApp->sendPostedEvents( 0, TQEvent::ShowNormal );
+ tqApp->sendPostedEvents( 0, TQEvent::ShowNormal );
used[row*cols+col] = TRUE;
TQSize sz(w, h);
TQSize bsize(c->baseSize());
@@ -2731,9 +2731,9 @@ void TQWorkspaceChild::adjustToFullscreen()
if ( !childWidget )
return;
- qApp->sendPostedEvents( this, TQEvent::Resize );
- qApp->sendPostedEvents( childWidget, TQEvent::Resize );
- qApp->sendPostedEvents( childWidget, TQEvent::Move );
+ tqApp->sendPostedEvents( this, TQEvent::Resize );
+ tqApp->sendPostedEvents( childWidget, TQEvent::Resize );
+ tqApp->sendPostedEvents( childWidget, TQEvent::Move );
if( style().styleHint(TQStyle::SH_Workspace_FillSpaceOnMaximize, this) ) {
setGeometry( 0, 0, parentWidget()->width(), parentWidget()->height());
} else {