summaryrefslogtreecommitdiffstats
path: root/adept/libadept/sourceseditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'adept/libadept/sourceseditor.cpp')
-rw-r--r--adept/libadept/sourceseditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/adept/libadept/sourceseditor.cpp b/adept/libadept/sourceseditor.cpp
index 7874b9a..1423e4b 100644
--- a/adept/libadept/sourceseditor.cpp
+++ b/adept/libadept/sourceseditor.cpp
@@ -50,7 +50,7 @@ void SourcesEditor::newAdd()
void SourcesEditor::contextMenu( TQListViewItem *, const TQPoint &pt ) {
EntryItem *s = dynamic_cast< EntryItem * >( m_list->selectedItem() );
if (!s) return;
- KPopupMenu *m = new KPopupMenu (this);
+ TDEPopupMenu *m = new TDEPopupMenu (this);
m->insertItem( s->entry().enabled() ? i18n( "Disable" ) : i18n( "Enable" ), 0 );
m->insertItem( i18n( "Clone" ), 1 );
m->insertItem( i18n( "Remove" ), 2 );
@@ -146,7 +146,7 @@ void EntryItem::setText( int c, const TQString &_s )
if (c == 2) e.setDistribution( s );
if (c == 3) e.setComponents( s );
setEntry( e );
- KListViewItem::setText( c, _s ); // stop qlistview from looping infinitely
+ TDEListViewItem::setText( c, _s ); // stop qlistview from looping infinitely
}
void EntryItem::paintCell (TQPainter *p, const TQColorGroup &cg,
@@ -159,7 +159,7 @@ void EntryItem::paintCell (TQPainter *p, const TQColorGroup &cg,
if (!entry().enabled())
c = TQt::gray;
_cg.setColor( TQColorGroup::Text, c );
- KListViewItem::paintCell( &_p, _cg, column, width, AlignTop );
+ TDEListViewItem::paintCell( &_p, _cg, column, width, AlignTop );
p->drawPixmap( 0, 0, pm );
}