summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmpluginmanager.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmpluginmanager.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmpluginmanager.cpp')
-rw-r--r--kpovmodeler/pmpluginmanager.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kpovmodeler/pmpluginmanager.cpp b/kpovmodeler/pmpluginmanager.cpp
index 0921f79d..7af50d5c 100644
--- a/kpovmodeler/pmpluginmanager.cpp
+++ b/kpovmodeler/pmpluginmanager.cpp
@@ -21,8 +21,8 @@
#include "pmfactory.h"
#include "pmdebug.h"
-#include <qmap.h>
-#include <qapplication.h>
+#include <tqmap.h>
+#include <tqapplication.h>
#include <kparts/plugin.h>
#include <kxmlguifactory.h>
@@ -38,7 +38,7 @@ class PMPluginWorkaround : public Plugin
{
public:
PMPluginWorkaround( ) : Plugin( 0, 0 ) { };
- static QValueList<Plugin::PluginInfo> installedPlugins( const KInstance* instance )
+ static TQValueList<Plugin::PluginInfo> installedPlugins( const KInstance* instance )
{
return pluginInfos( instance );
}
@@ -49,16 +49,16 @@ PMPluginManager::PMPluginManager( )
// find installed plugins
KConfigGroup cfgGroup( PMFactory::instance( )->config( ),
"KParts Plugins" );
- QValueList<Plugin::PluginInfo> plugins
+ TQValueList<Plugin::PluginInfo> plugins
= PMPluginWorkaround::installedPlugins( PMFactory::instance( ) );
- QValueList<Plugin::PluginInfo>::ConstIterator pIt = plugins.begin( );
- QValueList<Plugin::PluginInfo>::ConstIterator pEnd = plugins.end( );
+ TQValueList<Plugin::PluginInfo>::ConstIterator pIt = plugins.begin( );
+ TQValueList<Plugin::PluginInfo>::ConstIterator pEnd = plugins.end( );
for( ; pIt != pEnd; ++pIt )
{
- QDomElement docElem = ( *pIt ).m_document.documentElement( );
- QString name = docElem.attribute( "name" );
- QString description = docElem.attribute( "description" );
+ TQDomElement docElem = ( *pIt ).m_document.documentElement( );
+ TQString name = docElem.attribute( "name" );
+ TQString description = docElem.attribute( "description" );
if( !description.isEmpty( ) )
description = i18n( description.latin1( ) );
bool enabled = cfgGroup.readBoolEntry( name + "Enabled", false );
@@ -97,13 +97,13 @@ void PMPluginManager::updatePlugins( )
{
KConfigGroup cfgGroup( PMFactory::instance( )->config( ),
"KParts Plugins" );
- QPtrListIterator<PMPluginInfo> pit( m_plugins );
+ TQPtrListIterator<PMPluginInfo> pit( m_plugins );
for( ; *pit; ++pit )
cfgGroup.writeEntry( ( *pit )->name( ) + "Enabled",
( *pit )->enabled( ) );
cfgGroup.sync( );
- QPtrListIterator<PMPart> it( m_parts );
+ TQPtrListIterator<PMPart> it( m_parts );
for( ; *it; ++it )
{
Plugin::loadPlugins( *it, *it, PMFactory::instance( ), false );