Commit 3d725130 authored by Bartosz Brachaczek's avatar Bartosz Brachaczek

misc: Cleanup includes in misc.h header

Signed-off-by: 's avatarBartosz Brachaczek <b.brachaczek@gmail.com>
parent 9a861357
......@@ -28,7 +28,7 @@
#include "buddies/buddy.h"
#include "contacts/contact.h"
#include "misc/change-notifier.h"
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "avatar-shared.h"
......
......@@ -47,7 +47,7 @@
#include "gui/widgets/preview.h"
#include "gui/windows/message-dialog.h"
#include "message/message-render-info.h"
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "protocols/protocols-manager.h"
#include "chat-styles-manager.h"
......
......@@ -42,6 +42,8 @@
#include "icons/kadu-icon.h"
#include "identities/identity.h"
#include "message/message-render-info.h"
#include "misc/date-time.h"
#include "misc/kadu-paths.h"
#include "misc/misc.h"
#include "parser/parser.h"
#include "protocols/protocol-factory.h"
......
......@@ -31,6 +31,7 @@
#include "gui/widgets/preview.h"
#include "icons/kadu-icon.h"
#include "message/message-render-info.h"
#include "misc/kadu-paths.h"
#include "misc/misc.h"
#include "misc/syntax-list.h"
#include "parser/parser.h"
......
......@@ -33,7 +33,7 @@
#include <errno.h>
#include "core/core.h"
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "debug.h"
#include "kadu-config.h"
......
......@@ -56,7 +56,7 @@
#include "kadu-application.h"
#include "message/message-manager.h"
#include "misc/date-time-parser-tags.h"
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "notify/notification-manager.h"
#include "parser/parser.h"
#include "plugins/plugins-manager.h"
......
......@@ -25,7 +25,7 @@
#include <stdarg.h>
#include <stdio.h>
#include "misc/misc.h"
#include "misc/date-time.h"
#include "debug.h"
int debug_mask = -2;
......
......@@ -34,6 +34,7 @@
*/
#include <QtCore/QFileInfo>
#include <QtGui/QApplication>
#include <QtGui/QIcon>
#include <QtGui/QInputDialog>
#include <QtGui/QKeyEvent>
......
......@@ -23,6 +23,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QApplication>
#include <QtGui/QFileDialog>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
......
......@@ -27,7 +27,7 @@
#include <QtGui/QPushButton>
#include "gui/windows/message-dialog.h"
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "misc/syntax-list.h"
#include "syntax-editor.h"
......
......@@ -36,6 +36,7 @@
#include <QtCore/QString>
#include <QtCore/QTextStream>
#include <QtCore/QUrl>
#include <QtGui/QApplication>
#include <QtGui/QHBoxLayout>
#include <QtGui/QKeyEvent>
#include <QtGui/QMouseEvent>
......@@ -48,6 +49,7 @@
#include "core/core.h"
#include "icons/kadu-icon.h"
#include "misc/kadu-paths.h"
#include "misc/misc.h"
#include "os/generic/url-opener.h"
#include "url-handlers/mail-url-handler.h"
......
......@@ -25,6 +25,7 @@
*/
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QDialogButtonBox>
......
......@@ -17,6 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QApplication>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QFormLayout>
#include <QtGui/QLabel>
......
......@@ -17,6 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QApplication>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QFormLayout>
#include <QtGui/QLabel>
......
......@@ -32,6 +32,7 @@
*/
#include <QtCore/QTimer>
#include <QtGui/QApplication>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QDialogButtonBox>
......
......@@ -22,6 +22,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QApplication>
#include <QtGui/QCheckBox>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QKeyEvent>
......
......@@ -21,6 +21,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QApplication>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QKeyEvent>
#include <QtGui/QPushButton>
......
......@@ -21,6 +21,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QApplication>
#include <QtGui/QCheckBox>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QFileDialog>
......
......@@ -61,7 +61,7 @@
#include "gui/widgets/tool-tip-class-manager.h"
#include "gui/windows/kadu-window.h"
#include "message/message-render-info.h"
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "network/proxy/network-proxy.h"
#include "status/status-container.h"
#include "status/status.h"
......
......@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QApplication>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
......
......@@ -23,6 +23,7 @@
#include <QtDeclarative/QDeclarativeContext>
#include <QtDeclarative/QDeclarativeView>
#include <QtGui/QApplication>
#include <QtGui/QDesktopWidget>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QGraphicsObject>
......@@ -43,6 +44,7 @@
#include "gui/widgets/chat-widget.h"
#include "gui/widgets/filtered-tree-view.h"
#include "gui/widgets/line-edit-with-clear-button.h"
#include "misc/kadu-paths.h"
#include "misc/misc.h"
#include "model/model-chain.h"
#include "model/roles.h"
......
......@@ -32,6 +32,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "QtGui/QApplication"
#include "QtGui/QDialogButtonBox"
#include "QtGui/QGroupBox"
#include "QtGui/QHBoxLayout"
......
......@@ -19,6 +19,7 @@
#include <QtCore/QUrl>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QComboBox>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QFormLayout>
......
......@@ -24,6 +24,7 @@
*/
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QComboBox>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QFormLayout>
......
......@@ -23,7 +23,7 @@
#include <QtCore/QDir>
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "languages-manager.h"
......
......@@ -61,7 +61,8 @@
#include "protocols/protocols-manager.h"
#include "icons/icons-manager.h"
#include "misc/misc.h"
#include "misc/date-time.h"
#include "misc/kadu-paths.h"
#include "debug.h"
#include "kadu-application.h"
#include "kadu-config.h"
......
......@@ -30,6 +30,7 @@
#include "configuration/configuration-file.h"
#include "emoticons/emoticons-manager.h"
#include "icons/kadu-icon.h"
#include "misc/date-time.h"
#include "misc/misc.h"
#include "parser/parser.h"
#include "protocols/services/chat-image-service.h"
......
......@@ -32,13 +32,12 @@
#ifndef KADU_MISC_H
#define KADU_MISC_H
#include <QtGui/QApplication>
#include "date-time.h"
#include "kadu-paths.h"
#include "exports.h"
class QRect;
class QString;
class QWidget;
template<typename T> class QList;
KADUAPI QString replacedNewLine(const QString &text, const QString &newLineText);
......@@ -52,7 +51,7 @@ void KADUAPI setWindowGeometry(QWidget *w, const QRect &geometry);
void KADUAPI saveWindowGeometry(const QWidget *w, const QString &section, const QString &name);
void KADUAPI loadWindowGeometry(QWidget *w, const QString &section, const QString &name, int defaultX, int defaultY, int defaultWidth, int defaultHeight);
QRect stringToRect(const QString &value, const QRect *def = NULL);
QRect stringToRect(const QString &value, const QRect *def = 0);
QString rectToString(const QRect& rect);
QList<int> stringToIntList(const QString &in);
......
......@@ -27,7 +27,7 @@
#include <QtCore/QFileInfo>
#include <QtCore/QTextStream>
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "syntax-list.h"
......
......@@ -28,6 +28,7 @@
#include "configuration/configuration-file.h"
#include "gui/windows/message-dialog.h"
#include "misc/kadu-paths.h"
#include "misc/misc.h"
#include "debug.h"
......
......@@ -25,7 +25,7 @@
#include "contacts/contact-manager.h"
#include "contacts/contact.h"
#include "misc/change-notifier.h"
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "keys/keys-manager.h"
......
......@@ -29,7 +29,7 @@
#include "accounts/account-manager.h"
#include "accounts/account.h"
#include "configuration/configuration-file.h"
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "status/status-changer-manager.h"
#include "debug.h"
......
......@@ -57,7 +57,7 @@ Nowa funkcjonalnosc - Dorregaray
#include "gui/windows/search-window.h"
#include "icons/icons-manager.h"
#include "message/message-manager.h"
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "notify/notification-manager.h"
#include "notify/notification/notification.h"
#include "services/message-filter-service.h"
......
......@@ -20,6 +20,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QApplication>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QFormLayout>
#include <QtGui/QIntValidator>
......
......@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QApplication>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QFormLayout>
#include <QtGui/QKeyEvent>
......
......@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QApplication>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QFormLayout>
#include <QtGui/QKeyEvent>
......
......@@ -41,7 +41,7 @@
#include "gui/widgets/configuration/config-spin-box.h"
#include "gui/widgets/configuration/configuration-widget.h"
#include "gui/windows/main-configuration-window.h"
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "parser/parser.h"
#include "hint_manager.h"
......
......@@ -30,6 +30,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QApplication>
#include <QtGui/QDesktopWidget>
#include <QtGui/QHBoxLayout>
#include <QtGui/QLabel>
......
......@@ -21,6 +21,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QApplication>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QDesktopWidget>
......@@ -40,7 +41,7 @@
#include "hint-over-user-configuration-window.h"
#include "hints-plugin.h"
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "activate.h"
#include "hints-configuration-ui-handler.h"
......
......@@ -33,7 +33,7 @@
#include "core/core.h"
#include "gui/windows/kadu-window.h"
#include "gui/windows/message-dialog.h"
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "plugins/history/history.h"
#include "debug.h"
......
......@@ -21,6 +21,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QApplication>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QFormLayout>
#include <QtGui/QKeyEvent>
......
......@@ -24,6 +24,7 @@
*/
#include <QtCore/QStringList>
#include <QtGui/QApplication>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QMenu>
#include <QtGui/QPushButton>
......
......@@ -20,6 +20,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QtGui/QApplication>
#include <QtGui/QAction>
#include <QtGui/QCheckBox>
#include <QtGui/QDialogButtonBox>
......
......@@ -41,7 +41,7 @@
#include "gui/widgets/configuration/config-group-box.h"
#include "gui/widgets/configuration/configuration-widget.h"
#include "gui/widgets/custom-input.h"
#include "misc/misc.h"
#include "misc/kadu-paths.h"
#include "debug.h"
#include "html_document.h"
......
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