summaryrefslogtreecommitdiffstats
path: root/konqueror/sidebar/trees/konqsidebar_tree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konqueror/sidebar/trees/konqsidebar_tree.cpp')
-rw-r--r--konqueror/sidebar/trees/konqsidebar_tree.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/konqueror/sidebar/trees/konqsidebar_tree.cpp b/konqueror/sidebar/trees/konqsidebar_tree.cpp
index 1903c2328..9baa24d1d 100644
--- a/konqueror/sidebar/trees/konqsidebar_tree.cpp
+++ b/konqueror/sidebar/trees/konqsidebar_tree.cpp
@@ -2,8 +2,8 @@
#include "konqsidebar_tree.moc"
#include "konq_sidebartree.h"
#include <kdebug.h>
-#include <kstandarddirs.h>
-#include <ksimpleconfig.h>
+#include <tdestandarddirs.h>
+#include <tdesimpleconfig.h>
#include <kinputdialog.h>
#include <kiconloader.h>
#include <tdelistviewsearchline.h>
@@ -17,7 +17,7 @@
KonqSidebar_Tree::KonqSidebar_Tree(TDEInstance *instance,TQObject *parent,TQWidget *widgetParent, TQString &desktopName_, const char* name):
KonqSidebarPlugin(instance,parent,widgetParent,desktopName_,name)
{
- KSimpleConfig ksc(desktopName_);
+ TDESimpleConfig ksc(desktopName_);
ksc.setGroup("Desktop Entry");
int virt= ( (ksc.readEntry("X-TDE-TreeModule","")=="Virtual") ?VIRT_Folder:VIRT_Link);
if (virt==1) desktopName_=ksc.readEntry("X-TDE-RelURL","");
@@ -34,25 +34,25 @@ KonqSidebar_Tree::KonqSidebar_Tree(TDEInstance *instance,TQObject *parent,TQWidg
TQLabel* slbl = new TQLabel(i18n("Se&arch:"), searchline);
TDEListViewSearchLine* listViewSearch = new TDEListViewSearchLine(searchline,tree);
slbl->setBuddy(listViewSearch);
- connect(clearSearch, TQT_SIGNAL(pressed()), listViewSearch, TQT_SLOT(clear()));
+ connect(clearSearch, TQ_SIGNAL(pressed()), listViewSearch, TQ_SLOT(clear()));
}
else
tree=new KonqSidebarTree(this,widget,virt,desktopName_);
- connect(tree, TQT_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs &)),
- this,TQT_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs &)));
+ connect(tree, TQ_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs &)),
+ this,TQ_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs &)));
- connect(tree,TQT_SIGNAL(createNewWindow( const KURL &, const KParts::URLArgs &)),
- this,TQT_SIGNAL(createNewWindow( const KURL &, const KParts::URLArgs &)));
+ connect(tree,TQ_SIGNAL(createNewWindow( const KURL &, const KParts::URLArgs &)),
+ this,TQ_SIGNAL(createNewWindow( const KURL &, const KParts::URLArgs &)));
- connect(tree,TQT_SIGNAL(popupMenu( const TQPoint &, const KURL &, const TQString &, mode_t )),
- this,TQT_SIGNAL(popupMenu( const TQPoint &, const KURL &, const TQString &, mode_t )));
+ connect(tree,TQ_SIGNAL(popupMenu( const TQPoint &, const KURL &, const TQString &, mode_t )),
+ this,TQ_SIGNAL(popupMenu( const TQPoint &, const KURL &, const TQString &, mode_t )));
- connect(tree,TQT_SIGNAL(popupMenu( const TQPoint &, const KFileItemList & )),
- this,TQT_SIGNAL(popupMenu( const TQPoint &, const KFileItemList & )));
+ connect(tree,TQ_SIGNAL(popupMenu( const TQPoint &, const KFileItemList & )),
+ this,TQ_SIGNAL(popupMenu( const TQPoint &, const KFileItemList & )));
- connect(tree,TQT_SIGNAL(enableAction( const char *, bool )),
- this,TQT_SIGNAL(enableAction( const char *, bool)));
+ connect(tree,TQ_SIGNAL(enableAction( const char *, bool )),
+ this,TQ_SIGNAL(enableAction( const char *, bool)));
}
@@ -124,7 +124,7 @@ void KonqSidebar_Tree::rename()
extern "C"
{
- KDE_EXPORT void* create_konqsidebar_tree(TDEInstance *inst,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name)
+ TDE_EXPORT void* create_konqsidebar_tree(TDEInstance *inst,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name)
{
return new KonqSidebar_Tree(inst,par,widp,desktopname,name);
}
@@ -132,14 +132,14 @@ extern "C"
extern "C"
{
- KDE_EXPORT bool add_konqsidebar_tree(TQString* fn, TQString*, TQMap<TQString,TQString> *map)
+ TDE_EXPORT bool add_konqsidebar_tree(TQString* fn, TQString*, TQMap<TQString,TQString> *map)
{
TDEStandardDirs *dirs=TDEGlobal::dirs();
TQStringList list=dirs->findAllResources("data","konqsidebartng/dirtree/*.desktop",false,true);
TQStringList names;
for (TQStringList::ConstIterator it=list.begin();it!=list.end();++it)
{
- KSimpleConfig sc(*it);
+ TDESimpleConfig sc(*it);
sc.setGroup("Desktop Entry");
names<<sc.readEntry("Name");
}
@@ -150,7 +150,7 @@ extern "C"
{
int id=names.findIndex( item );
if (id==-1) return false;
- KSimpleConfig ksc2(*list.at(id));
+ TDESimpleConfig ksc2(*list.at(id));
ksc2.setGroup("Desktop Entry");
map->insert("Type","Link");
map->insert("Icon",ksc2.readEntry("Icon"));