qBittorrent
mainwindow.cpp File Reference
#include "mainwindow.h"
#include <chrono>
#include <QActionGroup>
#include <QClipboard>
#include <QCloseEvent>
#include <QDebug>
#include <QDesktopServices>
#include <QFileDialog>
#include <QFileSystemWatcher>
#include <QKeyEvent>
#include <QMessageBox>
#include <QMimeData>
#include <QProcess>
#include <QPushButton>
#include <QShortcut>
#include <QSplitter>
#include <QStatusBar>
#include <QtGlobal>
#include <QTimer>
#include "base/bittorrent/session.h"
#include "base/bittorrent/sessionstatus.h"
#include "base/global.h"
#include "base/net/downloadmanager.h"
#include "base/preferences.h"
#include "base/rss/rss_folder.h"
#include "base/rss/rss_session.h"
#include "base/utils/foreignapps.h"
#include "base/utils/fs.h"
#include "base/utils/misc.h"
#include "base/utils/password.h"
#include "base/version.h"
#include "aboutdialog.h"
#include "addnewtorrentdialog.h"
#include "autoexpandabledialog.h"
#include "cookiesdialog.h"
#include "downloadfromurldialog.h"
#include "executionlogwidget.h"
#include "hidabletabwidget.h"
#include "lineedit.h"
#include "optionsdialog.h"
#include "powermanagement/powermanagement.h"
#include "properties/peerlistwidget.h"
#include "properties/propertieswidget.h"
#include "properties/trackerlistwidget.h"
#include "rss/rsswidget.h"
#include "search/searchwidget.h"
#include "speedlimitdialog.h"
#include "statsdialog.h"
#include "statusbar.h"
#include "torrentcreatordialog.h"
#include "transferlistfilterswidget.h"
#include "transferlistmodel.h"
#include "transferlistwidget.h"
#include "ui_mainwindow.h"
#include "uithememanager.h"
#include "utils.h"

Go to the source code of this file.

Namespaces

 anonymous_namespace{mainwindow.cpp}
 

Macros

#define SETTINGS_KEY(name)   "GUI/" name
 
#define EXECUTIONLOG_SETTINGS_KEY(name)   (SETTINGS_KEY("Log/") name)
 
#define NOTIFICATIONS_SETTINGS_KEY(name)   (SETTINGS_KEY("Notifications/") name)
 

Functions

bool anonymous_namespace{mainwindow.cpp}::isTorrentLink (const QString &str)
 

Variables

const std::chrono::seconds anonymous_namespace{mainwindow.cpp}::PREVENT_SUSPEND_INTERVAL {60}
 
const int anonymous_namespace{mainwindow.cpp}::TIME_TRAY_BALLOON = 5000
 

Macro Definition Documentation

◆ EXECUTIONLOG_SETTINGS_KEY

#define EXECUTIONLOG_SETTINGS_KEY (   name)    (SETTINGS_KEY("Log/") name)

Definition at line 106 of file mainwindow.cpp.

◆ NOTIFICATIONS_SETTINGS_KEY

#define NOTIFICATIONS_SETTINGS_KEY (   name)    (SETTINGS_KEY("Notifications/") name)

Definition at line 107 of file mainwindow.cpp.

◆ SETTINGS_KEY

#define SETTINGS_KEY (   name)    "GUI/" name

Definition at line 105 of file mainwindow.cpp.