summaryrefslogtreecommitdiffstats
path: root/tdefilereplace/tdefilereplaceview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:16:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:16:01 -0600
commit9771f17f8cc5252b12ec5f3edf47ff9bffdf997f (patch)
treeb9e389db87bdba126010d03fb5bccdc748d0e6fa /tdefilereplace/tdefilereplaceview.cpp
parent9930e16dde86b7de9b792613d826f4f8648b9768 (diff)
downloadtdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.tar.gz
tdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'tdefilereplace/tdefilereplaceview.cpp')
-rw-r--r--tdefilereplace/tdefilereplaceview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdefilereplace/tdefilereplaceview.cpp b/tdefilereplace/tdefilereplaceview.cpp
index b7a8c6be..ffefd154 100644
--- a/tdefilereplace/tdefilereplaceview.cpp
+++ b/tdefilereplace/tdefilereplaceview.cpp
@@ -99,7 +99,7 @@ void KFileReplaceView::stringsInvert(bool invertAll)
{
TQListViewItem* lviCurItem,
* lviFirst;
- KListView* sv = getStringsView();
+ TDEListView* sv = getStringsView();
if(invertAll)
lviCurItem = lviFirst = sv->firstChild();
@@ -149,7 +149,7 @@ void KFileReplaceView::changeView(bool searchingOnlyMode)
}
}
-KListView* KFileReplaceView::getResultsView()
+TDEListView* KFileReplaceView::getResultsView()
{
if(m_option->m_searchingOnlyMode)
m_rv = m_lvResults_2;
@@ -159,7 +159,7 @@ KListView* KFileReplaceView::getResultsView()
return m_rv;
}
-KListView* KFileReplaceView::getStringsView()
+TDEListView* KFileReplaceView::getStringsView()
{
if(m_option->m_searchingOnlyMode)
m_sv = m_lvStrings_2;
@@ -177,7 +177,7 @@ void KFileReplaceView::slotMouseButtonClicked (int button, TQListViewItem *lvi,
// RIGHT BUTTON
if (button == Qt::RightButton)
{
- m_lviCurrent = static_cast<KListViewItem*>(lvi);
+ m_lviCurrent = static_cast<TDEListViewItem*>(lvi);
m_menuResult->popup(pos);
}
}
@@ -394,7 +394,7 @@ void KFileReplaceView::slotStringsEdit()
void KFileReplaceView::slotStringsSave()
{
// Check there are strings in the list
- KListView* sv = getStringsView();
+ TDEListView* sv = getStringsView();
if (sv->firstChild() == 0)
{
@@ -494,7 +494,7 @@ void KFileReplaceView::initGUI()
}
}
- m_menuResult = new KPopupMenu(this, "ResultPopup");
+ m_menuResult = new TDEPopupMenu(this, "ResultPopup");