summaryrefslogtreecommitdiffstats
path: root/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:11:21 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:11:21 -0600
commitf537c21b68e08f649b1b297bce8f3904603137e0 (patch)
treefb33065387509dea898c90022ddec9c3f8ede86d /kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp
parentdc5f267664506a312203c26bfe9001a448b0bb0f (diff)
downloadtdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz
tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp')
-rw-r--r--kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp b/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp
index 3c8801e75..fb45b44ca 100644
--- a/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp
+++ b/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp
@@ -64,7 +64,7 @@ class CKFileFontView::CKFileFontViewPrivate
};
CKFileFontView::CKFileFontView(TQWidget *parent, const char *name)
- : KListView(parent, name),
+ : TDEListView(parent, name),
KFileView(),
d(new CKFileFontViewPrivate())
{
@@ -106,7 +106,7 @@ void CKFileFontView::setSelected(const KFileItem *info, bool enable)
CFontListViewItem *item = (CFontListViewItem*)info->extraData(this);
if (item)
- KListView::setSelected(item, enable);
+ TDEListView::setSelected(item, enable);
}
}
@@ -117,7 +117,7 @@ void CKFileFontView::setCurrentItem(const KFileItem *item)
CFontListViewItem *it = (CFontListViewItem*) item->extraData(this);
if (it)
- KListView::setCurrentItem(it);
+ TDEListView::setCurrentItem(it);
}
}
@@ -130,18 +130,18 @@ KFileItem * CKFileFontView::currentFileItem() const
void CKFileFontView::clearSelection()
{
- KListView::clearSelection();
+ TDEListView::clearSelection();
}
void CKFileFontView::selectAll()
{
if (KFile::NoSelection!=KFileView::selectionMode() && KFile::Single!=KFileView::selectionMode())
- KListView::selectAll(true);
+ TDEListView::selectAll(true);
}
void CKFileFontView::invertSelection()
{
- KListView::invertSelection();
+ TDEListView::invertSelection();
}
void CKFileFontView::slotActivateMenu(TQListViewItem *item,const TQPoint& pos)
@@ -158,7 +158,7 @@ void CKFileFontView::slotActivateMenu(TQListViewItem *item,const TQPoint& pos)
void CKFileFontView::clearView()
{
itsResolver->m_lstPendingMimeIconItems.clear();
- KListView::clear();
+ TDEListView::clear();
}
void CKFileFontView::insertItem(KFileItem *i)
@@ -357,8 +357,8 @@ void CKFileFontView::slotSortingChanged(int col)
i->setKey(sortingKey(i->text(itsSortingCol), item->isDir(), sortSpec));
}
- KListView::setSorting(itsSortingCol, !reversed);
- KListView::sort();
+ TDEListView::setSorting(itsSortingCol, !reversed);
+ TDEListView::sort();
if (!itsBlockSortingSignal)
sig->changeSorting( static_cast<TQDir::SortSpec>( sortSpec ) );
@@ -392,7 +392,7 @@ void CKFileFontView::ensureItemVisible(const KFileItem *i)
CFontListViewItem *item = (CFontListViewItem*) i->extraData(this);
if ( item )
- KListView::ensureItemVisible(item);
+ TDEListView::ensureItemVisible(item);
}
}
@@ -435,7 +435,7 @@ KFileItem * CKFileFontView::prevItem(const KFileItem *fileItem) const
void CKFileFontView::keyPressEvent(TQKeyEvent *e)
{
- KListView::keyPressEvent(e);
+ TDEListView::keyPressEvent(e);
if (Key_Return==e->key() || Key_Enter==e->key())
if (e->state() & ControlButton)
@@ -638,7 +638,7 @@ void CFontListViewItem::init()
void CKFileFontView::virtual_hook(int id, void *data)
{
- KListView::virtual_hook(id, data);
+ TDEListView::virtual_hook(id, data);
KFileView::virtual_hook(id, data);
}