┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinapplication.h
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2009-08-20 15:47:38 +0000
committerFrank Reininghaus <[email protected]>2009-08-20 15:47:38 +0000
commit8e17757ae3cbdd93b200258eb646ee5408e9fdea (patch)
treee3548dd947cd0a2b9519874d9de0c0bab58f8221 /src/dolphinapplication.h
parent1d75c9dcae51877d15aff53b27e13f542a1bafe0 (diff)
Use KApplication::sessionSaving() to determine if Dolphin is closed by
the session manager - there's no need to reinvent the wheel ;-) Thanks to Lubos Lunak for the hint. svn path=/trunk/KDE/kdebase/apps/; revision=1013726
Diffstat (limited to 'src/dolphinapplication.h')
-rw-r--r--src/dolphinapplication.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/dolphinapplication.h b/src/dolphinapplication.h
index 4c6544361..af2006e7d 100644
--- a/src/dolphinapplication.h
+++ b/src/dolphinapplication.h
@@ -56,20 +56,6 @@ public:
/** @see KUniqueApplication::newInstance(). */
virtual int newInstance();
- /**
- * Find out if Dolphin is closed directly by the user or
- * by the session manager because the session is closed
- */
- bool closedBySessionManager() const;
-
- /**
- * This virtual function is called by the session manager when
- * it closes Dolphin. It is reimplemented to make the information
- * if Dolphin is closed by the session manager or not accessible in
- * DolphinMainWindow (via the function closedBySessionManager()).
- */
- virtual void commitData(QSessionManager& sessionManager);
-
public slots:
int openWindow(const KUrl& url);
int openSplitWindow(const KUrl& leftUrl,const KUrl& rightUrl);
@@ -81,9 +67,6 @@ protected:
private:
QList<DolphinMainWindow*> m_mainWindows;
int m_lastId;
-
- /** Is true if Dolphin is closed by the session manager **/
- bool m_closedBySessionManager;
};
#endif