From 5446eb7150897a6fb453a7246d7d09ddd8d2bc69 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 20 Dec 2023 22:30:18 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit cf40f006901966bdf86163dbe5d1c7cb55f099ec) --- kanagram/src/vocabedit.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kanagram/src/vocabedit.cpp') diff --git a/kanagram/src/vocabedit.cpp b/kanagram/src/vocabedit.cpp index b36a3454..77002048 100644 --- a/kanagram/src/vocabedit.cpp +++ b/kanagram/src/vocabedit.cpp @@ -46,7 +46,7 @@ VocabEdit::VocabEdit(TQWidget *parent, TQString fileName) : VocabEditWidget(pare if(fileName != "") { m_fileName = fileName; - KEduVocDocument *doc = new KEduVocDocument(TQT_TQOBJECT(this)); + KEduVocDocument *doc = new KEduVocDocument(this); doc->open(KURL(m_fileName), false); for(int i = 0; i < doc->numEntries(); i++) { @@ -83,7 +83,7 @@ VocabEdit::~VocabEdit() void VocabEdit::slotSave() { - KEduVocDocument *doc = new KEduVocDocument(TQT_TQOBJECT(this)); + KEduVocDocument *doc = new KEduVocDocument(this); doc->setTitle(txtVocabName->text()); doc->setDocRemark(txtDescription->text()); for(uint i = 0; i < m_vocabList.size(); i++) @@ -100,7 +100,7 @@ void VocabEdit::slotSave() { fileName = m_fileName; } - doc->saveAs(TQT_TQOBJECT(this), KURL(fileName), KEduVocDocument::automatic, "kanagram"); + doc->saveAs(this, KURL(fileName), KEduVocDocument::automatic, "kanagram"); VocabSettings *settings = (VocabSettings*)this->parentWidget(); settings->refreshView(); -- cgit v1.2.1