summaryrefslogtreecommitdiffstats
path: root/konqueror/konq_extensionmanager.cc
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/konq_extensionmanager.cc
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/konq_extensionmanager.cc')
-rw-r--r--konqueror/konq_extensionmanager.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/konqueror/konq_extensionmanager.cc b/konqueror/konq_extensionmanager.cc
index a43d4540d..d6d9f71a0 100644
--- a/konqueror/konq_extensionmanager.cc
+++ b/konqueror/konq_extensionmanager.cc
@@ -14,8 +14,8 @@
*************************************************************************
*/
-#include <qlayout.h>
-#include <qtimer.h>
+#include <tqlayout.h>
+#include <tqtimer.h>
#include <kconfig.h>
#include <kdebug.h>
@@ -39,7 +39,7 @@ public:
bool isChanged;
};
-KonqExtensionManager::KonqExtensionManager(QWidget *parent, KonqMainWindow *mainWindow, KParts::ReadOnlyPart* activePart) :
+KonqExtensionManager::KonqExtensionManager(TQWidget *parent, KonqMainWindow *mainWindow, KParts::ReadOnlyPart* activePart) :
KDialogBase(Plain, i18n("Configure"), Default | Cancel | Apply | Ok | User1,
Ok, parent, "extensionmanager", false, true, KGuiItem(i18n("&Reset"), "undo"))
{
@@ -47,14 +47,14 @@ KonqExtensionManager::KonqExtensionManager(QWidget *parent, KonqMainWindow *main
showButton(User1, false);
setChanged(false);
- setInitialSize(QSize(640, 480));
+ setInitialSize(TQSize(640, 480));
- (new QVBoxLayout(plainPage(), 0, 0))->setAutoAdd(true);
+ (new TQVBoxLayout(plainPage(), 0, 0))->setAutoAdd(true);
d->pluginSelector = new KPluginSelector(plainPage());
setMainWidget(d->pluginSelector);
- connect(d->pluginSelector, SIGNAL(changed(bool)), this, SLOT(setChanged(bool)));
- connect(d->pluginSelector, SIGNAL(configCommitted(const QCString &)),
- KSettings::Dispatcher::self(), SLOT(reparseConfiguration(const QCString &)));
+ connect(d->pluginSelector, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(setChanged(bool)));
+ connect(d->pluginSelector, TQT_SIGNAL(configCommitted(const TQCString &)),
+ KSettings::Dispatcher::self(), TQT_SLOT(reparseConfiguration(const TQCString &)));
d->mainWindow = mainWindow;
d->activePart = activePart;
@@ -101,8 +101,8 @@ void KonqExtensionManager::apply()
if( d->mainWindow )
{
KParts::Plugin::loadPlugins(d->mainWindow, d->mainWindow, KGlobal::instance());
- QPtrList<KParts::Plugin> plugins = KParts::Plugin::pluginObjects(d->mainWindow);
- QPtrListIterator<KParts::Plugin> it(plugins);
+ TQPtrList<KParts::Plugin> plugins = KParts::Plugin::pluginObjects(d->mainWindow);
+ TQPtrListIterator<KParts::Plugin> it(plugins);
KParts::Plugin *plugin;
while((plugin = it.current()) != 0)
{
@@ -113,8 +113,8 @@ void KonqExtensionManager::apply()
if ( d->activePart )
{
KParts::Plugin::loadPlugins( d->activePart, d->activePart, d->activePart->instance() );
- QPtrList<KParts::Plugin> plugins = KParts::Plugin::pluginObjects( d->activePart );
- QPtrListIterator<KParts::Plugin> it(plugins);
+ TQPtrList<KParts::Plugin> plugins = KParts::Plugin::pluginObjects( d->activePart );
+ TQPtrListIterator<KParts::Plugin> it(plugins);
KParts::Plugin *plugin;
while((plugin = it.current()) != 0)
{