diff options
Diffstat (limited to 'konq-plugins/domtreeviewer')
-rw-r--r-- | konq-plugins/domtreeviewer/domtreewindow.cpp | 6 | ||||
-rw-r--r-- | konq-plugins/domtreeviewer/domtreewindow.h | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/konq-plugins/domtreeviewer/domtreewindow.cpp b/konq-plugins/domtreeviewer/domtreewindow.cpp index a13e288..52b7ba0 100644 --- a/konq-plugins/domtreeviewer/domtreewindow.cpp +++ b/konq-plugins/domtreeviewer/domtreewindow.cpp @@ -62,7 +62,7 @@ DOMTreeWindow::DOMTreeWindow(PluginDomtreeviewer *plugin) part_manager = 0; // set configuration object - _config = new KConfig("domtreeviewerrc"); + _config = new TDEConfig("domtreeviewerrc"); // accept dnd setAcceptDrops(true); @@ -189,7 +189,7 @@ TQPopupMenu *DOMTreeWindow::createDOMTreeViewContextMenu() return static_cast<TQPopupMenu *>(w); } -void DOMTreeWindow::saveProperties(KConfig *config) +void DOMTreeWindow::saveProperties(TDEConfig *config) { // the 'config' object points to the session managed // config file. anything you write here will be available @@ -206,7 +206,7 @@ void DOMTreeWindow::saveProperties(KConfig *config) #endif } -void DOMTreeWindow::readProperties(KConfig *config) +void DOMTreeWindow::readProperties(TDEConfig *config) { // the 'config' object points to the session managed // config file. this function is automatically called whenever diff --git a/konq-plugins/domtreeviewer/domtreewindow.h b/konq-plugins/domtreeviewer/domtreewindow.h index c138446..2715eb5 100644 --- a/konq-plugins/domtreeviewer/domtreewindow.h +++ b/konq-plugins/domtreeviewer/domtreewindow.h @@ -42,7 +42,7 @@ class DOMTreeView; class PluginDomtreeviewer; class KAction; -class KConfig; +class TDEConfig; class KPrinter; class KURL; class KCommandHistory; @@ -113,7 +113,7 @@ public: /** * Returns the config object for this plugin. */ - KConfig *config() const { return _config; } + TDEConfig *config() const { return _config; } /** returns the attribute delete action */ KAction *deleteAttributeAction() const { return del_attr; } @@ -144,14 +144,14 @@ protected: * This function is called when it is time for the app to save its * properties for session management purposes. */ - void saveProperties(KConfig *); + void saveProperties(TDEConfig *); /** - * This function is called when this app is restored. The KConfig + * This function is called when this app is restored. The TDEConfig * object points to the session management config file that was saved * with @ref saveProperties */ - void readProperties(KConfig *); + void readProperties(TDEConfig *); private slots: @@ -185,7 +185,7 @@ private: KCommandHistory *m_commandHistory; TQPopupMenu *infopanel_ctx; TQPopupMenu *domtree_ctx; - KConfig *_config; + TDEConfig *_config; KAction *del_tree, *del_attr; |