diff options
author | Slávek Banko <[email protected]> | 2016-04-08 03:07:15 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-04-08 03:07:15 +0200 |
commit | 8f61d29f9c7b9387d5bfe5d269273650d9089b96 (patch) | |
tree | 142ab970d9b04ec5c94e14398319c69748a37e2a /dominoConfig/dominoconf.cpp | |
parent | 96603e8acb744f86139b900e45d030ad684b6a4d (diff) | |
download | tde-style-domino-8f61d29f9c7b9387d5bfe5d269273650d9089b96.tar.gz tde-style-domino-8f61d29f9c7b9387d5bfe5d269273650d9089b96.zip |
Initial TDE conversion
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'dominoConfig/dominoconf.cpp')
-rw-r--r-- | dominoConfig/dominoconf.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/dominoConfig/dominoconf.cpp b/dominoConfig/dominoconf.cpp index 410e08f..2861b29 100644 --- a/dominoConfig/dominoconf.cpp +++ b/dominoConfig/dominoconf.cpp @@ -31,8 +31,8 @@ DEALINGS IN THE SOFTWARE. #include <tqlayout.h> #include <tqhbox.h> #include <tqsettings.h> -#include <kglobal.h> -#include <klocale.h> +#include <tdeglobal.h> +#include <tdelocale.h> #include <tqpushbutton.h> #include <tqwidget.h> #include <tqgroupbox.h> @@ -57,12 +57,12 @@ DEALINGS IN THE SOFTWARE. #include <kstandarddirs.h> #include <tqdir.h> #include <tqbuttongroup.h> -#include <kmessagebox.h> +#include <tdemessagebox.h> #include <tqtabbar.h> #include <ktabwidget.h> #include <tqslider.h> -#include <kfiledialog.h> -#include <kio/netaccess.h> +#include <tdefiledialog.h> +#include <tdeio/netaccess.h> #include <tqvbuttongroup.h> #include <X11/Xft/Xft.h> @@ -77,9 +77,9 @@ DEALINGS IN THE SOFTWARE. extern "C" { - KDE_EXPORT TQWidget* allocate_kstyle_config(TQWidget* parent) + KDE_EXPORT TQWidget* allocate_tdestyle_config(TQWidget* parent) { - KGlobal::locale()->insertCatalogue("kstyle_domino_config"); + TDEGlobal::locale()->insertCatalogue("tdestyle_domino_config"); return new DominoStyleConfig(parent); } } @@ -98,7 +98,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) //Should have no margins here, the dialog provides them TQVBoxLayout* layout = new TQVBoxLayout(this, 0, 1); - KGlobal::locale()->insertCatalogue("kstyle_domino_config"); + TDEGlobal::locale()->insertCatalogue("tdestyle_domino_config"); DominoKTabWidget *tabWidget = new DominoKTabWidget(this); layout->addWidget(tabWidget); @@ -3916,9 +3916,9 @@ void DominoStyleConfig::slotImport() { } TQString saveDir = TQDir::homeDirPath() + "/.qt/"; - if (!KIO::NetAccess::file_copy(file, KURL( saveDir+fName ), -1, true ) ) + if (!TDEIO::NetAccess::file_copy(file, KURL( saveDir+fName ), -1, true ) ) { - KMessageBox::error(this, KIO::NetAccess::lastErrorString(),i18n("Import failed.")); + KMessageBox::error(this, TDEIO::NetAccess::lastErrorString(),i18n("Import failed.")); return; } } |