summaryrefslogtreecommitdiffstats
path: root/konversation/src/identitydialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konversation/src/identitydialog.cpp')
-rw-r--r--konversation/src/identitydialog.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/konversation/src/identitydialog.cpp b/konversation/src/identitydialog.cpp
index 33f3a83..8807c1c 100644
--- a/konversation/src/identitydialog.cpp
+++ b/konversation/src/identitydialog.cpp
@@ -61,22 +61,22 @@ namespace Konversation
TQToolButton* newBtn = new TQToolButton(mainWidget);
newBtn->setIconSet(SmallIconSet("add"));
newBtn->setTextLabel(i18n("Add"));
- connect(newBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(newIdentity()));
+ connect(newBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(newIdentity()));
TQToolButton* copyBtn = new TQToolButton(mainWidget);
copyBtn->setIconSet(SmallIconSet("edit-copy"));
copyBtn->setTextLabel(i18n("Duplicate"));
- connect(copyBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(copyIdentity()));
+ connect(copyBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(copyIdentity()));
m_editBtn = new TQToolButton(mainWidget);
m_editBtn->setIconSet(SmallIconSet("edit"));
m_editBtn->setTextLabel(i18n("Rename"));
- connect(m_editBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(renameIdentity()));
+ connect(m_editBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(renameIdentity()));
m_delBtn = new TQToolButton(mainWidget);
m_delBtn->setIconSet(SmallIconSet("edit-delete"));
m_delBtn->setTextLabel(i18n("Remove"));
- connect(m_delBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(deleteIdentity()));
+ connect(m_delBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(deleteIdentity()));
TQTabWidget* tabWidget = new TQTabWidget(mainWidget);
TQWidget* generalWidget = new TQWidget(tabWidget);
@@ -108,12 +108,12 @@ namespace Konversation
m_downNicknameBtn->setAutoRepeat(true);
m_downNicknameBtn->setEnabled(false);
- connect(m_addNicknameBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(addNickname()));
- connect(m_changeNicknameBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(editNickname()));
- connect(m_removeNicknameBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(deleteNickname()));
- connect(m_nicknameLBox, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(updateButtons()));
- connect(m_upNicknameBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(moveNicknameUp()));
- connect(m_downNicknameBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(moveNicknameDown()));
+ connect(m_addNicknameBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(addNickname()));
+ connect(m_changeNicknameBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(editNickname()));
+ connect(m_removeNicknameBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(deleteNickname()));
+ connect(m_nicknameLBox, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(updateButtons()));
+ connect(m_upNicknameBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(moveNicknameUp()));
+ connect(m_downNicknameBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(moveNicknameDown()));
nicknameLayout->setColStretch(0, 10);
nicknameLayout->setRowStretch(4, 10);
@@ -180,10 +180,10 @@ namespace Konversation
m_automaticUnawayChBox = new TQCheckBox(i18n("Automatically return on activity"), m_automaticAwayGBox);
TQWhatsThis::add(m_automaticUnawayChBox, i18n("If you check this box, Konversation will automatically cancel away for all connections using this Identity when the screensaver stops or new user activity is detected."));
- connect(m_automaticAwayGBox, TQT_SIGNAL(toggled(bool)), autoAwayLabel1, TQT_SLOT(setEnabled(bool)));
- connect(m_automaticAwayGBox, TQT_SIGNAL(toggled(bool)), autoAwayLabel2, TQT_SLOT(setEnabled(bool)));
- connect(m_automaticAwayGBox, TQT_SIGNAL(toggled(bool)), m_awayInactivitySpin, TQT_SLOT(setEnabled(bool)));
- connect(m_automaticAwayGBox, TQT_SIGNAL(toggled(bool)), m_automaticUnawayChBox, TQT_SLOT(setEnabled(bool)));
+ connect(m_automaticAwayGBox, TQ_SIGNAL(toggled(bool)), autoAwayLabel1, TQ_SLOT(setEnabled(bool)));
+ connect(m_automaticAwayGBox, TQ_SIGNAL(toggled(bool)), autoAwayLabel2, TQ_SLOT(setEnabled(bool)));
+ connect(m_automaticAwayGBox, TQ_SIGNAL(toggled(bool)), m_awayInactivitySpin, TQ_SLOT(setEnabled(bool)));
+ connect(m_automaticAwayGBox, TQ_SIGNAL(toggled(bool)), m_automaticUnawayChBox, TQ_SLOT(setEnabled(bool)));
row = 0;
automaticAwayLayout->addWidget(autoAwayLabel1, row, 0);
@@ -210,10 +210,10 @@ namespace Konversation
m_unAwayEdit = new KLineEdit(m_awayMessageGBox);
unAwayLabel->setBuddy(m_unAwayEdit);
- connect(m_awayMessageGBox, TQT_SIGNAL(toggled(bool)), awayLabel, TQT_SLOT(setEnabled(bool)));
- connect(m_awayMessageGBox, TQT_SIGNAL(toggled(bool)), m_awayEdit, TQT_SLOT(setEnabled(bool)));
- connect(m_awayMessageGBox, TQT_SIGNAL(toggled(bool)), unAwayLabel, TQT_SLOT(setEnabled(bool)));
- connect(m_awayMessageGBox, TQT_SIGNAL(toggled(bool)), m_unAwayEdit, TQT_SLOT(setEnabled(bool)));
+ connect(m_awayMessageGBox, TQ_SIGNAL(toggled(bool)), awayLabel, TQ_SLOT(setEnabled(bool)));
+ connect(m_awayMessageGBox, TQ_SIGNAL(toggled(bool)), m_awayEdit, TQ_SLOT(setEnabled(bool)));
+ connect(m_awayMessageGBox, TQ_SIGNAL(toggled(bool)), unAwayLabel, TQ_SLOT(setEnabled(bool)));
+ connect(m_awayMessageGBox, TQ_SIGNAL(toggled(bool)), m_unAwayEdit, TQ_SLOT(setEnabled(bool)));
row = 0;
messagesLayout->addWidget(awayLabel, row, 0);
@@ -307,13 +307,13 @@ namespace Konversation
updateIdentity(0);
// Set up signals / slots for identity page
- connect(m_identityCBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(updateIdentity(int)));
+ connect(m_identityCBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(updateIdentity(int)));
setButtonOK(KGuiItem(i18n("&OK"), "button_ok", i18n("Change identity information")));
setButtonCancel(KGuiItem(i18n("&Cancel"), "button_cancel", i18n("Discards all changes made")));
AwayManager* awayManager = static_cast<KonversationApplication*>(kapp)->getAwayManager();
- connect(this, TQT_SIGNAL(identitiesChanged()), awayManager, TQT_SLOT(identitiesChanged()));
+ connect(this, TQ_SIGNAL(identitiesChanged()), awayManager, TQ_SLOT(identitiesChanged()));
}
IdentityDialog::~IdentityDialog()