From 24f6ebee70b9f99714d1e58e2b60ce28bec883d5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 14 Aug 2011 21:37:51 +0000 Subject: 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 --- languages/sql/sqlactions.h | 4 ++-- languages/sql/sqloutputwidget.h | 4 ++-- languages/sql/sqlsupport_part.cpp | 10 +++++----- languages/sql/sqlsupport_part.h | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'languages') diff --git a/languages/sql/sqlactions.h b/languages/sql/sqlactions.h index 1f8ac265..840e43db 100644 --- a/languages/sql/sqlactions.h +++ b/languages/sql/sqlactions.h @@ -9,8 +9,8 @@ * * ***************************************************************************/ -#ifndef _STQLACTION_H_ -#define _STQLACTION_H_ +#ifndef _SQLACTION_H_ +#define _SQLACTION_H_ #include #include diff --git a/languages/sql/sqloutputwidget.h b/languages/sql/sqloutputwidget.h index 766a0209..3c3b6846 100644 --- a/languages/sql/sqloutputwidget.h +++ b/languages/sql/sqloutputwidget.h @@ -9,8 +9,8 @@ * * ***************************************************************************/ -#ifndef _STQLOUTPUTWIDGET_H_ -#define _STQLOUTPUTWIDGET_H_ +#ifndef _SQLOUTPUTWIDGET_H_ +#define _SQLOUTPUTWIDGET_H_ #include diff --git a/languages/sql/sqlsupport_part.cpp b/languages/sql/sqlsupport_part.cpp index fcbb8ca4..81098a85 100644 --- a/languages/sql/sqlsupport_part.cpp +++ b/languages/sql/sqlsupport_part.cpp @@ -29,14 +29,14 @@ #include "sqloutputwidget.h" #include "domutil.h" -typedef KDevGenericFactory STQLSupportFactory; +typedef KDevGenericFactory 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; diff --git a/languages/sql/sqlsupport_part.h b/languages/sql/sqlsupport_part.h index d2c99eb0..a2d70d0c 100644 --- a/languages/sql/sqlsupport_part.h +++ b/languages/sql/sqlsupport_part.h @@ -1,5 +1,5 @@ -#ifndef __KDEVPART_STQLSUPPORT_H__ -#define __KDEVPART_STQLSUPPORT_H__ +#ifndef __KDEVPART_SQLSUPPORT_H__ +#define __KDEVPART_SQLSUPPORT_H__ #include #include -- cgit v1.2.1