summaryrefslogtreecommitdiffstats
path: root/ksig
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-20 21:19:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-20 21:24:56 +0900
commit3f05f93dac700cf12dade9ae450eff6158650d23 (patch)
tree0c153c6919c98967aeab38ab376b18635a01e1b3 /ksig
parent462e806771b84412c051d43bad117c3dde7ce5e5 (diff)
downloadtdeaddons-3f05f93dac700cf12dade9ae450eff6158650d23.tar.gz
tdeaddons-3f05f93dac700cf12dade9ae450eff6158650d23.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksig')
-rw-r--r--ksig/ksig.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/ksig/ksig.cpp b/ksig/ksig.cpp
index 38d31c1..1b88165 100644
--- a/ksig/ksig.cpp
+++ b/ksig/ksig.cpp
@@ -63,18 +63,18 @@ KSig::~KSig()
void KSig::setupActions()
{
- KStdAction::openNew(TQT_TQOBJECT(this), TQT_SLOT(add()), actionCollection());
- new TDEAction(i18n("Remove"), "edit-delete", 0, TQT_TQOBJECT(this), TQT_SLOT(remove()), actionCollection(), "remove");
- KStdAction::save(TQT_TQOBJECT(this), TQT_SLOT(save()), actionCollection());
- KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(quit()), actionCollection());
-
- KStdAction::cut(TQT_TQOBJECT(kapp), TQT_SLOT(cut()), actionCollection());
- KStdAction::copy(TQT_TQOBJECT(kapp), TQT_SLOT(copy()), actionCollection());
- KStdAction::paste(TQT_TQOBJECT(kapp), TQT_SLOT(paste()), actionCollection());
- new TDEAction(i18n("C&lear"), "edit-clear", 0, TQT_TQOBJECT(kapp), TQT_SLOT(clear()), actionCollection(), "clear");
-
- new TDEAction(i18n("Edit Standard Header"), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(editHeader()), actionCollection(), "editHeader");
- new TDEAction(i18n("Edit Standard Footer"), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(editFooter()), actionCollection(), "editFooter");
+ KStdAction::openNew(this, TQT_SLOT(add()), actionCollection());
+ new TDEAction(i18n("Remove"), "edit-delete", 0, this, TQT_SLOT(remove()), actionCollection(), "remove");
+ KStdAction::save(this, TQT_SLOT(save()), actionCollection());
+ KStdAction::quit(this, TQT_SLOT(quit()), actionCollection());
+
+ KStdAction::cut(kapp, TQT_SLOT(cut()), actionCollection());
+ KStdAction::copy(kapp, TQT_SLOT(copy()), actionCollection());
+ KStdAction::paste(kapp, TQT_SLOT(paste()), actionCollection());
+ new TDEAction(i18n("C&lear"), "edit-clear", 0, kapp, TQT_SLOT(clear()), actionCollection(), "clear");
+
+ new TDEAction(i18n("Edit Standard Header"), 0, 0, this, TQT_SLOT(editHeader()), actionCollection(), "editHeader");
+ new TDEAction(i18n("Edit Standard Footer"), 0, 0, this, TQT_SLOT(editFooter()), actionCollection(), "editFooter");
}
void KSig::setupLayout()
@@ -96,9 +96,9 @@ void KSig::setupLayout()
statusBar()->show();
updateListLock = false;
- connect(sigEdit, TQT_SIGNAL(textChanged()), TQT_TQOBJECT(this), TQT_SLOT(updateList()));
- connect(sigList, TQT_SIGNAL(selectionChanged()), TQT_TQOBJECT(this), TQT_SLOT(updateEdit()));
- connect(sigEdit, TQT_SIGNAL(cursorPositionChanged(int,int)), TQT_TQOBJECT(this), TQT_SLOT(updateStatus(int,int)));
+ connect(sigEdit, TQT_SIGNAL(textChanged()), this, TQT_SLOT(updateList()));
+ connect(sigList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(updateEdit()));
+ connect(sigEdit, TQT_SIGNAL(cursorPositionChanged(int,int)), this, TQT_SLOT(updateStatus(int,int)));
}
void KSig::setupSearchLine()
@@ -222,7 +222,7 @@ void KSig::editHeader()
t->setLabel(i18n("Standard signature header:"));
t->setText(header);
- connect(t, TQT_SIGNAL(textUpdated(const TQString &)), TQT_TQOBJECT(this), TQT_SLOT(setHeader(const TQString &)));
+ connect(t, TQT_SIGNAL(textUpdated(const TQString &)), this, TQT_SLOT(setHeader(const TQString &)));
t->exec();
}
@@ -233,7 +233,7 @@ void KSig::editFooter()
t->setLabel(i18n("Standard signature footer:"));
t->setText(footer);
- connect(t, TQT_SIGNAL(textUpdated(const TQString &)), TQT_TQOBJECT(this), TQT_SLOT(setFooter(const TQString &)));
+ connect(t, TQT_SIGNAL(textUpdated(const TQString &)), this, TQT_SLOT(setFooter(const TQString &)));
t->exec();
}