summaryrefslogtreecommitdiffstats
path: root/tdeui/tdefontdialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 11:17:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 12:39:52 +0900
commitba3b5b77e1a430dc7197df20872ba46ce2fb6fa7 (patch)
treed8b80b41bf117fe1d5caa7e7faecfab523e81153 /tdeui/tdefontdialog.cpp
parent5d320b587ba28fa3c4745e1555aff74d5651783e (diff)
downloadtdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.tar.gz
tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeui/tdefontdialog.cpp')
-rw-r--r--tdeui/tdefontdialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/tdeui/tdefontdialog.cpp b/tdeui/tdefontdialog.cpp
index eb2186ca5..2b657a7a8 100644
--- a/tdeui/tdefontdialog.cpp
+++ b/tdeui/tdefontdialog.cpp
@@ -131,7 +131,7 @@ TDEFontChooser::TDEFontChooser(TQWidget *parent, const char *name,
familyLayout->addSpacing( checkBoxGap );
if (diff) {
familyCheckbox = new TQCheckBox(i18n("Font"), page);
- connect(familyCheckbox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(toggled_checkbox()));
+ connect(familyCheckbox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(toggled_checkbox()));
familyLayout->addWidget(familyCheckbox, 0, TQt::AlignLeft);
TQString familyCBToolTipText =
i18n("Change font family?");
@@ -150,7 +150,7 @@ TDEFontChooser::TDEFontChooser(TQWidget *parent, const char *name,
TQHBoxLayout *styleLayout = new TQHBoxLayout();
if (diff) {
styleCheckbox = new TQCheckBox(i18n("Font style"), page);
- connect(styleCheckbox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(toggled_checkbox()));
+ connect(styleCheckbox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(toggled_checkbox()));
styleLayout->addWidget(styleCheckbox, 0, TQt::AlignLeft);
TQString styleCBToolTipText =
i18n("Change font style?");
@@ -170,7 +170,7 @@ TDEFontChooser::TDEFontChooser(TQWidget *parent, const char *name,
TQHBoxLayout *sizeLayout = new TQHBoxLayout();
if (diff) {
sizeCheckbox = new TQCheckBox(i18n("Size"),page);
- connect(sizeCheckbox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(toggled_checkbox()));
+ connect(sizeCheckbox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(toggled_checkbox()));
sizeLayout->addWidget(sizeCheckbox, 0, TQt::AlignLeft);
TQString sizeCBToolTipText =
i18n("Change font size?");
@@ -200,8 +200,8 @@ TDEFontChooser::TDEFontChooser(TQWidget *parent, const char *name,
i18n("Here you can choose the font family to be used." );
TQWhatsThis::add( familyListBox, fontFamilyWhatsThisText );
TQWhatsThis::add(diff?(TQWidget *) familyCheckbox:(TQWidget *) familyLabel, fontFamilyWhatsThisText );
- connect(familyListBox, TQT_SIGNAL(highlighted(const TQString &)),
- TQT_SLOT(family_chosen_slot(const TQString &)));
+ connect(familyListBox, TQ_SIGNAL(highlighted(const TQString &)),
+ TQ_SLOT(family_chosen_slot(const TQString &)));
if(!fontList.isEmpty())
{
familyListBox->insertStringList(fontList);
@@ -230,8 +230,8 @@ TDEFontChooser::TDEFontChooser(TQWidget *parent, const char *name,
styleListBox->setMinimumHeight(
minimumListHeight( styleListBox, visibleListSize ) );
- connect(styleListBox, TQT_SIGNAL(highlighted(const TQString &)),
- TQT_SLOT(style_chosen_slot(const TQString &)));
+ connect(styleListBox, TQ_SIGNAL(highlighted(const TQString &)),
+ TQ_SLOT(style_chosen_slot(const TQString &)));
sizeListBox = new TDEListBox( page, "sizeListBox");
@@ -280,11 +280,11 @@ TDEFontChooser::TDEFontChooser(TQWidget *parent, const char *name,
sizeListBox->setMinimumHeight(
minimumListHeight( sizeListBox, visibleListSize ) );
- connect( sizeOfFont, TQT_SIGNAL( valueChanged(int) ),
- TQT_SLOT(size_value_slot(int)));
+ connect( sizeOfFont, TQ_SIGNAL( valueChanged(int) ),
+ TQ_SLOT(size_value_slot(int)));
- connect( sizeListBox, TQT_SIGNAL(highlighted(const TQString&)),
- TQT_SLOT(size_chosen_slot(const TQString&)) );
+ connect( sizeListBox, TQ_SIGNAL(highlighted(const TQString&)),
+ TQ_SLOT(size_chosen_slot(const TQString&)) );
sizeListBox->setSelected(sizeListBox->findItem(TQString::number(10)), true); // default to 10pt.
row ++;
@@ -302,8 +302,8 @@ TDEFontChooser::TDEFontChooser(TQWidget *parent, const char *name,
i18n("This sample text illustrates the current settings. "
"You may edit it to test special characters." );
TQWhatsThis::add( sampleEdit, sampleEditWhatsThisText );
- connect(this, TQT_SIGNAL(fontSelected(const TQFont &)),
- TQT_SLOT(displaySample(const TQFont &)));
+ connect(this, TQ_SIGNAL(fontSelected(const TQFont &)),
+ TQ_SLOT(displaySample(const TQFont &)));
TQVBoxLayout *vbox;
if( makeFrame )