diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/kfontinst/kcmfontinst/PrintDialog.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/kfontinst/kcmfontinst/PrintDialog.cpp')
-rw-r--r-- | kcontrol/kfontinst/kcmfontinst/PrintDialog.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kcontrol/kfontinst/kcmfontinst/PrintDialog.cpp b/kcontrol/kfontinst/kcmfontinst/PrintDialog.cpp index e902fa1e1..afd9fa204 100644 --- a/kcontrol/kfontinst/kcmfontinst/PrintDialog.cpp +++ b/kcontrol/kfontinst/kcmfontinst/PrintDialog.cpp @@ -27,27 +27,27 @@ //////////////////////////////////////////////////////////////////////////////// #include "PrintDialog.h" -#include <qlayout.h> -#include <qframe.h> -#include <qlabel.h> +#include <tqlayout.h> +#include <tqframe.h> +#include <tqlabel.h> #include <klocale.h> namespace KFI { -CPrintDialog::CPrintDialog(QWidget *parent) +CPrintDialog::CPrintDialog(TQWidget *parent) : KDialogBase(Plain, i18n("Print Font Samples"), Ok|Cancel, Ok, parent, NULL, true, false) { - QFrame *page=plainPage(); - QGridLayout *layout=new QGridLayout(page, 1, 1, 0, spacingHint()); + TQFrame *page=plainPage(); + TQGridLayout *layout=new TQGridLayout(page, 1, 1, 0, spacingHint()); - layout->addWidget(new QLabel(i18n("Output:"), page), 0, 0); - itsOutput=new QComboBox(page); + layout->addWidget(new TQLabel(i18n("Output:"), page), 0, 0); + itsOutput=new TQComboBox(page); itsOutput->insertItem(i18n("All Fonts"), 0); itsOutput->insertItem(i18n("Selected Fonts"), 1); layout->addWidget(itsOutput, 0, 1); - layout->addWidget(new QLabel(i18n("Font size:"), page), 1, 0); - itsSize=new QComboBox(page); + layout->addWidget(new TQLabel(i18n("Font size:"), page), 1, 0); + itsSize=new TQComboBox(page); itsSize->insertItem(i18n("Waterfall"), 0); itsSize->insertItem(i18n("12pt"), 1); itsSize->insertItem(i18n("18pt"), 2); @@ -55,7 +55,7 @@ CPrintDialog::CPrintDialog(QWidget *parent) itsSize->insertItem(i18n("36pt"), 4); itsSize->insertItem(i18n("48pt"), 5); layout->addWidget(itsSize, 1, 1); - layout->addItem(new QSpacerItem(2, 2), 2, 1); + layout->addItem(new TQSpacerItem(2, 2), 2, 1); } bool CPrintDialog::exec(bool select, int size) @@ -68,7 +68,7 @@ bool CPrintDialog::exec(bool select, int size) else itsOutput->setCurrentItem(1); itsSize->setCurrentItem(size); - return QDialog::Accepted==QDialog::exec(); + return TQDialog::Accepted==TQDialog::exec(); } } |