summaryrefslogtreecommitdiffstats
path: root/kbarcode/sqltables.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:06:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:06:57 -0600
commitb87cd1a44cc5d292e7c221c67e7c68e8d3a6e0e9 (patch)
tree1a367bbbf3d58c090d347740621bf46ac530a180 /kbarcode/sqltables.cpp
parent1ec2b02ce0ccbeb2e21fb194c5be15e5a1accbd4 (diff)
downloadkbarcode-b87cd1a44cc5d292e7c221c67e7c68e8d3a6e0e9.tar.gz
kbarcode-b87cd1a44cc5d292e7c221c67e7c68e8d3a6e0e9.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kbarcode/sqltables.cpp')
-rw-r--r--kbarcode/sqltables.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbarcode/sqltables.cpp b/kbarcode/sqltables.cpp
index 1a72504..60ddacd 100644
--- a/kbarcode/sqltables.cpp
+++ b/kbarcode/sqltables.cpp
@@ -283,7 +283,7 @@ void SqlTables::importLabelDef()
TQString f = locateLocal( "data", "kbarcode/labeldefinitions.sql" );
if( !TQFile::exists( f ) ) {
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup( "Definitions" );
f = config->readEntry( "defpath", locate( "data", "kbarcode/labeldefinitions.sql" ) );
}
@@ -342,7 +342,7 @@ void SqlTables::exec( TQSqlQuery* query, const TQString & text )
void SqlTables::loadConfig()
{
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup("SQL");
sqldata.username = config->readEntry("username", "root");
@@ -355,7 +355,7 @@ void SqlTables::loadConfig()
void SqlTables::saveConfig()
{
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup("SQL");
config->writeEntry("username", sqldata.username );