diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:09:52 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:09:52 -0600 |
commit | 5a561c21d6638f2d4cf461518734047aca88732c (patch) | |
tree | ca53e91b8f14761c89b2eeca8260bc6208064743 /kipi-plugins/acquireimages | |
parent | f176190ca6b0706ec1217d0da075c9513af80c0b (diff) | |
download | kipi-plugins-5a561c21d6638f2d4cf461518734047aca88732c.tar.gz kipi-plugins-5a561c21d6638f2d4cf461518734047aca88732c.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kipi-plugins/acquireimages')
-rw-r--r-- | kipi-plugins/acquireimages/acquireimagedialog.cpp | 12 | ||||
-rw-r--r-- | kipi-plugins/acquireimages/screenshotdialog.cpp | 14 |
2 files changed, 13 insertions, 13 deletions
diff --git a/kipi-plugins/acquireimages/acquireimagedialog.cpp b/kipi-plugins/acquireimages/acquireimagedialog.cpp index 2499a59..0f68560 100644 --- a/kipi-plugins/acquireimages/acquireimagedialog.cpp +++ b/kipi-plugins/acquireimages/acquireimagedialog.cpp @@ -227,11 +227,11 @@ void AcquireImageDialog::setupImageOptions(void) TQGroupBox * groupBox2 = new TQGroupBox( i18n("Saving Options"), page_setupImageOptions ); groupBox2->setColumnLayout(0, Qt::Vertical ); - groupBox2->tqlayout()->setSpacing( 6 ); - groupBox2->tqlayout()->setMargin( 11 ); + groupBox2->layout()->setSpacing( 6 ); + groupBox2->layout()->setMargin( 11 ); TQWhatsThis::add( groupBox2, i18n("<p>The saving options of the target image.") ); - TQVBoxLayout * groupBox2Layout = new TQVBoxLayout( groupBox2->tqlayout() ); + TQVBoxLayout * groupBox2Layout = new TQVBoxLayout( groupBox2->layout() ); groupBox2Layout->setAlignment( TQt::AlignTop ); m_imageCompression = new KIntNumInput(75, groupBox2); @@ -327,11 +327,11 @@ void AcquireImageDialog::setupAlbumsList(void) TQGroupBox * groupBox2 = new TQGroupBox( i18n("Album Description"), page_setupAlbumsList ); groupBox2->setColumnLayout(0, Qt::Vertical ); - groupBox2->tqlayout()->setSpacing( 6 ); - groupBox2->tqlayout()->setMargin( 11 ); + groupBox2->layout()->setSpacing( 6 ); + groupBox2->layout()->setMargin( 11 ); TQWhatsThis::add( groupBox2, i18n("<p>The description of the current Album in the selection list.") ); - TQVBoxLayout * groupBox2Layout = new TQVBoxLayout( groupBox2->tqlayout() ); + TQVBoxLayout * groupBox2Layout = new TQVBoxLayout( groupBox2->layout() ); groupBox2Layout->setAlignment( TQt::AlignTop ); m_AlbumComments = new KSqueezedTextLabel( groupBox2 ); diff --git a/kipi-plugins/acquireimages/screenshotdialog.cpp b/kipi-plugins/acquireimages/screenshotdialog.cpp index 62478da..725f721 100644 --- a/kipi-plugins/acquireimages/screenshotdialog.cpp +++ b/kipi-plugins/acquireimages/screenshotdialog.cpp @@ -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); //--------------------------------------------- |