Skip to content

Commit

Permalink
include classes instead of the whole Qt modules
Browse files Browse the repository at this point in the history
  • Loading branch information
volkov0aa committed May 13, 2014
1 parent 8d1b2c5 commit 05556b2
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 17 deletions.
2 changes: 2 additions & 0 deletions include/JuffPlugin.h
Expand Up @@ -19,6 +19,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#ifndef __JUFF_PLUGIN_H__
#define __JUFF_PLUGIN_H__

#include <QtPlugin>

#include "LibConfig.h"

#include "DocHandlerInt.h"
Expand Down
5 changes: 3 additions & 2 deletions plugins/autosave/autosave.cpp
Expand Up @@ -18,8 +18,9 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
***************************************************************************/

#include <QtCore>
#include <QtGui>
#include <QTimer>
#include <QHBoxLayout>
#include <QLabel>

#include <PluginSettings.h>
#include "autosave.h"
Expand Down
1 change: 0 additions & 1 deletion plugins/colorpicker/ColorPickerPlugin.cpp
@@ -1,6 +1,5 @@
#include "ColorPickerPlugin.h"

#include <QtCore>
#include <QToolBar>
#include <QColorDialog>

Expand Down
1 change: 0 additions & 1 deletion plugins/colorpicker/ColorPickerPlugin.h
@@ -1,7 +1,6 @@
#ifndef _COLOR_PICKER_PLUGIN_H_
#define _COLOR_PICKER_PLUGIN_H_

#include <QtCore>
#include <QtCore/QObject>

#include <JuffPlugin.h>
Expand Down
2 changes: 0 additions & 2 deletions plugins/doclist/DocListPlugin.cpp
@@ -1,7 +1,5 @@
#include "DocListPlugin.h"

#include <QtCore>

//#include "CommandStorage.h"
#include "Document.h"
#include "DocListPanel.h"
Expand Down
1 change: 0 additions & 1 deletion plugins/favorites/FavoritesPlugin.cpp
@@ -1,7 +1,6 @@
#include "FavoritesPlugin.h"
#include "ManageDlg.h"

#include <QtCore>
#include <QMenu>

#include <Document.h>
Expand Down
1 change: 0 additions & 1 deletion plugins/favorites/FavoritesPlugin.h
@@ -1,7 +1,6 @@
#ifndef _FAVORITES_PLUGIN_H_
#define _FAVORITES_PLUGIN_H_

#include <QtCore>
#include <QtCore/QObject>

#include <JuffPlugin.h>
Expand Down
2 changes: 1 addition & 1 deletion plugins/findinfiles/FindInFilesPlugin.cpp
Expand Up @@ -5,7 +5,7 @@
#include "SearchDlg.h"
#include "FindWorker.h"

#include <QtCore>
#include <QtCore/QFileInfo>
#include <QAction>
#include <QHeaderView>
#include <QLabel>
Expand Down
1 change: 0 additions & 1 deletion plugins/fm/FMPlugin.cpp
@@ -1,6 +1,5 @@
#include "FMPlugin.h"

#include <QtCore>
#include <QCompleter>
#include <QHeaderView>
#include <QInputDialog>
Expand Down
2 changes: 1 addition & 1 deletion plugins/fm/FMPlugin.h
Expand Up @@ -5,7 +5,7 @@ class QLineEdit;
class QAction;
class TreeView;

#include <QtCore>
#include <QDebug>
#include <QtCore/QObject>
#include <QtCore/QStack>
#include <QFileSystemModel>
Expand Down
1 change: 0 additions & 1 deletion plugins/keybindings/KeysPlugin.h
Expand Up @@ -3,7 +3,6 @@

class KeysPage;

#include <QtCore>
#include <QtCore/QObject>

#include "JuffPlugin.h"
Expand Down
2 changes: 0 additions & 2 deletions plugins/sort/sort.cpp
Expand Up @@ -20,8 +20,6 @@


#include "sort.h"
#include <QtCore>
#include <QtGui>

#include "Document.h"

Expand Down
2 changes: 1 addition & 1 deletion plugins/symbolbrowser/SymbolBrowser.cpp
Expand Up @@ -18,7 +18,7 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
***************************************************************************/

#include <QtCore>
#include <QtCore/QFileInfo>
#include <QWidget>
#include <QVBoxLayout>

Expand Down
3 changes: 1 addition & 2 deletions plugins/xmlformat/xmlformat.cpp
Expand Up @@ -21,8 +21,7 @@

#include "xmlformat.h"

#include <QtCore>
#include <QtGui>
#include <QMessageBox>
#include <QDomDocument>

#include "EditorSettings.h"
Expand Down

0 comments on commit 05556b2

Please sign in to comment.