summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/acquireimages/screenshotdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:36:37 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:36:37 -0600
commit650c190e4a29a2a17fd46b32ce78b956b9816215 (patch)
tree5455c66e710cf34ad5c795f560883ac44fc864d6 /kipi-plugins/acquireimages/screenshotdialog.cpp
parenta70b2efe3c22251c43a20d6e0eb3934ca523db80 (diff)
downloadkipi-plugins-650c190e4a29a2a17fd46b32ce78b956b9816215.tar.gz
kipi-plugins-650c190e4a29a2a17fd46b32ce78b956b9816215.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kipi-plugins/acquireimages/screenshotdialog.cpp')
-rw-r--r--kipi-plugins/acquireimages/screenshotdialog.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kipi-plugins/acquireimages/screenshotdialog.cpp b/kipi-plugins/acquireimages/screenshotdialog.cpp
index 4e47f1a..f553fb8 100644
--- a/kipi-plugins/acquireimages/screenshotdialog.cpp
+++ b/kipi-plugins/acquireimages/screenshotdialog.cpp
@@ -32,7 +32,7 @@ extern "C"
// Include files for TQt
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqfileinfo.h>
#include <tqapplication.h>
@@ -75,7 +75,7 @@ ScreenGrabDialog::ScreenGrabDialog( KIPI::Interface* interface, TQWidget *parent
m_inSelect = false;
TQWidget* box = new TQWidget( this );
setMainWidget(box);
- TQVBoxLayout *tqlayout = new TQVBoxLayout(box);
+ TQVBoxLayout *layout = new TQVBoxLayout(box);
//---------------------------------------------
@@ -83,31 +83,31 @@ ScreenGrabDialog::ScreenGrabDialog( KIPI::Interface* interface, TQWidget *parent
"application window. If you grab a single window your mouse\n"
"cursor will change into crosshairs; then, simply select the\n"
"window with your mouse."), box);
- tqlayout->addWidget(label1);
+ layout->addWidget(label1);
//---------------------------------------------
m_desktopCB = new TQCheckBox(i18n("Grab the entire desktop"), box);
TQWhatsThis::add( m_desktopCB, i18n( "<p>If you enable this option, the entire desktop will be grabbed; "
"otherwise, only the active windows." ) );
- tqlayout->addWidget(m_desktopCB);
+ layout->addWidget(m_desktopCB);
//---------------------------------------------
m_hideCB = new TQCheckBox(i18n("Hide all host application windows"), box);
TQWhatsThis::add( m_hideCB, i18n( "<p>If you enable this option, all host application windows will be hidden "
"during the grab operation." ) );
- tqlayout->addWidget(m_hideCB);
+ layout->addWidget(m_hideCB);
//---------------------------------------------
TQLabel *label2 = new TQLabel(i18n("Delay:"), box);
- tqlayout->addWidget(label2);
+ layout->addWidget(label2);
m_delay = new KIntNumInput(box);
TQWhatsThis::add( m_delay, i18n( "<p>The delay in seconds before the grab operation is started.") );
m_delay->setRange(0, 60);
- tqlayout->addWidget(m_delay);
- tqlayout->addStretch(1);
+ layout->addWidget(m_delay);
+ layout->addStretch(1);
//---------------------------------------------
@@ -201,7 +201,7 @@ void ScreenGrabDialog::slotGrab()
m_hiddenWindows.clear();
if (m_hideCB->isChecked())
{
- TQWidgetList *list = TQApplication::tqtopLevelWidgets();
+ TQWidgetList *list = TQApplication::topLevelWidgets();
TQWidgetListIt it( *list );
TQWidget * w;
while ( (w=it.current()) != 0 )