summaryrefslogtreecommitdiffstats
path: root/buildtools/lib
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:38:54 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:38:54 -0600
commitda1522385e5367bae56b90fac55c4355e475905b (patch)
treebfa432864dbf322feb4ed3a878f1222ee8ea7727 /buildtools/lib
parentb9e542d0c805e9adee3a67e44532d5321032e21e (diff)
downloadtdevelop-da1522385e5367bae56b90fac55c4355e475905b.tar.gz
tdevelop-da1522385e5367bae56b90fac55c4355e475905b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'buildtools/lib')
-rw-r--r--buildtools/lib/parsers/autotools/autotoolsdriver.cpp4
-rw-r--r--buildtools/lib/parsers/qmake/qmakedriver.cpp4
-rw-r--r--buildtools/lib/widgets/addfilesdialog.cpp6
3 files changed, 7 insertions, 7 deletions
diff --git a/buildtools/lib/parsers/autotools/autotoolsdriver.cpp b/buildtools/lib/parsers/autotools/autotoolsdriver.cpp
index 5a1de34c..a9620598 100644
--- a/buildtools/lib/parsers/autotools/autotoolsdriver.cpp
+++ b/buildtools/lib/parsers/autotools/autotoolsdriver.cpp
@@ -58,9 +58,9 @@ int Driver::parseFile(KURL fileName, ProjectAST **ast)
{
TQString tmpFile;
int ret = 0;
- if (KIO::NetAccess::download(fileName, tmpFile, 0))
+ if (TDEIO::NetAccess::download(fileName, tmpFile, 0))
ret = parseFile(tmpFile, ast);
- KIO::NetAccess::removeTempFile(tmpFile);
+ TDEIO::NetAccess::removeTempFile(tmpFile);
return ret;
}
diff --git a/buildtools/lib/parsers/qmake/qmakedriver.cpp b/buildtools/lib/parsers/qmake/qmakedriver.cpp
index 21023017..e5a8f994 100644
--- a/buildtools/lib/parsers/qmake/qmakedriver.cpp
+++ b/buildtools/lib/parsers/qmake/qmakedriver.cpp
@@ -75,9 +75,9 @@ int Driver::parseFile(KURL fileName, ProjectAST **ast, int debug)
{
TQString tmpFile;
int ret = 0;
- if (KIO::NetAccess::download(fileName, tmpFile, 0))
+ if (TDEIO::NetAccess::download(fileName, tmpFile, 0))
ret = parseFile(tmpFile, ast, debug);
- KIO::NetAccess::removeTempFile(tmpFile);
+ TDEIO::NetAccess::removeTempFile(tmpFile);
return ret;
}
diff --git a/buildtools/lib/widgets/addfilesdialog.cpp b/buildtools/lib/widgets/addfilesdialog.cpp
index f5a1fa92..2a83c5d1 100644
--- a/buildtools/lib/widgets/addfilesdialog.cpp
+++ b/buildtools/lib/widgets/addfilesdialog.cpp
@@ -28,7 +28,7 @@ AddFilesDialog::AddFilesDialog(const TQString& startDir, const TQString& filter,
TQWidget *parent, const char *name, bool modal):
KFileDialog(startDir, filter, parent, name, modal)
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Add Files Dialog");
m_extraWidget = new TQComboBox(false, this);
@@ -48,7 +48,7 @@ AddFilesDialog::AddFilesDialog(const TQString& startDir, const TQString& filter,
TQWidget *parent, const char *name, bool modal, TQComboBox *extraWidget):
KFileDialog(startDir, filter, parent, name, modal, extraWidget), m_extraWidget(extraWidget)
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Add Files Dialog");
m_extraWidget->insertItem(i18n("Copy File(s)"), 0);
@@ -72,7 +72,7 @@ AddFilesDialog::Mode AddFilesDialog::mode( )
void AddFilesDialog::storePreferred( int index )
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Add Files Dialog");
config->writeEntry("Mode", index);
}