summaryrefslogtreecommitdiffstats
path: root/sidebar/baghirasidebar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sidebar/baghirasidebar.cpp')
-rw-r--r--sidebar/baghirasidebar.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/sidebar/baghirasidebar.cpp b/sidebar/baghirasidebar.cpp
index 0969bad..e24ebdf 100644
--- a/sidebar/baghirasidebar.cpp
+++ b/sidebar/baghirasidebar.cpp
@@ -1,6 +1,6 @@
#include <kinstance.h>
-#include <qsplitter.h>
+#include <tqsplitter.h>
#include <kiconloader.h>
#include <stdlib.h>
#include "dndlistbox.h"
@@ -9,20 +9,20 @@
#include "baghirasidebar.h"
#include "baghirasidebar.moc"
-baghiraSidebar::baghiraSidebar(KInstance *inst,QObject *parent,QWidget *widgetParent, QString &desktopName, const char* name):
+baghiraSidebar::baghiraSidebar(KInstance *inst,TQObject *parent,TQWidget *widgetParent, TQString &desktopName, const char* name):
KonqSidebarPlugin(inst,parent,widgetParent,desktopName,name)
{
scrollView = new LinkView(widgetParent);
- scrollView->setHScrollBarMode(QScrollView::AlwaysOff);
- connect (scrollView->Hardware(), SIGNAL(clicked(QListBoxItem *)), this, SLOT(callURL(QListBoxItem *)));
- connect (scrollView->Locations(), SIGNAL(clicked(QListBoxItem *)), this, SLOT(callURL(QListBoxItem *)));
+ scrollView->setHScrollBarMode(TQScrollView::AlwaysOff);
+ connect (scrollView->Hardware(), SIGNAL(clicked(TQListBoxItem *)), this, SLOT(callURL(TQListBoxItem *)));
+ connect (scrollView->Locations(), SIGNAL(clicked(TQListBoxItem *)), this, SLOT(callURL(TQListBoxItem *)));
}
baghiraSidebar::~baghiraSidebar()
{
}
-void baghiraSidebar::callURL(QListBoxItem *item)
+void baghiraSidebar::callURL(TQListBoxItem *item)
{
emit openURLRequest(KURL(((ListBoxLink*)(item))->URL()), KParts::URLArgs(true,0,0));
}
@@ -46,7 +46,7 @@ void baghiraSidebar::handleURL(const KURL &url)
}
extern "C" {
- KDE_EXPORT bool add_konqsidebar_baghirasidebar(QString* fn, QString* param, QMap<QString,QString> *map) {
+ KDE_EXPORT bool add_konqsidebar_baghirasidebar(TQString* fn, TQString* param, TQMap<TQString,TQString> *map) {
Q_UNUSED(param);
map->insert("Type", "Link");
@@ -61,7 +61,7 @@ extern "C" {
extern "C"
{
- void* create_konqsidebar_baghirasidebar(KInstance *instance,QObject *par,QWidget *widp,QString &desktopname,const char *name)
+ void* create_konqsidebar_baghirasidebar(KInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name)
{
return new baghiraSidebar(instance,par,widp,desktopname,name);
}