diff options
Diffstat (limited to 'kwordquiz/src/wqprintdialogpage.cpp')
-rw-r--r-- | kwordquiz/src/wqprintdialogpage.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kwordquiz/src/wqprintdialogpage.cpp b/kwordquiz/src/wqprintdialogpage.cpp index e9baebcc..bcc721b5 100644 --- a/kwordquiz/src/wqprintdialogpage.cpp +++ b/kwordquiz/src/wqprintdialogpage.cpp @@ -25,8 +25,8 @@ #include "wqprintdialogpage.h" -WQPrintDialogPage::WQPrintDialogPage(TQWidget *parent, const char *name ) - : KPrintDialogPage( parent, name ) +WTQPrintDialogPage::WTQPrintDialogPage(TQWidget *tqparent, const char *name ) + : KPrintDialogPage( tqparent, name ) { setTitle(i18n("Vocabulary Options")); @@ -34,10 +34,10 @@ WQPrintDialogPage::WQPrintDialogPage(TQWidget *parent, const char *name ) g = new TQButtonGroup(i18n("Select Type of Printout"), this ); g->setColumnLayout(0, Qt::Vertical ); - g->layout()->setSpacing( 6 ); - g->layout()->setMargin( 11 ); - TQGridLayout * v = new TQGridLayout( g->layout() ); - v->setAlignment( Qt::AlignTop ); + g->tqlayout()->setSpacing( 6 ); + g->tqlayout()->setMargin( 11 ); + TQGridLayout * v = new TQGridLayout( g->tqlayout() ); + v->tqsetAlignment( TQt::AlignTop ); rb0 = new TQRadioButton(i18n("Vocabulary &list"), g ); v->addWidget( rb0, 0, 0 ); @@ -54,16 +54,16 @@ WQPrintDialogPage::WQPrintDialogPage(TQWidget *parent, const char *name ) } -WQPrintDialogPage::~WQPrintDialogPage() +WTQPrintDialogPage::~WTQPrintDialogPage() { } -void WQPrintDialogPage::getOptions(TQMap< TQString, TQString > & opts, bool incldef) +void WTQPrintDialogPage::getOptions(TQMap< TQString, TQString > & opts, bool incldef) { opts[ "kde-kwordquiz-type" ] = TQString::number(g->selectedId()); } -void WQPrintDialogPage::setOptions(const TQMap< TQString, TQString > & opts ) +void WTQPrintDialogPage::setOptions(const TQMap< TQString, TQString > & opts ) { TQString type = opts[ "kde-kwordquiz-type" ]; switch (type.toInt()) @@ -74,7 +74,7 @@ void WQPrintDialogPage::setOptions(const TQMap< TQString, TQString > & opts ) } } -bool WQPrintDialogPage::isValid(const TQString & msg ) +bool WTQPrintDialogPage::isValid(const TQString & msg ) { return true; } |