diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
commit | a374efce3a207b39514be3c52264091400ce297e (patch) | |
tree | 77bdf654b55826d4f59b53a5621310206bcaead1 /kiten/configdictionaries.cpp | |
parent | f81a494f3957d5cf38c787973415597941934727 (diff) | |
download | tdeedu-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 'kiten/configdictionaries.cpp')
-rw-r--r-- | kiten/configdictionaries.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kiten/configdictionaries.cpp b/kiten/configdictionaries.cpp index 7829e44c..df1d4d87 100644 --- a/kiten/configdictionaries.cpp +++ b/kiten/configdictionaries.cpp @@ -26,8 +26,8 @@ #include "configdictionaries.moc" -ConfigDictionaries::ConfigDictionaries(TQWidget *parent, const char* name, WFlags f) : - ConfigDictionariesBase(parent, name, f) +ConfigDictionaries::ConfigDictionaries(TQWidget *tqparent, const char* name, WFlags f) : + ConfigDictionariesBase(tqparent, name, f) { changed = false; config = Config::self(); @@ -141,7 +141,7 @@ void ConfigDictionaries::slotDelSelKanjidic() { delSel(kanjidicList); } void ConfigDictionaries::add(KListView* list) { TQListViewItem *item = list->firstChild(); - TQString filename = KFileDialog::getOpenFileName(item? TQFileInfo(item->text(1)).dirPath(true).append("/") : TQString::null); + TQString filename = KFileDialog::getOpenFileName(item? TQFileInfo(item->text(1)).dirPath(true).append("/") : TQString()); TQString name = TQFileInfo(filename).fileName(); (void) new TQListViewItem(list, name, filename); |