summaryrefslogtreecommitdiffstats
path: root/konqueror/sidebar/konqsidebar.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /konqueror/sidebar/konqsidebar.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konqueror/sidebar/konqsidebar.cpp')
-rw-r--r--konqueror/sidebar/konqsidebar.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/konqueror/sidebar/konqsidebar.cpp b/konqueror/sidebar/konqsidebar.cpp
index ae2880b13..bdc99a4ca 100644
--- a/konqueror/sidebar/konqsidebar.cpp
+++ b/konqueror/sidebar/konqsidebar.cpp
@@ -19,11 +19,11 @@
#include <konq_events.h>
#include <kdebug.h>
-#include <qapplication.h>
+#include <tqapplication.h>
#include <kaccelmanager.h>
-KonqSidebar::KonqSidebar( QWidget *parentWidget, const char *widgetName,
- QObject *parent, const char *name, bool universalMode )
+KonqSidebar::KonqSidebar( TQWidget *parentWidget, const char *widgetName,
+ TQObject *parent, const char *name, bool universalMode )
: KParts::ReadOnlyPart(parent, name),KonqSidebarIface()
{
// we need an instance
@@ -32,11 +32,11 @@ KonqSidebar::KonqSidebar( QWidget *parentWidget, const char *widgetName,
// this should be your custom internal widget
m_widget = new Sidebar_Widget( parentWidget, this, widgetName ,universalMode, parentWidget->topLevelWidget()->property("currentProfile").toString() );
m_extension = new KonqSidebarBrowserExtension( this, m_widget,"KonqSidebar::BrowserExtension" );
- connect(m_widget,SIGNAL(started(KIO::Job *)),
- this, SIGNAL(started(KIO::Job*)));
- connect(m_widget,SIGNAL(completed()),this,SIGNAL(completed()));
- connect(m_extension, SIGNAL(addWebSideBar(const KURL&, const QString&)),
- m_widget, SLOT(addWebSideBar(const KURL&, const QString&)));
+ connect(m_widget,TQT_SIGNAL(started(KIO::Job *)),
+ this, TQT_SIGNAL(started(KIO::Job*)));
+ connect(m_widget,TQT_SIGNAL(completed()),this,TQT_SIGNAL(completed()));
+ connect(m_extension, TQT_SIGNAL(addWebSideBar(const KURL&, const TQString&)),
+ m_widget, TQT_SLOT(addWebSideBar(const KURL&, const TQString&)));
KAcceleratorManager::setNoAccel(m_widget);
setWidget(m_widget);
}
@@ -62,14 +62,14 @@ bool KonqSidebar::openURL(const KURL &url) {
else return false;
}
-void KonqSidebar::customEvent(QCustomEvent* ev)
+void KonqSidebar::customEvent(TQCustomEvent* ev)
{
if (KonqFileSelectionEvent::test(ev) ||
KonqFileMouseOverEvent::test(ev) ||
KonqConfigEvent::test(ev))
{
// Forward the event to the widget
- QApplication::sendEvent( m_widget, ev );
+ TQApplication::sendEvent( m_widget, ev );
}
}
@@ -97,15 +97,15 @@ KonqSidebarFactory::~KonqSidebarFactory()
s_about = 0L;
}
-KParts::Part* KonqSidebarFactory::createPartObject( QWidget *parentWidget, const char *widgetName,
- QObject *parent, const char *name,
- const char * /*classname*/, const QStringList &args )
+KParts::Part* KonqSidebarFactory::createPartObject( TQWidget *parentWidget, const char *widgetName,
+ TQObject *parent, const char *name,
+ const char * /*classname*/, const TQStringList &args )
{
// Create an instance of our Part
KonqSidebar* obj = new KonqSidebar( parentWidget, widgetName, parent, name, args.contains("universal") );
// See if we are to be read-write or not
-// if (QCString(classname) == "KParts::ReadOnlyPart")
+// if (TQCString(classname) == "KParts::ReadOnlyPart")
// obj->setReadWrite(false);
return obj;