diff options
Diffstat (limited to 'kanagram')
-rw-r--r-- | kanagram/src/vocabedit.cpp | 6 | ||||
-rw-r--r-- | kanagram/src/vocabsettings.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
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(); diff --git a/kanagram/src/vocabsettings.cpp b/kanagram/src/vocabsettings.cpp index 77b21966..d965abd5 100644 --- a/kanagram/src/vocabsettings.cpp +++ b/kanagram/src/vocabsettings.cpp @@ -37,7 +37,7 @@ void VocabSettings::refreshView() m_fileList = TDEGlobal::dirs()->findAllResources("appdata", "data/" + KanagramSettings::dataLanguage() + "/" + "*.kvtml"); for(uint i = 0; i < m_fileList.size(); i++) { - KEduVocDocument *doc = new KEduVocDocument(TQT_TQOBJECT(this)); + KEduVocDocument *doc = new KEduVocDocument(this); doc->open(KURL(m_fileList[i]), false); TQListViewItem *item = new TQListViewItem(lviewVocab, 0); item->setText( 0, doc->getTitle() ); |