diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:12:18 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:12:18 -0600 |
commit | ee52bb567f32fefdcf06e083c76562ea40ccf174 (patch) | |
tree | 8926667faaed3a18bec210ec14ffb9392ea8930d /kiten/configdictionaries.cpp | |
parent | 088cc453ec425bf86d610880d09645ea166a14fa (diff) | |
download | tdeedu-ee52bb567f32fefdcf06e083c76562ea40ccf174.tar.gz tdeedu-ee52bb567f32fefdcf06e083c76562ea40ccf174.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kiten/configdictionaries.cpp')
-rw-r--r-- | kiten/configdictionaries.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kiten/configdictionaries.cpp b/kiten/configdictionaries.cpp index 1df5a36b..e6ec117d 100644 --- a/kiten/configdictionaries.cpp +++ b/kiten/configdictionaries.cpp @@ -76,7 +76,7 @@ void ConfigDictionaries::writeDictionaries() void ConfigDictionaries::readDictionaryList(const TQString& group) { - KListView* list; + TDEListView* list; TQStringList names; if (group == "edict") { @@ -104,7 +104,7 @@ void ConfigDictionaries::readDictionaryList(const TQString& group) void ConfigDictionaries::writeDictionaryList(const TQString& group) { - KListView* list; + TDEListView* list; if (group == "edict") list = edictList; else //if (group == "kanjidic") @@ -138,7 +138,7 @@ void ConfigDictionaries::slotDelSelEdict() { delSel(edictList); } void ConfigDictionaries::slotAddKanjidic() { add(kanjidicList); } void ConfigDictionaries::slotDelSelKanjidic() { delSel(kanjidicList); } -void ConfigDictionaries::add(KListView* list) +void ConfigDictionaries::add(TDEListView* list) { TQListViewItem *item = list->firstChild(); TQString filename = KFileDialog::getOpenFileName(item? TQFileInfo(item->text(1)).dirPath(true).append("/") : TQString()); @@ -149,7 +149,7 @@ void ConfigDictionaries::add(KListView* list) emit widgetChanged(); } -void ConfigDictionaries::delSel(KListView* list) +void ConfigDictionaries::delSel(TDEListView* list) { TQListViewItem *file = list->selectedItem(); if (!file) |