diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-03-25 20:06:45 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-03-25 20:06:45 +0100 |
commit | 88b7febc2393324ee14940c1c41a8ddc342c35f6 (patch) | |
tree | b9a917fd3a40988e6e0134490f5357e5335c1c70 /sidebar/linkview.cpp | |
parent | 2ee99ab520931c5efe91123c85ba10064a45e95d (diff) | |
download | tde-style-baghira-88b7febc2393324ee14940c1c41a8ddc342c35f6.tar.gz tde-style-baghira-88b7febc2393324ee14940c1c41a8ddc342c35f6.zip |
Initial TDE conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'sidebar/linkview.cpp')
-rw-r--r-- | sidebar/linkview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sidebar/linkview.cpp b/sidebar/linkview.cpp index fa9223b..23b6cbe 100644 --- a/sidebar/linkview.cpp +++ b/sidebar/linkview.cpp @@ -2,9 +2,9 @@ #include <stdlib.h> #include <tqcursor.h> #include <tqsplitter.h> -#include <klocale.h> +#include <tdelocale.h> #include <tqdir.h> -#include <kconfig.h> +#include <tdeconfig.h> #include <tqtimer.h> #include "dndlistbox.h" #include "listboxlink.h" @@ -144,7 +144,7 @@ void LinkView::loadLinks() { if (!locations) return; - KConfig config(TQDir::homeDirPath() + "/.qt/baghirarc"); + TDEConfig config(TQDir::homeDirPath() + "/.qt/baghirarc"); config.setGroup("Sidebar"); splitter->setSizes(config.readIntListEntry ("Sizes")); loadedLinks = (uint)config.readNumEntry("NumLinks", 0); @@ -174,7 +174,7 @@ void LinkView::saveLinks() { if (!locations) return; - KConfig *config = new KConfig(TQDir::homeDirPath() + "/.qt/baghirarc"); + TDEConfig *config = new TDEConfig(TQDir::homeDirPath() + "/.qt/baghirarc"); config->setGroup("Sidebar"); config->writeEntry("Sizes", splitter->sizes()); config->writeEntry("NumLinks", (int)locations->count()); |