summaryrefslogtreecommitdiffstats
path: root/kanagram/src/vocabsettings.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kanagram/src/vocabsettings.cpp
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kanagram/src/vocabsettings.cpp')
-rw-r--r--kanagram/src/vocabsettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kanagram/src/vocabsettings.cpp b/kanagram/src/vocabsettings.cpp
index 730f9216..97d05162 100644
--- a/kanagram/src/vocabsettings.cpp
+++ b/kanagram/src/vocabsettings.cpp
@@ -16,7 +16,7 @@
#include "keduvocdocument.h"
#include "kanagramsettings.h"
-VocabSettings::VocabSettings(TQWidget *parent) : VocabSettingsWidget(parent)
+VocabSettings::VocabSettings(TQWidget *tqparent) : VocabSettingsWidget(tqparent)
{
connect(btnCreateNew, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCreateNew()));
connect(btnEdit, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEdit()));
@@ -37,7 +37,7 @@ void VocabSettings::refreshView()
m_fileList = KGlobal::dirs()->findAllResources("appdata", "data/" + KanagramSettings::dataLanguage() + "/" + "*.kvtml");
for(uint i = 0; i < m_fileList.size(); i++)
{
- KEduVocDocument *doc = new KEduVocDocument(this);
+ KEduVocDocument *doc = new KEduVocDocument(TQT_TQOBJECT(this));
doc->open(KURL(m_fileList[i]), false);
TQListViewItem *item = new TQListViewItem(lviewVocab, 0);
item->setText( 0, doc->getTitle() );