summaryrefslogtreecommitdiffstats
path: root/languages
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-14 21:37:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-14 21:37:51 +0000
commit24f6ebee70b9f99714d1e58e2b60ce28bec883d5 (patch)
treedda4ed1134752fb018cc7bc19eaa89ddb9e6a3ec /languages
parent32b67ac0690de411b26b1d5e715b188c27442248 (diff)
downloadtdevelop-24f6ebee70b9f99714d1e58e2b60ce28bec883d5.tar.gz
tdevelop-24f6ebee70b9f99714d1e58e2b60ce28bec883d5.zip
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
Diffstat (limited to 'languages')
-rw-r--r--languages/sql/sqlactions.h4
-rw-r--r--languages/sql/sqloutputwidget.h4
-rw-r--r--languages/sql/sqlsupport_part.cpp10
-rw-r--r--languages/sql/sqlsupport_part.h4
4 files changed, 11 insertions, 11 deletions
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 <kdeversion.h>
#include <kxmlguiclient.h>
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 <tqwidget.h>
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<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;
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 <tqguardedptr.h>
#include <tqstringlist.h>