summaryrefslogtreecommitdiffstats
path: root/parts/tools
diff options
context:
space:
mode:
Diffstat (limited to 'parts/tools')
-rw-r--r--parts/tools/kapplicationtree.cpp6
-rw-r--r--parts/tools/kapplicationtree.h4
-rw-r--r--parts/tools/tools_part.cpp8
3 files changed, 9 insertions, 9 deletions
diff --git a/parts/tools/kapplicationtree.cpp b/parts/tools/kapplicationtree.cpp
index 287e5b40..d035a185 100644
--- a/parts/tools/kapplicationtree.cpp
+++ b/parts/tools/kapplicationtree.cpp
@@ -65,7 +65,7 @@ template class TQPtrList<TQString>;
// ----------------------------------------------------------------------
-KDevAppTreeListItem::KDevAppTreeListItem( KListView* parent, const TQString & name,
+KDevAppTreeListItem::KDevAppTreeListItem( TDEListView* parent, const TQString & name,
const TQPixmap& pixmap, bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE )
: TQListViewItem( parent, name )
{
@@ -132,7 +132,7 @@ bool KDevAppTreeListItem::isDirectory()
// ----------------------------------------------------------------------
KDevApplicationTree::KDevApplicationTree( TQWidget *parent, const char* name )
- : KListView( parent, name ), currentitem(0)
+ : TDEListView( parent, name ), currentitem(0)
{
addColumn( i18n("Known Applications") );
setRootIsDecorated( true );
@@ -249,7 +249,7 @@ void KDevApplicationTree::slotSelectionChanged(TQListViewItem* i)
void KDevApplicationTree::resizeEvent( TQResizeEvent * e)
{
setColumnWidth(0, width()-TQApplication::style().pixelMetric(TQStyle::PM_ScrollBarExtent));
- KListView::resizeEvent(e);
+ TDEListView::resizeEvent(e);
}
diff --git a/parts/tools/kapplicationtree.h b/parts/tools/kapplicationtree.h
index 4e76dab8..864ab1a0 100644
--- a/parts/tools/kapplicationtree.h
+++ b/parts/tools/kapplicationtree.h
@@ -50,7 +50,7 @@ protected:
void init(const TQPixmap& pixmap, bool parse, bool dir, const TQString& _path, const TQString& _exec, const TQString& _dEntry);
public:
- KDevAppTreeListItem( KListView* parent, const TQString & name, const TQPixmap& pixmap,
+ KDevAppTreeListItem( TDEListView* parent, const TQString & name, const TQPixmap& pixmap,
bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE );
KDevAppTreeListItem( TQListViewItem* parent, const TQString & name, const TQPixmap& pixmap,
bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE );
@@ -71,7 +71,7 @@ protected:
/**
* @internal
*/
-class KDevApplicationTree : public KListView
+class KDevApplicationTree : public TDEListView
{
Q_OBJECT
diff --git a/parts/tools/tools_part.cpp b/parts/tools/tools_part.cpp
index 28af7745..50ff0230 100644
--- a/parts/tools/tools_part.cpp
+++ b/parts/tools/tools_part.cpp
@@ -86,7 +86,7 @@ void ToolsPart::insertConfigWidget( const KDialogBase * dlg, TQWidget * page, un
void ToolsPart::updateMenu()
{
- TQPtrList<KAction> actions;
+ TQPtrList<TDEAction> actions;
unplugActionList("tools_list");
@@ -102,7 +102,7 @@ void ToolsPart::updateMenu()
if (df.readName().isNull())
continue;
- KAction *action = new KAction(df.readName(), df.readIcon(), 0,
+ TDEAction *action = new TDEAction(df.readName(), df.readIcon(), 0,
this, TQT_SLOT(slotToolActivated()), (TQObject*)0, name.latin1());
actions.append(action);
}
@@ -172,14 +172,14 @@ void ToolsPart::updateToolsMenu()
TQStringList l = config->readListEntry("Tool Menu");
- TQPtrList<KAction> actions;
+ TQPtrList<TDEAction> actions;
TQStringList::ConstIterator it;
for (it = l.begin(); it != l.end(); ++it) {
TQString menutext = *it;
TDEConfig *config = ToolsFactory::instance()->config();
config->setGroup("Tool Menu " + menutext);
bool isdesktopfile = config->readBoolEntry("DesktopFile");
- KAction *action = new KAction(*it, 0,
+ TDEAction *action = new TDEAction(*it, 0,
this, TQT_SLOT(toolsMenuActivated()),
(TQObject*) 0, menutext.utf8());
if (isdesktopfile) {