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/SettingsDialog.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/SettingsDialog.cpp')
-rw-r--r-- | kcontrol/kfontinst/kcmfontinst/SettingsDialog.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kcontrol/kfontinst/kcmfontinst/SettingsDialog.cpp b/kcontrol/kfontinst/kcmfontinst/SettingsDialog.cpp index 255fca709..8b8a88167 100644 --- a/kcontrol/kfontinst/kcmfontinst/SettingsDialog.cpp +++ b/kcontrol/kfontinst/kcmfontinst/SettingsDialog.cpp @@ -29,10 +29,10 @@ #include "SettingsDialog.h" #include "KfiConstants.h" #include "Misc.h" -#include <qlayout.h> -#include <qcheckbox.h> -#include <qvbox.h> -#include <qwhatsthis.h> +#include <tqlayout.h> +#include <tqcheckbox.h> +#include <tqvbox.h> +#include <tqwhatsthis.h> #include <klocale.h> #include <kconfig.h> #include <kmessagebox.h> @@ -42,20 +42,20 @@ namespace KFI { -CSettingsDialog::CSettingsDialog(QWidget *parent) +CSettingsDialog::CSettingsDialog(TQWidget *parent) : KDialogBase(parent, "settingsdialog", true, i18n("Settings"), KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true) { - QVBox *page = makeVBoxMainWidget(); + TQVBox *page = makeVBoxMainWidget(); - itsDoX=new QCheckBox(i18n("Configure fonts for legacy X applications"), page); - QWhatsThis::add(itsDoX, i18n("<p>Modern applications use a system called \"FontConfig\" to obtain the list of fonts. " + itsDoX=new TQCheckBox(i18n("Configure fonts for legacy X applications"), page); + TQWhatsThis::add(itsDoX, i18n("<p>Modern applications use a system called \"FontConfig\" to obtain the list of fonts. " "Older applications, such as OpenOffice 1.x, GIMP 1.x, etc. use the previous \"core X fonts\" mechanism for " "this.</p><p>Selecting this option will inform the installer to create the necessary files so that these " "older applications can use the fonts you install.</p><p>Please note, however, that this will slow down " "the installation process.<p>")); - itsDoGs=new QCheckBox(i18n("Configure fonts for Ghostscript"), page); - QWhatsThis::add(itsDoGs, i18n("<p>When printing, most applications create what is know as PostScript. This is then sent to a special " + itsDoGs=new TQCheckBox(i18n("Configure fonts for Ghostscript"), page); + TQWhatsThis::add(itsDoGs, i18n("<p>When printing, most applications create what is know as PostScript. This is then sent to a special " "application, named Ghostscript, which can interpret the PostScript and send the appropriate instructions " "to your printer. If your application does not embed whatever fonts it uses into the PostScript, then " "Ghostscript needs to be informed as to which fonts you have installed, and where they are located.</p>" @@ -83,10 +83,10 @@ void CSettingsDialog::slotOk() if( ((!oldDoX && itsDoX->isChecked()) || (!oldDoGs && itsDoGs->isChecked())) && KMessageBox::Yes==KMessageBox::questionYesNo(this, i18n("You have enabled a previously disabled option. Would you like the config " "files updated now? (Normally they are only updated upon installing, or " - "removing, a font.)"), QString::null, i18n("Update"),i18n("Do Not Update"))) + "removing, a font.)"), TQString::null, i18n("Update"),i18n("Do Not Update"))) { - QByteArray packedArgs; - QDataStream stream(packedArgs, IO_WriteOnly); + TQByteArray packedArgs; + TQDataStream stream(packedArgs, IO_WriteOnly); stream << KFI::SPECIAL_RECONFIG; |