summaryrefslogtreecommitdiffstats
path: root/parts/filecreate/filecreate_listitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
commitf78eb03afb8c9a380985d26286afc40b4c89b292 (patch)
tree3c087e2f119e645c902958c3bc3c802abf078ad0 /parts/filecreate/filecreate_listitem.cpp
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz
tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'parts/filecreate/filecreate_listitem.cpp')
-rw-r--r--parts/filecreate/filecreate_listitem.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/filecreate/filecreate_listitem.cpp b/parts/filecreate/filecreate_listitem.cpp
index 09dd0dc4..d792ab26 100644
--- a/parts/filecreate/filecreate_listitem.cpp
+++ b/parts/filecreate/filecreate_listitem.cpp
@@ -21,7 +21,7 @@
namespace FileCreate {
ListItem::ListItem(TQListView * listview, const FileType * filetype) :
- KListViewItem(listview), m_filetype(filetype),
+ TDEListViewItem(listview), m_filetype(filetype),
m_filetypeRenderer(NULL)
{
init();
@@ -29,7 +29,7 @@ namespace FileCreate {
ListItem::ListItem(ListItem * listitem, const FileType * filetype) :
- KListViewItem(listitem), m_filetype(filetype),
+ TDEListViewItem(listitem), m_filetype(filetype),
m_filetypeRenderer(NULL)
{
init();
@@ -46,12 +46,12 @@ namespace FileCreate {
m_filetypeRenderer = new TQSimpleRichText( text(1), listView()->font() );
m_filetypeRenderer->setWidth(listView()->columnWidth(1));
setHeight(m_filetypeRenderer->height());
- KListViewItem::setup();
+ TDEListViewItem::setup();
}
void ListItem::setHeight( int height )
{
- KListViewItem::setHeight( TQMAX(TQMAX(height,m_iconHeight), m_filetypeRenderer->height() ) );
+ TDEListViewItem::setHeight( TQMAX(TQMAX(height,m_iconHeight), m_filetypeRenderer->height() ) );
}
void ListItem::prepareResize() {
@@ -73,7 +73,7 @@ namespace FileCreate {
return;
}
- KListViewItem::paintCell( p, cg, column, width, align );
+ TDEListViewItem::paintCell( p, cg, column, width, align );
}
void ListItem::init()