Commit 4279e524 authored by Rafał Malinowski's avatar Rafał Malinowski

code: sort includes

Signed-off-by: Rafał Malinowski's avatarRafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
parent b465d55e
......@@ -21,14 +21,14 @@
*/
#include "accounts/account-manager.h"
#include "buddy.h"
#include "buddies/buddy-set.h"
#include "chat/chat.h"
#include "chat/chat-manager.h"
#include "chat/chat.h"
#include "contacts/contact-set.h"
#include "gui/widgets/chat-widget-manager.h"
#include "gui/widgets/chat-widget.h"
#include "status/status-container.h"
#include "buddy.h"
#include "buddies/buddy-preferred-manager.h"
......
......@@ -22,18 +22,18 @@
#include "accounts/account-manager.h"
#include "accounts/account.h"
#include "buddies/buddy.h"
#include "buddies/buddy-list-mime-data-helper.h"
#include "buddies/buddy-preferred-manager.h"
#include "contacts/contact.h"
#include "buddies/buddy.h"
#include "contacts/contact-manager.h"
#include "contacts/contact.h"
#include "contacts/model/contact-data-extractor.h"
#include "model/roles.h"
#include "protocols/protocol.h"
#include "talkable/talkable.h"
#include "buddy-list-model.h"
#include "buddy-data-extractor.h"
#include "buddy-list-model.h"
BuddyListModel::BuddyListModel(QObject *parent) :
QAbstractItemModel(parent), Checkable(false)
......
......@@ -27,8 +27,8 @@
#include "accounts/accounts-aware-object.h"
#include "buddies/buddy-list.h"
#include "buddies/buddy.h"
#include "buddies/buddy-set.h"
#include "buddies/buddy.h"
#include "status/status.h"
#include "exports.h"
......
......@@ -19,8 +19,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "buddies/model/buddy-list-model.h"
#include "buddies/buddy-manager.h"
#include "buddies/model/buddy-list-model.h"
#include "buddy-manager-adapter.h"
......
......@@ -22,8 +22,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "chat/chat-details-contact.h"
#include "chat/chat-details-contact-set.h"
#include "chat/chat-details-contact.h"
#include "chat/type/chat-type-manager.h"
#include "message/message-manager.h"
......
......@@ -29,8 +29,8 @@
#include "buddies/group-manager.h"
#include "chat/chat-details.h"
#include "chat/chat-manager.h"
#include "chat/type/chat-type.h"
#include "chat/type/chat-type-manager.h"
#include "chat/type/chat-type.h"
#include "configuration/configuration-file.h"
#include "contacts/contact-set.h"
#include "misc/change-notifier.h"
......
......@@ -24,8 +24,8 @@
#include <QtCore/QVector>
#include "chat/chat.h"
#include "exports.h"
#include "model/kadu-abstract-model.h"
#include "exports.h"
class KADUAPI ChatListModel : public QAbstractItemModel, public KaduAbstractModel
{
......
......@@ -19,8 +19,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "chat/model/chat-list-model.h"
#include "chat/chat-manager.h"
#include "chat/model/chat-list-model.h"
#include "chat-manager-adapter.h"
......
......@@ -24,9 +24,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "chat/chat.h"
#include "chat/chat-details-contact.h"
#include "chat/chat-manager.h"
#include "chat/chat.h"
#include "contacts/contact-set.h"
#include "icons/kadu-icon.h"
......
......@@ -21,8 +21,8 @@
#include "chat/type/chat-type-aware-object.h"
#include "chat/type/chat-type-buddy.h"
#include "chat/type/chat-type-contact.h"
#include "chat/type/chat-type-contact-set.h"
#include "chat/type/chat-type-contact.h"
#include "chat/type/chat-type-room.h"
#include "icons/icons-manager.h"
......
......@@ -17,9 +17,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "chat/chat.h"
#include "chat/chat-manager.h"
#include "chat/chat-details-room.h"
#include "chat/chat-manager.h"
#include "chat/chat.h"
#include "gui/widgets/chat-room-edit-widget.h"
#include "icons/kadu-icon.h"
......
......@@ -22,8 +22,8 @@
#include <QtCore/QString>
#include "exports.h"
#include "misc/variant-wrapper.h"
#include "exports.h"
/**
* @addtogroup Configuration
......
......@@ -23,8 +23,8 @@
#include <QtCore/QPair>
#include <QtCore/QTimer>
#include "buddies/buddy.h"
#include "buddies/buddy-manager.h"
#include "buddies/buddy.h"
#include "configuration/configuration-file.h"
#include "configuration/configuration-manager.h"
#include "contacts/contact-parser-tags.h"
......
......@@ -30,8 +30,8 @@
#include "contacts/contact-manager.h"
#include "core/core.h"
#include "misc/change-notifier.h"
#include "protocols/protocol.h"
#include "protocols/protocol-factory.h"
#include "protocols/protocol.h"
#include "protocols/protocols-manager.h"
#include "protocols/services/roster/roster-entry.h"
......
......@@ -61,7 +61,6 @@
#include "gui/windows/search-window.h"
#include "icons/icons-manager.h"
#include "icons/kadu-icon.h"
#include "kadu-application.h"
#include "message/message-html-renderer-service.h"
#include "message/message-manager.h"
#include "misc/date-time-parser-tags.h"
......@@ -73,8 +72,8 @@
#include "protocols/protocol.h"
#include "provider/default-provider.h"
#include "provider/simple-provider.h"
#include "services/chat-image-request-service.h"
#include "services/chat-image-request-service-configurator.h"
#include "services/chat-image-request-service.h"
#include "services/image-storage-service.h"
#include "services/message-filter-service.h"
#include "services/message-transformer-service.h"
......@@ -88,6 +87,7 @@
#include "url-handlers/url-handler-manager.h"
#include "activate.h"
#include "debug.h"
#include "kadu-application.h"
#include "kadu-config.h"
#include "updates.h"
......
......@@ -20,8 +20,8 @@
#include <QtXml/QDomDocument>
#include "dom/dom-processor.h"
#include "dom/dom-visitor.h"
#include "dom/dom-visitor-provider.h"
#include "dom/dom-visitor.h"
#include "dom-processor-service.h"
......
......@@ -23,12 +23,12 @@
#include <QtGui/QFileDialog>
#include "gui/actions/action-context.h"
#include "configuration/configuration-file.h"
#include "contacts/contact-set.h"
#include "core/core.h"
#include "file-transfer/file-transfer-handler.h"
#include "file-transfer/file-transfer-manager.h"
#include "gui/actions/action-context.h"
#include "gui/actions/action-description.h"
#include "gui/actions/action.h"
#include "gui/menu/menu-inventory.h"
......
......@@ -27,7 +27,6 @@
#include <QtGui/QMessageBox>
#include "accounts/account.h"
#include "activate.h"
#include "chat/chat-manager.h"
#include "chat/chat.h"
#include "chat/type/chat-type-contact.h"
......@@ -46,6 +45,7 @@
#include "protocols/protocol.h"
#include "protocols/services/file-transfer-service.h"
#include "storage/storage-point.h"
#include "activate.h"
#include "debug.h"
#include "file-transfer-manager.h"
......
......@@ -22,12 +22,12 @@
#include <QtGui/QTextDocument>
#include "chat/type/chat-type-contact.h"
#include "debug.h"
#include "file-transfer/file-transfer-manager.h"
#include "identities/identity.h"
#include "misc/misc.h"
#include "notify/notification-manager.h"
#include "notify/notify-event.h"
#include "debug.h"
#include "file-transfer-notifications.h"
......
......@@ -24,8 +24,8 @@
#include <QtCore/QStack>
#include <QtCore/QString>
#include "exports.h"
#include "formatted-string/formatted-string-visitor.h"
#include "exports.h"
class FormattedString;
......
......@@ -23,8 +23,8 @@
#include <QtCore/QString>
#include <QtXml/QDomDocument>
#include "exports.h"
#include "formatted-string/formatted-string-visitor.h"
#include "exports.h"
/**
* @addtogroup FormattedString
......
......@@ -22,8 +22,8 @@
#include <QtCore/QString>
#include "exports.h"
#include "formatted-string/formatted-string-visitor.h"
#include "exports.h"
/**
* @addtogroup FormattedString
......
......@@ -22,8 +22,8 @@
#include <QtCore/QString>
#include "exports.h"
#include "formatted-string/formatted-string-visitor.h"
#include "exports.h"
/**
* @addtogroup FormattedString
......
......@@ -26,10 +26,10 @@
#include "gui/actions/action-context.h"
#include "gui/actions/action.h"
#include "gui/windows/add-buddy-window.h"
#include "gui/windows/buddy-data-window.h"
#include "gui/windows/buddy-data-window-repository.h"
#include "gui/windows/chat-data-window.h"
#include "gui/windows/buddy-data-window.h"
#include "gui/windows/chat-data-window-repository.h"
#include "gui/windows/chat-data-window.h"
#include "gui/windows/kadu-window.h"
#include "edit-talkable-action.h"
......
......@@ -19,11 +19,11 @@
#include <QtGui/QMenu>
#include "accounts/account.h"
#include "accounts/account-manager.h"
#include "accounts/account.h"
#include "gui/actions/action.h"
#include "gui/widgets/chat-widget.h"
#include "gui/widgets/chat-widget-manager.h"
#include "gui/widgets/chat-widget.h"
#include "gui/widgets/recent-chats-menu.h"
#include "recent-chats-action.h"
......
......@@ -24,12 +24,12 @@
#include "contacts/contact-set.h"
#include "core/core.h"
#include "gui/windows/kadu-window.h"
#include "gui/actions/action.h"
#include "gui/actions/action-description.h"
#include "gui/actions/action.h"
#include "gui/menu/menu-inventory.h"
#include "menu-item.h"
#include "gui/windows/kadu-window.h"
#include "protocols/protocol-menu-manager.h"
#include "menu-item.h"
#include "kadu-menu.h"
......
......@@ -25,8 +25,8 @@
#include <QtCore/QObject>
#include "kadu-menu.h"
#include "exports.h"
#include "kadu-menu.h"
class QMenu;
class QWidget;
......
......@@ -29,8 +29,8 @@
#include "avatars/avatar.h"
#include "icons/kadu-icon.h"
#include "protocols/protocol-factory.h"
#include "protocols/protocols-manager.h"
#include "protocols/protocol.h"
#include "protocols/protocols-manager.h"
#include "protocols/services/avatar-service.h"
#include "protocols/services/avatar-uploader.h"
......
......@@ -26,8 +26,8 @@
#include "account-configuration-widget-factory-repository.h"
#include "account-edit-widget.h"
#include "account-configuration-widget-factory.h"
#include "account-edit-widget.h"
AccountEditWidget::AccountEditWidget(AccountConfigurationWidgetFactoryRepository *accountConfigurationWidgetFactoryRepository, Account account, QWidget *parent) :
AccountConfigurationWidget(account, parent), MyAccountConfigurationWidgetFactoryRepository(accountConfigurationWidgetFactoryRepository),
......
......@@ -22,9 +22,9 @@
#include "model/action-filter-proxy-model.h"
#include "model/action-list-model.h"
#include "model/roles.h"
#include "model/merged-proxy-model-factory.h"
#include "model/model-chain.h"
#include "model/roles.h"
#include "actions-combo-box.h"
......
......@@ -46,9 +46,9 @@
#include "contacts/contact.h"
#include "gui/widgets/buddy-avatar-widget.h"
#include "gui/widgets/buddy-contacts-table.h"
#include "gui/widgets/simple-configuration-value-state-notifier.h"
#include "gui/widgets/composite-configuration-value-state-notifier.h"
#include "gui/widgets/simple-configuration-value-state-notifier.h"
#include "gui/widgets/simple-configuration-value-state-notifier.h"
#include "gui/windows/message-dialog.h"
#include "icons/icons-manager.h"
#include "misc/misc.h"
......
......@@ -33,9 +33,9 @@
#include <math.h> // trunc on C99 compliant systems
#include <QPaintEvent>
#include <QPainter>
#include <QScrollBar>
#include <QPaintEvent>
#include "gui/widgets/categorized-list-view-painter.h"
#include "model/categorized-sort-filter-proxy-model.h"
......
......@@ -19,8 +19,8 @@
#include <QtGui/QVBoxLayout>
#include "gui/widgets/chat-top-bar-widget-factory.h"
#include "gui/widgets/chat-top-bar-widget-factory-repository.h"
#include "gui/widgets/chat-top-bar-widget-factory.h"
#include "chat-top-bar-container-widget.h"
......
......@@ -36,12 +36,12 @@
#include "gui/actions/action.h"
#include "gui/actions/actions.h"
#include "gui/actions/chat/leave-chat-action.h"
#include "gui/actions/edit-talkable-action.h"
#include "gui/menu/menu-inventory.h"
#include "gui/widgets/chat-edit-box.h"
#include "gui/widgets/chat-messages-view.h"
#include "gui/widgets/chat-widget-manager.h"
#include "gui/widgets/chat-widget.h"
#include "gui/actions/edit-talkable-action.h"
#include "gui/widgets/toolbar.h"
#include "gui/windows/kadu-window-actions.h"
#include "gui/windows/message-dialog.h"
......
......@@ -40,8 +40,8 @@
#include "icons/icons-manager.h"
#include "message/message-manager.h"
#include "message/message-render-info.h"
#include "services/notification-service.h"
#include "protocols/protocol-factory.h"
#include "services/notification-service.h"
#include "activate.h"
#include "chat-widget-manager.h"
......
......@@ -21,13 +21,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QFormLayout>
#include <QtGui/QIcon>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QFormLayout>
#include "icons/kadu-icon.h"
#include "buddies/group-manager.h"
#include "icons/kadu-icon.h"
#include "add-group-dialog-widget.h"
......
......@@ -21,12 +21,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// #include <QtGui/QIcon>
// #include <QtGui/QLabel>
#include <QtGui/QLineEdit>
// #include <QtGui/QFormLayout>
// #include "icons/kadu-icon.h"
#include "buddies/group-manager.h"
......
......@@ -26,12 +26,12 @@
#include <QtGui/QIcon>
#include <QtGui/QLabel>
#include "icons/kadu-icon.h"
#include "buddies/buddy-manager.h"
#include "buddies/model/buddy-list-model.h"
#include "buddies/model/buddy-manager-adapter.h"
#include "core/core.h"
#include "gui/widgets/select-talkable-combo-box.h"
#include "icons/kadu-icon.h"
#include "talkable/filter/exclude-buddy-talkable-filter.h"
......
......@@ -23,9 +23,9 @@
#include <QtGui/QApplication>
#include <QtGui/QCheckBox>
#include <QtGui/QFormLayout>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QFormLayout>
#include "icons/kadu-icon.h"
......
......@@ -18,8 +18,8 @@
*/
#include <QtGui/QFrame>
#include <QtGui/QLabel>
#include <QtGui/QGridLayout>
#include <QtGui/QLabel>
#include <QtGui/QVBoxLayout>
#include "title-widget.h"
......
......@@ -26,8 +26,8 @@
#include <QtGui/QTreeView>
#include "exports.h"
#include "configuration/configuration-aware-object.h"
#include "exports.h"
class QTemporaryFile;
......
......@@ -58,8 +58,8 @@
# include <QtWebKit/QWebInspector>
#endif
#include "core/core.h"
#include "configuration/configuration-file.h"
#include "core/core.h"
#include "gui/services/clipboard-html-transformer-service.h"
#include "gui/windows/message-dialog.h"
#include "protocols/services/chat-image-service.h"
......
......@@ -25,18 +25,18 @@
#include <math.h>
#include <QtCore/qobjectdefs.h>
#include <QtCore/QMetaObject>
#include <QtCore/QHash>
#include <QtCore/QList>
#include <QtCore/QMetaMethod>
#include <QtCore/QMetaObject>
#include <QtCore/QMetaProperty>
#include <QtCore/QPair>
#include <QtCore/QHash>
#include <QtCore/QList>
#include <QtGui/QWidget>
#include <QtCore/qobjectdefs.h>
#include <QtGui/QAbstractItemView>
#include <QtGui/QAbstractProxyModel>
#include <QtGui/QApplication>
#include <QtGui/QInputEvent>
#include <QtGui/QAbstractProxyModel>
#include <QtGui/QWidget>
#include "gui/widgets/plugin-list-view-delegate.h"
......
......@@ -24,9 +24,9 @@
#ifndef PLUGIN_LIST_WIDGET_DELEGATE_WIDGETS_H
#define PLUGIN_LIST_WIDGET_DELEGATE_WIDGETS_H
#include <QtCore/QModelIndex>
#include <QtCore/QHash>
#include <QtCore/QList>
#include <QtCore/QModelIndex>
class QWidget;
class QStyleOptionViewItem;
......
......@@ -21,25 +21,25 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QIcon>
#include <QSize>
#include <QStyle>
#include <QAbstractItemView>
#include <QAbstractProxyModel>
#include <QApplication>
#include <QBitmap>
#include <QCoreApplication>
#include <QCursor>
#include <QEvent>
#include <QHoverEvent>
#include <QFocusEvent>
#include <QCursor>
#include <QTimer>
#include <QBitmap>
#include <QHoverEvent>
#include <QIcon>
#include <QKeyEvent>
#include <QLayout>
#include <QPaintEngine>
#include <QPainter>
#include <QScrollBar>
#include <QKeyEvent>
#include <QApplication>
#include <QSize>
#include <QStyle>
#include <QStyleOption>
#include <QPaintEngine>
#include <QCoreApplication>
#include <QAbstractItemView>
#include <QAbstractProxyModel>
#include <QTimer>
#include <QTreeView>
#include "gui/widgets/plugin-list-view-delegate-widgets.h"
......
......@@ -34,19 +34,19 @@
#include <QtGui/QStyleOptionViewItemV4>
#include "configuration/configuration-manager.h"
#include "gui/widgets/categorized-list-view.h"
#include "gui/widgets/categorized-list-view-painter.h"
#include "gui/widgets/categorized-list-view.h"
#include "gui/widgets/plugin-list-view-delegate.h"
#include "gui/widgets/plugin-list-widget.h"
#include "gui/windows/message-dialog.h"
#include "icons/kadu-icon.h"
#include "model/categorized-sort-filter-proxy-model.h"
#include "plugins/model/plugin-model.h"
#include "plugins/model/plugin-model.h"
#include "plugins/model/plugin-proxy-model.h"
#include "plugins/plugin.h"
#include "plugins/plugin-info.h"
#include "plugins/plugin.h"
#include "plugins/plugins-manager.h"
#include "plugins/model/plugin-model.h"
#include "plugin-list-widget-item-delegate.h"
......
......@@ -33,21 +33,21 @@
#include <QtGui/QStyleOptionViewItemV4>
#include "configuration/configuration-manager.h"
#include "gui/widgets/categorized-list-view.h"
#include "gui/widgets/categorized-list-view-painter.h"
#include "gui/widgets/categorized-list-view.h"
#include "gui/widgets/configuration/config-section.h"
#include "gui/widgets/configuration/configuration-widget.h"
#include "gui/widgets/filter-widget.h"
#include "gui/widgets/plugin-list-view-delegate.h"
#include "gui/widgets/plugin-list-widget-item-delegate.h"
#include "gui/widgets/configuration/config-section.h"
#include "gui/widgets/configuration/configuration-widget.h"
#include "gui/windows/main-configuration-window.h"
#include "gui/windows/message-dialog.h"
#include "icons/kadu-icon.h"
#include "model/categorized-sort-filter-proxy-model.h"
#include "plugins/model/plugin-model.h"
#include "plugins/model/plugin-proxy-model.h"
#include "plugins/plugin.h"
#include "plugins/plugin-info.h"
#include "plugins/plugin.h"
#include "plugins/plugins-manager.h"
#include "plugin-list-widget.h"
......
......@@ -23,10 +23,10 @@
#include <QtGui/QWidget>
#include "configuration/configuration-aware-object.h"
#include "exports.h"
#include "gui/actions/action-context-provider.h"