mirror of https://github.com/procxx/kepka.git
Add missing includes
This commit is contained in:
parent
a8e998a3e5
commit
155c260f80
|
|
@ -41,6 +41,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "apiwrap.h"
|
||||
#include "observer_peer.h"
|
||||
#include "auth_session.h"
|
||||
#include <QGuiApplication>
|
||||
#include <QClipboard>
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "ui/toast/toast.h"
|
||||
#include "boxes/confirm_box.h"
|
||||
#include "facades.h"
|
||||
#include "app.h" // For formatPhone
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "ui/special_buttons.h"
|
||||
#include "boxes/calendar_box.h"
|
||||
#include "facades.h"
|
||||
#include "app.h" // For App::peerName
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "apiwrap.h"
|
||||
#include "auth_session.h"
|
||||
#include "lang/lang_keys.h"
|
||||
|
||||
#include "app.h" // For App::user, App::feedUsers
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "mainwindow.h"
|
||||
#include "auth_session.h"
|
||||
#include "facades.h"
|
||||
#include "app.h" // For App::wnd
|
||||
#include "layout.h" // For formatSizeText
|
||||
|
||||
LocalStorageBox::LocalStorageBox(QWidget *parent)
|
||||
: _clear(this, lang(lng_local_storage_clear), st::boxLinkButton) {
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "auth_session.h"
|
||||
#include "window/notifications_manager.h"
|
||||
#include "platform/platform_specific.h"
|
||||
#include "app.h" // For App::pixmapFromImageInPlace
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
|
|||
|
|
@ -34,6 +34,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "ui/widgets/scroll_area.h"
|
||||
#include "auth_session.h"
|
||||
#include "messenger.h"
|
||||
#include <QApplication>
|
||||
#include <QClipboard>
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "ui/toast/toast.h"
|
||||
#include "styles/style_boxes.h"
|
||||
#include "messenger.h"
|
||||
#include <QApplication>
|
||||
#include <QClipboard>
|
||||
|
||||
UsernameBox::UsernameBox(QWidget*)
|
||||
: _username(this, st::defaultInputField, [] { return qsl("@username"); }, App::self()->username, false)
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "ui/effects/ripple_animation.h"
|
||||
#include "calls/calls_instance.h"
|
||||
#include "history/history_media_types.h"
|
||||
#include "app.h"
|
||||
|
||||
namespace Calls {
|
||||
namespace {
|
||||
|
|
|
|||
|
|
@ -36,6 +36,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "media/media_audio_track.h"
|
||||
|
||||
#include "boxes/rate_call_box.h"
|
||||
#include "app.h"
|
||||
|
||||
namespace Calls {
|
||||
namespace {
|
||||
|
||||
|
|
|
|||
|
|
@ -38,6 +38,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "platform/platform_specific.h"
|
||||
#include "base/task_queue.h"
|
||||
#include "window/main_window.h"
|
||||
#include "app.h"
|
||||
#include <QApplication>
|
||||
|
||||
namespace Calls {
|
||||
namespace {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "observer_peer.h"
|
||||
#include "boxes/abstract_box.h"
|
||||
#include "base/timer.h"
|
||||
#include "app.h"
|
||||
|
||||
namespace Calls {
|
||||
namespace {
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "styles/style_widgets.h"
|
||||
#include "styles/style_history.h"
|
||||
#include "facades.h"
|
||||
#include "app.h"
|
||||
|
||||
BotKeyboard::BotKeyboard(QWidget *parent) : TWidget(parent)
|
||||
, _st(&st::botKbButton) {
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "styles/style_chat_helpers.h"
|
||||
#include "ui/widgets/shadow.h"
|
||||
#include "lang/lang_keys.h"
|
||||
#include "app.h"
|
||||
|
||||
namespace ChatHelpers {
|
||||
namespace {
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "styles/style_chat_helpers.h"
|
||||
#include "auth_session.h"
|
||||
#include "chat_helpers/stickers.h"
|
||||
#include "app.h"
|
||||
#include <QApplication>
|
||||
|
||||
FieldAutocomplete::FieldAutocomplete(QWidget *parent) : TWidget(parent)
|
||||
, _scroll(this, st::mentionScroll) {
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "lang/lang_keys.h"
|
||||
#include "mainwindow.h"
|
||||
#include "window/window_controller.h"
|
||||
#include "app.h"
|
||||
#include <QApplication>
|
||||
|
||||
namespace ChatHelpers {
|
||||
namespace {
|
||||
|
|
|
|||
|
|
@ -36,6 +36,9 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "auth_session.h"
|
||||
#include "observer_peer.h"
|
||||
#include "apiwrap.h"
|
||||
#include "chat_helpers/tabbed_selector.h"
|
||||
#include <QApplication>
|
||||
#include <QWidget>
|
||||
|
||||
namespace ChatHelpers {
|
||||
namespace {
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
|
||||
#include "base/observer.h"
|
||||
#include "mtproto/rsa_public_key.h"
|
||||
#include "scheme.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "mtproto/connection.h"
|
||||
#include "mtproto/dcenter.h"
|
||||
#include "mtproto/auth_key.h"
|
||||
#include "scheme.h"
|
||||
|
||||
namespace MTP {
|
||||
namespace internal {
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "settings/settings_background_widget.h"
|
||||
#include "settings/settings_privacy_widget.h"
|
||||
#include "settings/settings_advanced_widget.h"
|
||||
#include "app.h"
|
||||
|
||||
namespace Settings {
|
||||
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "auth_session.h"
|
||||
#include "messenger.h"
|
||||
#include "storage/file_download.h"
|
||||
#include <QImageReader>
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#include "structs.h"
|
||||
|
||||
namespace Ui {
|
||||
|
||||
class SendActionAnimation {
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
#include "mainwidget.h"
|
||||
#include "apiwrap.h"
|
||||
#include "auth_session.h"
|
||||
#include "app.h"
|
||||
|
||||
namespace Window {
|
||||
namespace Notifications {
|
||||
|
|
|
|||
Loading…
Reference in New Issue