From 17694865f7b449e7bda4444048efaf1222ebc355 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 13 Jun 2005 11:02:21 +0000 Subject: [PATCH] ByeBye Q3WhatsThis svn path=/branches/work/kde4/kdegraphics/kdvi/; revision=424870 --- fontprogress.cpp | 8 ++++---- infodialog.cpp | 6 +++--- optionDialogFontsWidget.cpp | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/fontprogress.cpp b/fontprogress.cpp index 36603c438..058b98967 100644 --- a/fontprogress.cpp +++ b/fontprogress.cpp @@ -16,7 +16,7 @@ #include #include #include -#include + #include @@ -42,20 +42,20 @@ fontProgressDialog::fontProgressDialog( QString helpIndex, QString label, QStrin TextLabel1 = new QLabel( label, page, "TextLabel2" ); TextLabel1->setAlignment( int( Qt::AlignCenter ) ); - Q3WhatsThis::add( TextLabel1, whatsThis ); + TextLabel1->setWhatsThis( whatsThis ); QToolTip::add( TextLabel1, ttip ); if (progressbar) { ProgressBar1 = new KProgress( page, "ProgressBar1" ); ProgressBar1->setFormat(i18n("%v of %m")); - Q3WhatsThis::add( ProgressBar1, whatsThis ); + ProgressBar1->setWhatsThis( whatsThis ); QToolTip::add( ProgressBar1, ttip ); } else ProgressBar1 = NULL; TextLabel2 = new QLabel( "", page, "TextLabel2" ); TextLabel2->setAlignment( int( Qt::AlignCenter ) ); - Q3WhatsThis::add( TextLabel2, whatsThis ); + TextLabel2->setWhatsThis( whatsThis ); QToolTip::add( TextLabel2, ttip ); progress = 0; diff --git a/infodialog.cpp b/infodialog.cpp index cd3731bfc..04a9efc34 100644 --- a/infodialog.cpp +++ b/infodialog.cpp @@ -14,7 +14,7 @@ #include #include #include -#include + //Added by qt3to4: #include #include @@ -38,7 +38,7 @@ infoDialog::infoDialog( QWidget* parent ) TextLabel2->setMinimumWidth(fontMetrics().maxWidth()*40); TextLabel2->setMinimumHeight(fontMetrics().height()*10); QToolTip::add( TextLabel2, i18n("Information on currently loaded fonts.") ); - Q3WhatsThis::add( TextLabel2, i18n("This text field shows detailed information about the currently loaded fonts. " + TextLabel2->setWhatsThis( i18n("This text field shows detailed information about the currently loaded fonts. " "This is useful for experts who want to locate problems in the setup of TeX or KDVI.") ); topLayout2->addWidget( TextLabel2 ); @@ -47,7 +47,7 @@ infoDialog::infoDialog( QWidget* parent ) TextLabel3 = new Q3TextView( page3, "TextLabel1" ); TextLabel3->setText( i18n("No output from any external program received.") ); QToolTip::add( TextLabel3, i18n("Output of external programs.") ); - Q3WhatsThis::add( TextLabel3, i18n("KDVI uses external programs, such as MetaFont, dvipdfm or dvips. " + TextLabel3->setWhatsThis( i18n("KDVI uses external programs, such as MetaFont, dvipdfm or dvips. " "This text field shows the output of these programs. " "That is useful for experts who want to find problems in the setup of TeX or KDVI.") ); topLayout3->addWidget( TextLabel3 ); diff --git a/optionDialogFontsWidget.cpp b/optionDialogFontsWidget.cpp index 341c28d3a..ba34bfb65 100644 --- a/optionDialogFontsWidget.cpp +++ b/optionDialogFontsWidget.cpp @@ -13,7 +13,7 @@ #include #include #include -#include + #include "../config.h" #include "fontpool.h" @@ -31,7 +31,7 @@ optionDialogFontsWidget::optionDialogFontsWidget( QWidget* parent, const char* kcfg_UseFontHints->setEnabled(false); kcfg_UseFontHints->setChecked(false); QToolTip::add(PFB_ButtonGroup, i18n("This version of KDVI does not support type 1 fonts.")); - Q3WhatsThis::add(PFB_ButtonGroup, i18n("KDVI needs the FreeType library to access type 1 fonts. This library " + PFB_ButtonGroup->setWhatsThis( i18n("KDVI needs the FreeType library to access type 1 fonts. This library " "was not present when KDVI was compiled. If you want to use type 1 " "fonts, you must either install the FreeType library and recompile KDVI " "yourself, or find a precompiled software package for your operating "