diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:02:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:02:43 -0600 |
commit | aea627236e4de24599c3e30617cf264c3c1b7d40 (patch) | |
tree | 467e13ca5a7eb0ab292259289ecc3572f53c5eae /kugar/kudesigner_lib/structurewidget.cpp | |
parent | 786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff) | |
download | koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kugar/kudesigner_lib/structurewidget.cpp')
-rw-r--r-- | kugar/kudesigner_lib/structurewidget.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kugar/kudesigner_lib/structurewidget.cpp b/kugar/kudesigner_lib/structurewidget.cpp index 01b4289e..a78db689 100644 --- a/kugar/kudesigner_lib/structurewidget.cpp +++ b/kugar/kudesigner_lib/structurewidget.cpp @@ -42,14 +42,14 @@ namespace Kudesigner using namespace KoProperty; -class StructureItem: public KListViewItem +class StructureItem: public TDEListViewItem { public: - StructureItem( KListView *parent, const TQString &name ) - : KListViewItem( parent, name ), m_bold( false ) + StructureItem( TDEListView *parent, const TQString &name ) + : TDEListViewItem( parent, name ), m_bold( false ) {} - StructureItem( KListViewItem *parent, const TQString &name ) - : KListViewItem( parent, name ), m_bold( false ) + StructureItem( TDEListViewItem *parent, const TQString &name ) + : TDEListViewItem( parent, name ), m_bold( false ) {} void setBold( bool b ) { @@ -68,7 +68,7 @@ public: f.setWeight( 75 ); p->setFont( f ); } - KListViewItem::paintCell( p, cg, column, width, align ); + TDEListViewItem::paintCell( p, cg, column, width, align ); } private: @@ -76,7 +76,7 @@ private: }; StructureWidget::StructureWidget( TQWidget* parent, const char* name ) - : KListView( parent, name ) + : TDEListView( parent, name ) { setFullWidth( true ); addColumn( tr( "Report Structure" ) ); |