Convert accidental instances of STQL to the proper SQL

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1247182 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 32b67ac069
commit 24f6ebee70

@ -9,8 +9,8 @@
* *
***************************************************************************/
#ifndef _STQLACTION_H_
#define _STQLACTION_H_
#ifndef _SQLACTION_H_
#define _SQLACTION_H_
#include <kdeversion.h>
#include <kxmlguiclient.h>

@ -9,8 +9,8 @@
* *
***************************************************************************/
#ifndef _STQLOUTPUTWIDGET_H_
#define _STQLOUTPUTWIDGET_H_
#ifndef _SQLOUTPUTWIDGET_H_
#define _SQLOUTPUTWIDGET_H_
#include <tqwidget.h>

@ -29,14 +29,14 @@
#include "sqloutputwidget.h"
#include "domutil.h"
typedef KDevGenericFactory<SQLSupportPart> STQLSupportFactory;
typedef KDevGenericFactory<SQLSupportPart> SQLSupportFactory;
static const KDevPluginInfo data("kdevsqlsupport");
K_EXPORT_COMPONENT_FACTORY( libkdevsqlsupport, STQLSupportFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevsqlsupport, SQLSupportFactory( data ) )
SQLSupportPart::SQLSupportPart( TQObject *parent, const char *name, const TQStringList& )
: KDevLanguageSupport ( &data, parent, name ? name : "SQLSupportPart" )
{
setInstance( STQLSupportFactory::instance() );
setInstance( SQLSupportFactory::instance() );
setXMLFile( "kdevsqlsupport.rc" );
KAction *action;
@ -110,10 +110,10 @@ void SQLSupportPart::loadConfig()
if ( (int)sdb.size() < 6 )
break;
conName = "KDEVSTQLSUPPORT_";
conName = "KDEVSQLSUPPORT_";
conName += TQString::number( i );
conNames << conName;
TQSqlDatabase* db = TQSqlDatabase::addDatabase( sdb[0], TQString( "KDEVSTQLSUPPORT_%1" ).tqarg( i ) );
TQSqlDatabase* db = TQSqlDatabase::addDatabase( sdb[0], TQString( "KDEVSQLSUPPORT_%1" ).tqarg( i ) );
db->setDatabaseName( sdb[1] );
db->setHostName( sdb[2] );
bool ok;

@ -1,5 +1,5 @@
#ifndef __KDEVPART_STQLSUPPORT_H__
#define __KDEVPART_STQLSUPPORT_H__
#ifndef __KDEVPART_SQLSUPPORT_H__
#define __KDEVPART_SQLSUPPORT_H__
#include <tqguardedptr.h>
#include <tqstringlist.h>

Loading…
Cancel
Save