summaryrefslogtreecommitdiffstats
path: root/tderandr/randr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tderandr/randr.cpp')
-rw-r--r--tderandr/randr.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tderandr/randr.cpp b/tderandr/randr.cpp
index 0a234b518..3dfce4589 100644
--- a/tderandr/randr.cpp
+++ b/tderandr/randr.cpp
@@ -254,7 +254,7 @@ TDE_EXPORT bool RandRScreen::confirm()
// FIXME remember to put the dialog on the right screen
KTimerDialog acceptDialog ( 15000, KTimerDialog::CountDown,
- TDEApplication::kApplication()->mainWidget(),
+ tdeApp->mainWidget(),
"mainKTimerDialog",
true,
i18n("Confirm Display Setting Change"),
@@ -275,7 +275,7 @@ TDE_EXPORT bool RandRScreen::confirm()
m_shownDialog = &acceptDialog;
connect( m_shownDialog, TQ_SIGNAL( destroyed()), this, TQ_SLOT( shownDialogDestroyed()));
- connect( kapp->desktop(), TQ_SIGNAL( resized(int)), this, TQ_SLOT( desktopResized()));
+ connect( tdeApp->desktop(), TQ_SIGNAL( resized(int)), this, TQ_SLOT( desktopResized()));
return acceptDialog.exec();
}
@@ -283,7 +283,7 @@ TDE_EXPORT bool RandRScreen::confirm()
TDE_EXPORT void RandRScreen::shownDialogDestroyed()
{
m_shownDialog = NULL;
- disconnect( kapp->desktop(), TQ_SIGNAL( resized(int)), this, TQ_SLOT( desktopResized()));
+ disconnect( tdeApp->desktop(), TQ_SIGNAL( resized(int)), this, TQ_SLOT( desktopResized()));
}
TDE_EXPORT void RandRScreen::desktopResized()
@@ -846,7 +846,7 @@ TDE_EXPORT bool RandRScreen::showTestConfigurationDialog()
// FIXME remember to put the dialog on the right screen
KTimerDialog acceptDialog ( 15000, KTimerDialog::CountDown,
- TDEApplication::kApplication()->mainWidget(),
+ tdeApp->mainWidget(),
"mainKTimerDialog",
true,
i18n("Confirm Display Settings"),
@@ -867,7 +867,7 @@ TDE_EXPORT bool RandRScreen::showTestConfigurationDialog()
m_shownDialog = &acceptDialog;
connect( m_shownDialog, TQ_SIGNAL( destroyed()), this, TQ_SLOT( shownDialogDestroyed()));
- connect( kapp->desktop(), TQ_SIGNAL( resized(int)), this, TQ_SLOT( desktopResized()));
+ connect( tdeApp->desktop(), TQ_SIGNAL( resized(int)), this, TQ_SLOT( desktopResized()));
return acceptDialog.exec();
}