summaryrefslogtreecommitdiffstats
path: root/tdeui/kmainwindow.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:35:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:35:07 -0600
commit703fb0c89c2eee56a1e613e67a446db9d4287929 (patch)
treedd8c5ca66075cd89c2638a2b48cf78386a9870a7 /tdeui/kmainwindow.h
parent818e7abec3d5d3809b6b77293558678371c16b71 (diff)
downloadtdelibs-703fb0c89c2eee56a1e613e67a446db9d4287929.tar.gz
tdelibs-703fb0c89c2eee56a1e613e67a446db9d4287929.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'tdeui/kmainwindow.h')
-rw-r--r--tdeui/kmainwindow.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/tdeui/kmainwindow.h b/tdeui/kmainwindow.h
index a90d3dc12..a66eb8327 100644
--- a/tdeui/kmainwindow.h
+++ b/tdeui/kmainwindow.h
@@ -30,7 +30,7 @@
class KPopupMenu;
class KXMLGUIFactory;
-class KConfig;
+class TDEConfig;
class KHelpMenu;
class KStatusBar;
class TQStatusBar;
@@ -489,9 +489,9 @@ public:
* group name is used.
* @param force if set, even default settings are re-applied
*/
- void applyMainWindowSettings(KConfig *config, const TQString &groupName, bool force);
+ void applyMainWindowSettings(TDEConfig *config, const TQString &groupName, bool force);
// KDE4 merge with force=false
- void applyMainWindowSettings(KConfig *config, const TQString &groupName = TQString::null);
+ void applyMainWindowSettings(TDEConfig *config, const TQString &groupName = TQString::null);
/**
* Save settings for statusbar, menubar and toolbar to their respective
@@ -501,7 +501,7 @@ public:
* @param groupName Group name to use. If not specified, the last used
* group name is used
*/
- void saveMainWindowSettings(KConfig *config, const TQString &groupName = TQString::null);
+ void saveMainWindowSettings(TDEConfig *config, const TQString &groupName = TQString::null);
/**
* Sets whether KMainWindow should provide a menu that allows showing/hiding
@@ -881,12 +881,12 @@ protected:
* in this function!
*
*/
- virtual void saveProperties( KConfig* ) {}
+ virtual void saveProperties( TDEConfig* ) {}
/**
* Read your instance-specific properties.
*/
- virtual void readProperties( KConfig* ) {}
+ virtual void readProperties( TDEConfig* ) {}
/**
* Save your application-wide properties. The function is
@@ -904,16 +904,16 @@ protected:
*
* Default implementation does nothing.
*/
- virtual void saveGlobalProperties( KConfig* sessionConfig );
+ virtual void saveGlobalProperties( TDEConfig* sessionConfig );
/**
* The counterpart of saveGlobalProperties().
*
* Read the application-specific properties in again.
*/
- virtual void readGlobalProperties( KConfig* sessionConfig );
- void savePropertiesInternal( KConfig*, int );
- bool readPropertiesInternal( KConfig*, int );
+ virtual void readGlobalProperties( TDEConfig* sessionConfig );
+ void savePropertiesInternal( TDEConfig*, int );
+ bool readPropertiesInternal( TDEConfig*, int );
/**
* For inherited classes
@@ -927,13 +927,13 @@ protected:
* For inherited classes
* Note that the group must be set before calling
*/
- void saveWindowSize( KConfig * config ) const;
+ void saveWindowSize( TDEConfig * config ) const;
/**
* For inherited classes
* Note that the group must be set before calling, and that
* a -geometry on the command line has priority.
*/
- void restoreWindowSize( KConfig * config );
+ void restoreWindowSize( TDEConfig * config );
/// parse the geometry from the geometry command line argument
void parseGeometry(bool parsewidth);