diff options
Diffstat (limited to 'kooka/imgprintdialog.cpp')
-rw-r--r-- | kooka/imgprintdialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kooka/imgprintdialog.cpp b/kooka/imgprintdialog.cpp index e79c92df..b65df15c 100644 --- a/kooka/imgprintdialog.cpp +++ b/kooka/imgprintdialog.cpp @@ -31,7 +31,7 @@ #include <tqstring.h> #include <tqmap.h> -#include <tqlayout.h> +#include <layout.h> #include <tqvbuttongroup.h> #include <tqcheckbox.h> #include <tqradiobutton.h> @@ -53,9 +53,9 @@ ImgPrintDialog::ImgPrintDialog( KookaImage *img, TQWidget *parent, const char* n m_ignoreSignal(false) { setTitle(i18n("Image Printing")); - TQVBoxLayout *tqlayout = new TQVBoxLayout( this ); - // tqlayout->setMargin( KDialog::marginHint() ); - // tqlayout->setSpacing( KDialog::spacingHint() ); + TQVBoxLayout *layout = new TQVBoxLayout( this ); + // layout->setMargin( KDialog::marginHint() ); + // layout->setSpacing( KDialog::spacingHint() ); m_scaleRadios = new TQButtonGroup( 2, Qt::Vertical, i18n("Image Print Size"), this ); m_scaleRadios->setRadioButtonExclusive(true); @@ -84,11 +84,11 @@ ImgPrintDialog::ImgPrintDialog( KookaImage *img, TQWidget *parent, const char* n TQToolTip::add( m_rbFitPage, i18n("Printout uses maximum space on the selected pager. Aspect ratio is maintained.")); m_scaleRadios->insert( m_rbFitPage, ID_FIT_PAGE ); - tqlayout->addWidget( m_scaleRadios ); + layout->addWidget( m_scaleRadios ); TQHBoxLayout *hbox = new TQHBoxLayout( this ); - tqlayout->addLayout( hbox ); + layout->addLayout( hbox ); /** Box for Image Resolutions **/ TQVGroupBox *group1 = new TQVGroupBox( i18n("Resolutions"), this ); @@ -127,8 +127,8 @@ ImgPrintDialog::ImgPrintDialog( KookaImage *img, TQWidget *parent, const char* n TQWidget *spaceEater = new TQWidget( this ); - spaceEater->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Ignored )); - tqlayout->addWidget( spaceEater ); + spaceEater->setSizePolicy( TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Ignored )); + layout->addWidget( spaceEater ); /* Set start values */ m_rbScreen->setChecked(true); @@ -167,7 +167,7 @@ void ImgPrintDialog::setOptions(const TQMap<TQString,TQString>& opts) m_sizeH->setValue( help ); help = opts[OPT_SCREEN_RES].toInt(); - m_screenRes->setText(i18n( "Screen resolution: %1 dpi").tqarg(help)); + m_screenRes->setText(i18n( "Screen resolution: %1 dpi").arg(help)); help = opts[OPT_PSGEN_DRAFT].toInt(); m_psDraft->setChecked( help == 1 ); |