summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrBackDia.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kpresenter/KPrBackDia.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kpresenter/KPrBackDia.cpp')
-rw-r--r--kpresenter/KPrBackDia.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpresenter/KPrBackDia.cpp b/kpresenter/KPrBackDia.cpp
index b616f802..0be957f0 100644
--- a/kpresenter/KPrBackDia.cpp
+++ b/kpresenter/KPrBackDia.cpp
@@ -28,7 +28,7 @@
#include <tqpainter.h>
#include <tqcombobox.h>
#include <tqslider.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtabwidget.h>
#include <tqvbox.h>
#include <tqcheckbox.h>
@@ -89,10 +89,10 @@ KPrBackDialog::KPrBackDialog( TQWidget* parent, const char* name,
TQWidget *page = new TQWidget( this );
setMainWidget(page);
- TQVBoxLayout *tqlayout = new TQVBoxLayout( page, 0, spacingHint() );
+ TQVBoxLayout *layout = new TQVBoxLayout( page, 0, spacingHint() );
- TQHBoxLayout *hbox = new TQHBoxLayout( tqlayout );
+ TQHBoxLayout *hbox = new TQHBoxLayout( layout );
hbox->setSpacing( KDialog::spacingHint() );
TQVBoxLayout *vbox = new TQVBoxLayout( hbox );
vbox->setSpacing( KDialog::spacingHint() );
@@ -175,7 +175,7 @@ KPrBackDialog::KPrBackDialog( TQWidget* parent, const char* name,
picTab->setMargin( 5 );
TQLabel *l = new TQLabel( i18n( "View mode:" ), picTab );
- l->setFixedHeight( l->tqsizeHint().height() );
+ l->setFixedHeight( l->sizeHint().height() );
picView = new TQComboBox( false, picTab );
picView->insertItem( i18n( "Scaled" ) );
@@ -186,10 +186,10 @@ KPrBackDialog::KPrBackDialog( TQWidget* parent, const char* name,
this, TQT_SLOT( updateConfiguration() ) );
picChooseLabel = new TQLabel( i18n("&Location:"), picTab );
- picChooseLabel->setFixedHeight( picChooseLabel->tqsizeHint().height() );
+ picChooseLabel->setFixedHeight( picChooseLabel->sizeHint().height() );
picChoose = new KURLRequester( picTab, "picChoose" );
- picChoose->setFixedHeight( picChoose->tqsizeHint().height() );
+ picChoose->setFixedHeight( picChoose->sizeHint().height() );
picChoose->setMode( KFile::ExistingOnly );
connect( picChoose, TQT_SIGNAL( openFileDialog( KURLRequester * ) ),
TQT_SLOT( aboutToSelectPic() ) );
@@ -313,7 +313,7 @@ void KPrBackDialog::updateConfiguration()
{
kdDebug(33001) << "set backgound to master" << endl;
preview->backGround()->setBackGround( m_page->masterPage()->background()->getBackGround() );
- preview->tqrepaint( true );
+ preview->repaint( true );
}
else
{
@@ -331,7 +331,7 @@ void KPrBackDialog::updateConfiguration()
preview->backGround()->setBackType( getBackType() );
if ( preview->isVisible() && isVisible() ) {
preview->backGround()->reload(); // ### TODO: instead of reloading, load or remove the picture correctly.
- preview->tqrepaint( true );
+ preview->repaint( true );
}
picChanged = false;