summaryrefslogtreecommitdiffstats
path: root/dominoConfig
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-04-08 03:07:15 +0200
committerSlávek Banko <[email protected]>2016-04-08 03:07:15 +0200
commit8f61d29f9c7b9387d5bfe5d269273650d9089b96 (patch)
tree142ab970d9b04ec5c94e14398319c69748a37e2a /dominoConfig
parent96603e8acb744f86139b900e45d030ad684b6a4d (diff)
downloadtde-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')
-rw-r--r--dominoConfig/Makefile.am10
-rw-r--r--dominoConfig/dominoconf.cpp20
2 files changed, 15 insertions, 15 deletions
diff --git a/dominoConfig/Makefile.am b/dominoConfig/Makefile.am
index 4b13841..e218975 100644
--- a/dominoConfig/Makefile.am
+++ b/dominoConfig/Makefile.am
@@ -1,8 +1,8 @@
INCLUDES = $(all_includes) $(FT2_CFLAGS)
noinst_HEADERS = dominoconf.h
-kde_module_LTLIBRARIES = kstyle_domino_config.la
-kstyle_domino_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
-kstyle_domino_config_la_LIBADD = $(LIB_KDEUI) ../domino/libdomino_style.la $(LIB_QT) $(LIB_KDECORE) -lkdefx $(LIB_KIO)
-kstyle_domino_config_la_SOURCES = dominoconf.cpp
-kstyle_domino_config_la_METASOURCES = AUTO
+kde_module_LTLIBRARIES = tdestyle_domino_config.la
+tdestyle_domino_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
+tdestyle_domino_config_la_LIBADD = $(LIB_TDEUI) ../domino/libdomino_style.la $(LIB_QT) $(LIB_TDECORE) -ltdefx $(LIB_TDEIO)
+tdestyle_domino_config_la_SOURCES = dominoconf.cpp
+tdestyle_domino_config_la_METASOURCES = AUTO
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;
}
}