diff options
Diffstat (limited to 'lib/kross')
-rw-r--r-- | lib/kross/main/scriptguiclient.cpp | 4 | ||||
-rw-r--r-- | lib/kross/main/wdgscriptsmanager.cpp | 4 | ||||
-rwxr-xr-x | lib/kross/python/scripts/gui.py | 8 | ||||
-rw-r--r-- | lib/kross/test/testgui.py | 6 |
4 files changed, 11 insertions, 11 deletions
diff --git a/lib/kross/main/scriptguiclient.cpp b/lib/kross/main/scriptguiclient.cpp index a90c3d9d..eaf31101 100644 --- a/lib/kross/main/scriptguiclient.cpp +++ b/lib/kross/main/scriptguiclient.cpp @@ -27,13 +27,13 @@ #include <kstandarddirs.h> #include <kmimetype.h> #include <kmessagebox.h> -#include <kfiledialog.h> +#include <tdefiledialog.h> #include <klocale.h> #include <kurl.h> #include <ktar.h> #include <kstandarddirs.h> -#include <kio/netaccess.h> +#include <tdeio/netaccess.h> using namespace Kross::Api; diff --git a/lib/kross/main/wdgscriptsmanager.cpp b/lib/kross/main/wdgscriptsmanager.cpp index 99b2d058..c63b7603 100644 --- a/lib/kross/main/wdgscriptsmanager.cpp +++ b/lib/kross/main/wdgscriptsmanager.cpp @@ -26,7 +26,7 @@ #include <kapplication.h> #include <tdeversion.h> -#include <kfiledialog.h> +#include <tdefiledialog.h> #include <kiconloader.h> #include <klistview.h> #include <klocale.h> @@ -336,7 +336,7 @@ void WdgScriptsManager::slotGetNewScript() TQObject::connect(p, TQT_SIGNAL(providersLoaded(Provider::List*)), d, TQT_SLOT(slotProviders(Provider::List*))); - p->load(type, TQString("http://download.kde.org/khotnewstuff/%1scripts-providers.xml").arg(appname)); + p->load(type, TQString("http://download.kde.org/tdehotnewstuff/%1scripts-providers.xml").arg(appname)); d->exec(); #endif } diff --git a/lib/kross/python/scripts/gui.py b/lib/kross/python/scripts/gui.py index 9b8e0f8c..eda671cc 100755 --- a/lib/kross/python/scripts/gui.py +++ b/lib/kross/python/scripts/gui.py @@ -289,10 +289,10 @@ class QtDialog: filename = None try: - print "QtDialog.FileChooser.browseButtonClicked() kfile.KFileDialog" - # try to use the kfile module included in pytde - import kfile - filename = kfile.KFileDialog.getOpenFileName(self.initialfile, filtermask, self, "Save to file") + print "QtDialog.FileChooser.browseButtonClicked() tdefile.KFileDialog" + # try to use the tdefile module included in pytde + import tdefile + filename = tdefile.KFileDialog.getOpenFileName(self.initialfile, filtermask, self, "Save to file") except: print "QtDialog.FileChooser.browseButtonClicked() qt.QFileDialog" # fallback to Qt filedialog diff --git a/lib/kross/test/testgui.py b/lib/kross/test/testgui.py index 22b6f04b..b6f6a28e 100644 --- a/lib/kross/test/testgui.py +++ b/lib/kross/test/testgui.py @@ -75,9 +75,9 @@ class QtTest: def browseButtonClicked(self): filename = None try: - # try to use the kfile module included in pytde - import kfile - filename = kfile.KFileDialog.getOpenFileName(self.defaultfilename, "*.html", self, "Save to file") + # try to use the tdefile module included in pytde + import tdefile + filename = tdefile.KFileDialog.getOpenFileName(self.defaultfilename, "*.html", self, "Save to file") except: # fallback to Qt filedialog filename = qt.QFileDialog.getOpenFileName(self.defaultfilename, "*.html", self, "Save to file") |