summaryrefslogtreecommitdiffstats
path: root/src/collectionfieldsdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/collectionfieldsdialog.cpp')
-rw-r--r--src/collectionfieldsdialog.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/collectionfieldsdialog.cpp b/src/collectionfieldsdialog.cpp
index 132f640..06feeca 100644
--- a/src/collectionfieldsdialog.cpp
+++ b/src/collectionfieldsdialog.cpp
@@ -77,7 +77,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
(void) new FieldListBox(m_fieldsBox, it);
}
}
- connect(m_fieldsBox, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slotHighlightedChanged(int)));
+ connect(m_fieldsBox, TQ_SIGNAL(highlighted(int)), TQ_SLOT(slotHighlightedChanged(int)));
TQHBox* hb1 = new TQHBox(fieldsGroup);
hb1->setSpacing(KDialog::spacingHint());
@@ -88,8 +88,8 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
m_btnDelete->setIconSet(BarIconSet(TQString::fromLatin1("edit-delete"), TDEIcon::SizeSmall));
TQWhatsThis::add(m_btnDelete, i18n("Remove a field from the collection"));
- connect(m_btnNew, TQT_SIGNAL(clicked()), TQT_SLOT(slotNew()) );
- connect(m_btnDelete, TQT_SIGNAL(clicked()), TQT_SLOT(slotDelete()));
+ connect(m_btnNew, TQ_SIGNAL(clicked()), TQ_SLOT(slotNew()) );
+ connect(m_btnDelete, TQ_SIGNAL(clicked()), TQ_SLOT(slotDelete()));
TQHBox* hb2 = new TQHBox(fieldsGroup);
hb2->setSpacing(KDialog::spacingHint());
@@ -102,8 +102,8 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
TQWhatsThis::add(m_btnDown, i18n("Move this field down in the list. The list order is important "
"for the layout of the entry editor."));
- connect(m_btnUp, TQT_SIGNAL(clicked()), TQT_SLOT(slotMoveUp()) );
- connect(m_btnDown, TQT_SIGNAL(clicked()), TQT_SLOT(slotMoveDown()));
+ connect(m_btnUp, TQ_SIGNAL(clicked()), TQ_SLOT(slotMoveUp()) );
+ connect(m_btnDown, TQ_SIGNAL(clicked()), TQ_SLOT(slotMoveDown()));
TQVBox* vbox = new TQVBox(page);
vbox->setSpacing(KDialog::spacingHint());
@@ -124,7 +124,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
TQString whats = i18n("The title of the field");
TQWhatsThis::add(label, whats);
TQWhatsThis::add(m_titleEdit, whats);
- connect(m_titleEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
+ connect(m_titleEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
label = new TQLabel(i18n("T&ype:"), grid);
layout->addWidget(label, row, 2);
@@ -151,8 +151,8 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
TQWhatsThis::add(m_typeCombo, whats);
// the typeTitles match the fieldMap().values() but in a better order
m_typeCombo->insertStringList(Data::Field::typeTitles());
- connect(m_typeCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotModified()));
- connect(m_typeCombo, TQT_SIGNAL(activated(const TQString&)), TQT_SLOT(slotTypeChanged(const TQString&)));
+ connect(m_typeCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotModified()));
+ connect(m_typeCombo, TQ_SIGNAL(activated(const TQString&)), TQ_SLOT(slotTypeChanged(const TQString&)));
label = new TQLabel(i18n("Cate&gory:"), grid);
layout->addWidget(label, ++row, 0);
@@ -174,7 +174,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
}
m_catCombo->insertStringList(cats);
m_catCombo->setDuplicatesEnabled(false);
- connect(m_catCombo, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
+ connect(m_catCombo, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
label = new TQLabel(i18n("Descr&iption:"), grid);
layout->addWidget(label, ++row, 0);
@@ -188,7 +188,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
"\"%{year} %{title}\" where the named fields get substituted in the string.");
TQWhatsThis::add(label, whats);
TQWhatsThis::add(m_descEdit, whats);
- connect(m_descEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
+ connect(m_descEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
label = new TQLabel(i18n("&Default value:"), grid);
layout->addWidget(label, ++row, 0);
@@ -198,7 +198,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
whats = i18n("<qt>A default value can be set for new entries.</qt>");
TQWhatsThis::add(label, whats);
TQWhatsThis::add(m_defaultEdit, whats);
- connect(m_defaultEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
+ connect(m_defaultEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
label = new TQLabel(i18n("A&llowed values:"), grid);
layout->addWidget(label, ++row, 0);
@@ -210,7 +210,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
"for example: \"dog; cat; mouse\"</qt>");
TQWhatsThis::add(label, whats);
TQWhatsThis::add(m_allowEdit, whats);
- connect(m_allowEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotModified()));
+ connect(m_allowEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotModified()));
label = new TQLabel(i18n("Extended &properties:"), grid);
layout->addWidget(label, ++row, 0);
@@ -221,7 +221,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
whats = i18n("Extended field properties are used to specify things such as the corresponding bibtex field.");
TQWhatsThis::add(label, whats);
TQWhatsThis::add(m_btnExtended, whats);
- connect(m_btnExtended, TQT_SIGNAL(clicked()), TQT_SLOT(slotShowExtendedProperties()));
+ connect(m_btnExtended, TQ_SIGNAL(clicked()), TQ_SLOT(slotShowExtendedProperties()));
TQButtonGroup* bg = new TQButtonGroup(1, TQt::Horizontal, i18n("Format Options"), vbox);
m_formatNone = new TQRadioButton(i18n("No formatting"), bg);
@@ -236,7 +236,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
m_formatName = new TQRadioButton(i18n("Format as a name"), bg);
TQWhatsThis::add(m_formatName, i18n("This option capitalizes and formats the field as a "
"name, but only if those options are globally set."));
- connect(bg, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotModified()));
+ connect(bg, TQ_SIGNAL(clicked(int)), TQ_SLOT(slotModified()));
TQGroupBox* optionsGroup = new TQGroupBox(1, TQt::Horizontal, i18n("Field Options"), vbox);
m_complete = new TQCheckBox(i18n("Enable auto-completion"), optionsGroup);
@@ -248,9 +248,9 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
m_grouped = new TQCheckBox(i18n("Allow grouping"), optionsGroup);
TQWhatsThis::add(m_grouped, i18n("If checked, this field may be used to group the entries in "
"the group view."));
- connect(m_complete, TQT_SIGNAL(clicked()), TQT_SLOT(slotModified()));
- connect(m_multiple, TQT_SIGNAL(clicked()), TQT_SLOT(slotModified()));
- connect(m_grouped, TQT_SIGNAL(clicked()), TQT_SLOT(slotModified()));
+ connect(m_complete, TQ_SIGNAL(clicked()), TQ_SLOT(slotModified()));
+ connect(m_multiple, TQ_SIGNAL(clicked()), TQ_SLOT(slotModified()));
+ connect(m_grouped, TQ_SIGNAL(clicked()), TQ_SLOT(slotModified()));
// need to stretch at bottom
vbox->setStretchFactor(new TQWidget(vbox), 1);
@@ -271,7 +271,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
// new types. The problem is that when more types are added, the size of the combo box
// doesn't change. So when everything is laid out, the combo box needs to have all the
// items there.
- TQTimer::singleShot(0, this, TQT_SLOT(slotSelectInitial()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotSelectInitial()));
}
CollectionFieldsDialog::~CollectionFieldsDialog() {