diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:06:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:06:16 -0600 |
commit | 7717bcec2ad7d94e3f38a2e831bafa60a525f7d2 (patch) | |
tree | 77ffa8fe14318bb3a285cae65dbe622bcbbcb3f9 /src/entryupdater.cpp | |
parent | b5cff83092d97189b5a55e1a996995207bc3016c (diff) | |
download | tellico-7717bcec2ad7d94e3f38a2e831bafa60a525f7d2.tar.gz tellico-7717bcec2ad7d94e3f38a2e831bafa60a525f7d2.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/entryupdater.cpp')
-rw-r--r-- | src/entryupdater.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/entryupdater.cpp b/src/entryupdater.cpp index 846ca73..c30a97c 100644 --- a/src/entryupdater.cpp +++ b/src/entryupdater.cpp @@ -221,23 +221,23 @@ Tellico::EntryUpdater::UpdateResult EntryUpdater::askUser(ResultList results) { GUI::RichTextLabel* l = new GUI::RichTextLabel(s, hbox); hbox->setStretchFactor(l, 100); - KListView* view = new KListView(box); + TDEListView* view = new TDEListView(box); view->setShowSortIndicator(true); view->setAllColumnsShowFocus(true); view->setResizeMode(TQListView::AllColumns); view->setMinimumWidth(640); view->addColumn(i18n("Title")); view->addColumn(i18n("Description")); - TQMap<KListViewItem*, UpdateResult> map; + TQMap<TDEListViewItem*, UpdateResult> map; for(ResultList::Iterator res = results.begin(); res != results.end(); ++res) { - map.insert(new KListViewItem(view, (*res).first->fetchEntry()->title(), (*res).first->desc), *res); + map.insert(new TDEListViewItem(view, (*res).first->fetchEntry()->title(), (*res).first->desc), *res); } dlg.setMainWidget(box); if(dlg.exec() != TQDialog::Accepted) { return UpdateResult(0, false); } - KListViewItem* item = static_cast<KListViewItem*>(view->selectedItem()); + TDEListViewItem* item = static_cast<TDEListViewItem*>(view->selectedItem()); if(!item) { return UpdateResult(0, false); } |