summaryrefslogtreecommitdiffstats
path: root/src/modules/reguser/edituser.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-28 21:15:50 +0900
committerMichele Calgaro <[email protected]>2024-01-01 20:33:17 +0900
commit677dae3bd35bd025d338292a296632d3d2f183e4 (patch)
treea5a9e2839e3a8045686adf8f52a02e4a6b0eb740 /src/modules/reguser/edituser.cpp
parent0066e291146de702674fb38a0a2428db405698b0 (diff)
downloadkvirc-677dae3bd35bd025d338292a296632d3d2f183e4.tar.gz
kvirc-677dae3bd35bd025d338292a296632d3d2f183e4.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 209ac1e561619ff446be4b3411ed74e59fff168e)
Diffstat (limited to 'src/modules/reguser/edituser.cpp')
-rw-r--r--src/modules/reguser/edituser.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/modules/reguser/edituser.cpp b/src/modules/reguser/edituser.cpp
index 6a82fa7e..2da4c6f9 100644
--- a/src/modules/reguser/edituser.cpp
+++ b/src/modules/reguser/edituser.cpp
@@ -92,18 +92,18 @@ KviReguserPropertiesDialog::KviReguserPropertiesDialog(TQWidget * p,KviPointerHa
m_pTable->horizontalHeader()->setLabel(1,__tr2qs("Value"));
m_pTable->setMinimumSize(250,250);
- //connect(m_pTable,TQT_SIGNAL(valueChanged(int,int)),this,TQT_SLOT(propertyValueChanged(int,int)));
+ //connect(m_pTable,TQ_SIGNAL(valueChanged(int,int)),this,TQ_SLOT(propertyValueChanged(int,int)));
KviTalVBox * vb = new KviTalVBox(this);
vb->setSpacing(4);
g->addWidget(vb,0,2);
m_pAddButton = new TQPushButton(__tr2qs("&New"),vb);
- connect(m_pAddButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(addClicked()));
+ connect(m_pAddButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(addClicked()));
m_pAddButton->setIconSet(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_NEWITEM)));
m_pDelButton = new TQPushButton(__tr2qs("&Remove"),vb);
- connect(m_pDelButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(delClicked()));
+ connect(m_pDelButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(delClicked()));
m_pDelButton->setIconSet(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_DELETEITEM)));
KviTalHBox * b = new KviTalHBox(this);
@@ -111,12 +111,12 @@ KviReguserPropertiesDialog::KviReguserPropertiesDialog(TQWidget * p,KviPointerHa
g->addMultiCellWidget(b,2,2,1,2);
TQPushButton * pb = new TQPushButton(__tr2qs("&OK"),b);
- connect(pb,TQT_SIGNAL(clicked()),this,TQT_SLOT(okClicked()));
+ connect(pb,TQ_SIGNAL(clicked()),this,TQ_SLOT(okClicked()));
pb->setIconSet(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_ACCEPT)));
pb = new TQPushButton(__tr2qs("Cancel"),b);
- connect(pb,TQT_SIGNAL(clicked()),this,TQT_SLOT(reject()));
+ connect(pb,TQ_SIGNAL(clicked()),this,TQ_SLOT(reject()));
pb->setIconSet(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_DISCARD)));
g->setRowStretch(1,1);
@@ -255,11 +255,11 @@ KviReguserMaskDialog::KviReguserMaskDialog(TQWidget * p,KviIrcMask * m)
g->addWidget(b,2,1);
TQPushButton * pb = new TQPushButton(__tr2qs("&OK"),b);
- connect(pb,TQT_SIGNAL(clicked()),this,TQT_SLOT(okClicked()));
+ connect(pb,TQ_SIGNAL(clicked()),this,TQ_SLOT(okClicked()));
//pb->setMinimumWidth(120);
pb = new TQPushButton(__tr2qs("Cancel"),b);
- connect(pb,TQT_SIGNAL(clicked()),this,TQT_SLOT(reject()));
+ connect(pb,TQ_SIGNAL(clicked()),this,TQ_SLOT(reject()));
//pb->setMinimumWidth(120);
@@ -346,7 +346,7 @@ KviRegisteredUserEntryDialog::KviRegisteredUserEntryDialog(TQWidget *p,KviRegist
g->addMultiCellWidget(l,3,3,0,1);
m_pMaskListBox = new KviTalListBox(p1);
- connect(m_pMaskListBox,TQT_SIGNAL(currentChanged(KviTalListBoxItem *)),this,TQT_SLOT(maskCurrentChanged(KviTalListBoxItem *)));
+ connect(m_pMaskListBox,TQ_SIGNAL(currentChanged(KviTalListBoxItem *)),this,TQ_SLOT(maskCurrentChanged(KviTalListBoxItem *)));
m_pMaskListBox->setMinimumSize(300,200);
g->addMultiCellWidget(m_pMaskListBox,4,4,0,1);
@@ -356,17 +356,17 @@ KviRegisteredUserEntryDialog::KviRegisteredUserEntryDialog(TQWidget *p,KviRegist
b->setSpacing(4);
m_pAddMaskButton = new TQPushButton(__tr2qs("&Add..."),b);
- connect(m_pAddMaskButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(addMaskClicked()));
+ connect(m_pAddMaskButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(addMaskClicked()));
m_pAddMaskButton->setIconSet(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_NEWITEM)));
m_pDelMaskButton = new TQPushButton(__tr2qs("Re&move"),b);
m_pDelMaskButton->setEnabled(false);
- connect(m_pDelMaskButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(delMaskClicked()));
+ connect(m_pDelMaskButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(delMaskClicked()));
m_pDelMaskButton->setIconSet(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_DELETEITEM)));
m_pEditMaskButton = new TQPushButton(__tr2qs("&Edit"),b);
m_pEditMaskButton->setEnabled(false);
- connect(m_pEditMaskButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(editMaskClicked()));
+ connect(m_pEditMaskButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(editMaskClicked()));
m_pEditMaskButton->setIconSet(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_EDITITEM)));
g->setRowStretch(4,1);
@@ -386,7 +386,7 @@ KviRegisteredUserEntryDialog::KviRegisteredUserEntryDialog(TQWidget *p,KviRegist
l = new TQLabel(__tr2qs("Notify nicknames:"),p2);
l->setEnabled(m_pNotifyCheck->isChecked());
g->addWidget(l,1,0);
- connect(m_pNotifyCheck,TQT_SIGNAL(toggled(bool)),l,TQT_SLOT(setEnabled(bool)));
+ connect(m_pNotifyCheck,TQ_SIGNAL(toggled(bool)),l,TQ_SLOT(setEnabled(bool)));
#ifdef COMPILE_INFO_TIPS
TQToolTip::add(m_pNotifyCheck,__tr2qs("<center>You can enter a space separated list of nicknames.</center>"));
#endif
@@ -395,7 +395,7 @@ KviRegisteredUserEntryDialog::KviRegisteredUserEntryDialog(TQWidget *p,KviRegist
m_pNotifyNick = new TQLineEdit(p2);
m_pNotifyNick->setEnabled(false);
g->addMultiCellWidget(m_pNotifyNick,1,1,1,2);
- connect(m_pNotifyCheck,TQT_SIGNAL(toggled(bool)),m_pNotifyNick,TQT_SLOT(setEnabled(bool)));
+ connect(m_pNotifyCheck,TQ_SIGNAL(toggled(bool)),m_pNotifyNick,TQ_SLOT(setEnabled(bool)));
f = new TQFrame(p2);
@@ -429,7 +429,7 @@ KviRegisteredUserEntryDialog::KviRegisteredUserEntryDialog(TQWidget *p,KviRegist
g->addWidget(m_pCustomColorSelector,5,2);
TQPushButton * pb = new TQPushButton(__tr2qs("All Properties..."),p2);
- connect(pb,TQT_SIGNAL(clicked()),this,TQT_SLOT(editAllPropertiesClicked()));
+ connect(pb,TQ_SIGNAL(clicked()),this,TQ_SLOT(editAllPropertiesClicked()));
g->addWidget(pb,6,2);
g->setColStretch(1,1);
@@ -444,7 +444,7 @@ KviRegisteredUserEntryDialog::KviRegisteredUserEntryDialog(TQWidget *p,KviRegist
m_pIgnoreEnabled = new KviStyledCheckBox(__tr2qs("Enable ignore for this user"),vb);
TQGroupBox * gb = new TQGroupBox(__tr2qs("Ignore features"),vb);
- connect(m_pIgnoreEnabled,TQT_SIGNAL(toggled(bool)),gb,TQT_SLOT(setEnabled(bool)));
+ connect(m_pIgnoreEnabled,TQ_SIGNAL(toggled(bool)),gb,TQ_SLOT(setEnabled(bool)));
TQVBoxLayout * layout = new TQVBoxLayout(gb,20,3);
@@ -473,8 +473,8 @@ KviRegisteredUserEntryDialog::KviRegisteredUserEntryDialog(TQWidget *p,KviRegist
setCancelButton(__tr2qs("Cancel"));
setOkButton(__tr2qs("&OK"));
- connect(this,TQT_SIGNAL(applyButtonPressed()),this,TQT_SLOT(okClicked()));
- connect(this,TQT_SIGNAL(cancelButtonPressed()),this,TQT_SLOT(reject()));
+ connect(this,TQ_SIGNAL(applyButtonPressed()),this,TQ_SLOT(okClicked()));
+ connect(this,TQ_SIGNAL(cancelButtonPressed()),this,TQ_SLOT(reject()));
if(r)
{