Commit d54c70c1 authored by Jan Lepper's avatar Jan Lepper
Browse files

uninclude krglobal.h from krusader.h

parent bf9dc941
......@@ -20,6 +20,7 @@
#include "checksumdlg.h"
#include "../krusader.h"
#include "../krglobal.h"
#include "../GUI/krlistwidget.h"
#include "../GUI/krtreewidget.h"
#include <klocale.h>
......
......@@ -31,6 +31,7 @@
#include <kactioncollection.h>
#include "../krusader.h"
#include "../krglobal.h"
//This is the filter in the KFileDialog of Import/Export:
static const char* FILE_FILTER = I18N_NOOP("*.keymap|Krusader keymaps\n*|all files");
......
......@@ -50,7 +50,6 @@
#include "expander.h"
#include "useraction.h"
#include "../GUI/terminaldock.h"
#include "../krusader.h"
#include "../krglobal.h"
#include "../krusaderview.h"
#include "../defaults.h"
......
......@@ -42,6 +42,7 @@
#include <kio/global.h>
#include "../krusader.h"
#include "../krglobal.h"
#include "../krusaderview.h"
#include "../defaults.h"
#include "../krservices.h"
......
......@@ -1234,4 +1234,11 @@ bool Krusader::isRunning() {
return true;
}
bool Krusader::queryExit()
{
krConfig->sync();
return true;
}
#include "krusader.moc"
......@@ -50,7 +50,6 @@
#include <QHideEvent>
#include <kdebug.h>
#include "VFS/kiojobwrapper.h"
#include "krglobal.h"
#ifdef __KJSEMBED__
class KrJS;
......@@ -104,10 +103,7 @@ public slots:
}
protected:
bool queryExit() {
krConfig->sync();
return true;
}
bool queryExit();
bool queryClose();
void setupActions();
void setupAccels();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment