diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
commit | a374efce3a207b39514be3c52264091400ce297e (patch) | |
tree | 77bdf654b55826d4f59b53a5621310206bcaead1 /kwordquiz/src/wqprintdialogpage.cpp | |
parent | f81a494f3957d5cf38c787973415597941934727 (diff) | |
download | tdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip |
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; } |