From a10c41adb4df9015183ca01a4dd07c519619827c Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 7 Oct 2011 19:59:23 +0200 Subject: Clean up windows close and app quit --- src/mainwindow.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index 3144222b..df6e40c1 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -115,8 +115,6 @@ public Q_SLOTS: void changeWindowIcon(int index); - bool close(); - Q_SIGNALS: // switching tabs void ctrlTabPressed(); @@ -139,7 +137,10 @@ protected: void keyPressEvent(QKeyEvent *event); void moveEvent(QMoveEvent *event); void resizeEvent(QResizeEvent *event); + void closeEvent(QCloseEvent *event); + bool event(QEvent *event); + void finalizeGUI(KXMLGUIClient *client); private Q_SLOTS: -- cgit v1.2.1