diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:06:16 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:06:16 -0600 |
commit | 7717bcec2ad7d94e3f38a2e831bafa60a525f7d2 (patch) | |
tree | 77ffa8fe14318bb3a285cae65dbe622bcbbcb3f9 /src/entryiconview.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/entryiconview.cpp')
-rw-r--r-- | src/entryiconview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/entryiconview.cpp b/src/entryiconview.cpp index 5b8ea67..f08aa58 100644 --- a/src/entryiconview.cpp +++ b/src/entryiconview.cpp @@ -269,7 +269,7 @@ void EntryIconView::updateSelected(EntryIconViewItem* item_, bool s_) const { } void EntryIconView::slotShowContextMenu(TQIconViewItem* item_, const TQPoint& point_) { - KPopupMenu menu(this); + TDEPopupMenu menu(this); // only insert entry items if one is selected if(item_) { @@ -277,7 +277,7 @@ void EntryIconView::slotShowContextMenu(TQIconViewItem* item_, const TQPoint& po menu.insertSeparator(); } - KPopupMenu sortMenu(&menu); + TDEPopupMenu sortMenu(&menu); const TQStringList titles = m_coll->fieldTitles(); for(TQStringList::ConstIterator it = titles.begin(); it != titles.end(); ++it) { sortMenu.insertItem(*it); @@ -289,7 +289,7 @@ void EntryIconView::slotShowContextMenu(TQIconViewItem* item_, const TQPoint& po } void EntryIconView::slotSortMenuActivated(int id_) { - const KPopupMenu* menu = ::tqqt_cast<KPopupMenu*>(sender()); + const TDEPopupMenu* menu = ::tqqt_cast<TDEPopupMenu*>(sender()); if(menu) { TQString title = menu->text(id_); Data::FieldPtr f = m_coll->fieldByTitle(title); |