diff options
Diffstat (limited to 'src/viewcontainer.h')
-rw-r--r-- | src/viewcontainer.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/viewcontainer.h b/src/viewcontainer.h index b74fd65..6b28ffe 100644 --- a/src/viewcontainer.h +++ b/src/viewcontainer.h @@ -21,7 +21,7 @@ class View; class ViewArea; class ViewContainer; -class KConfig; +class TDEConfig; class TQHBoxLayout; class TQLayout; class TQSplitter; @@ -74,12 +74,12 @@ public: /** * Saves the state of this ViewArea and any contained ViewAreas */ - void saveState( KConfig *config ); + void saveState( TDEConfig *config ); /** * Restores the state of this ViewArea and any contained ViewAreas * @param groupName e.g. "ViewContainer 1" */ - void restoreState( KConfig *config, int id, const TQString &groupName ); + void restoreState( TDEConfig *config, int id, const TQString &groupName ); /** * Returns true if this ViewArea can save useful information as to its state * (i.e. it's children can save useful information about their state, or has @@ -198,16 +198,16 @@ public: void setIdUsed( int id ); /** * Writes the state of the View Container (layout of views and view URLs) - * to the given KConfig. Doesn't change the group - so preset it if + * to the given TDEConfig. Doesn't change the group - so preset it if * needed! */ - void saveState( KConfig *config ); + void saveState( TDEConfig *config ); /** * Reads in the saved config state (as written by saveState), and restores * the ViewContainer with all appropriate views open * @param groupName e.g. "ViewContainer 1" */ - void restoreState( KConfig *config, const TQString &groupName ); + void restoreState( TDEConfig *config, const TQString &groupName ); /** * Returns a unique id (negative) for a ViewArea that is now a Parent of other ViewAreas */ @@ -237,7 +237,7 @@ protected slots: void baseViewAreaDestroyed( TQObject *obj ); protected: - void restoreViewArea( KConfig *config, int id, ViewArea *viewArea ); + void restoreViewArea( TDEConfig *config, int id, ViewArea *viewArea ); void findActiveViewArea(); int m_activeViewArea; ViewArea *m_baseViewArea; |