qBittorrent
|
#include <mainwindow.h>
Signals | |
void | systemTrayIconCreated () |
Public Member Functions | |
MainWindow (QWidget *parent=nullptr) | |
~MainWindow () override | |
QWidget * | currentTabWidget () const |
TransferListWidget * | transferListWidget () const |
PropertiesWidget * | propertiesWidget () const |
bool | isExecutionLogEnabled () const |
void | setExecutionLogEnabled (bool value) |
Log::MsgTypes | executionLogMsgTypes () const |
void | setExecutionLogMsgTypes (Log::MsgTypes value) |
bool | isNotificationsEnabled () const |
void | setNotificationsEnabled (bool value) |
bool | isTorrentAddedNotificationsEnabled () const |
void | setTorrentAddedNotificationsEnabled (bool value) |
bool | isDownloadTrackerFavicon () const |
void | setDownloadTrackerFavicon (bool value) |
void | activate () |
void | cleanup () |
void | showNotificationBalloon (const QString &title, const QString &msg) const |
Private Member Functions | |
void | createTrayIconMenu () |
void | createTrayIcon (int retries) |
void | dropEvent (QDropEvent *event) override |
void | dragEnterEvent (QDragEnterEvent *event) override |
void | closeEvent (QCloseEvent *) override |
void | showEvent (QShowEvent *) override |
void | keyPressEvent (QKeyEvent *event) override |
bool | event (QEvent *e) override |
void | displayRSSTab (bool enable) |
void | displaySearchTab (bool enable) |
void | createTorrentTriggered (const QString &path={}) |
void | showStatusBar (bool show) |
Definition at line 74 of file mainwindow.h.
|
explicit |
Definition at line 123 of file mainwindow.cpp.
References tstool::action, addToolbarContextMenu(), addTorrentFailed(), TransferListFiltersWidget::addTrackers(), TransferListWidget::applyNameFilter(), asConst(), askRecursiveTorrentDownloadConfirmation(), TransferListWidget::bottomQueuePosSelectedTorrents(), Preferences::changed(), TransferListFiltersWidget::changeTrackerless(), clearUILockPassword(), createKeyboardShortcuts(), createTrayIconMenu(), Log::CRITICAL, TransferListWidget::currentTorrentChanged(), TransferListWidget::decreaseQueuePosSelectedTorrents(), defineUILockPassword(), displayRSSTab(), BitTorrent::Session::downloadFromUrlFailed(), executionLogMsgTypes(), finishedTorrent(), fullDiskError(), BitTorrent::Session::fullDiskError(), TransferListWidget::getSourceModel(), handleDownloadFromUrlFailure(), Preferences::hibernateWhenDownloadsComplete(), TransferListWidget::increaseQueuePosSelectedTorrents(), Log::INFO, BitTorrent::Session::instance(), Preferences::instance(), UIThemeManager::instance(), isDownloadTrackerFavicon(), isExecutionLogEnabled(), Preferences::isRSSWidgetEnabled(), Preferences::isSearchEnabled(), Preferences::isStatusbarDisplayed(), Preferences::isToolbarDisplayed(), Preferences::isUILocked(), loadPreferences(), BitTorrent::Session::loadTorrentFailed(), PropertiesWidget::loadTorrentInfos(), PropertiesWidget::loadTrackers(), m_displaySpeedInTitle, m_executableWatcher, m_preventTimer, m_propertiesWidget, m_pwr, m_queueSeparator, m_queueSeparatorMenu, m_searchFilter, m_searchFilterAction, m_splitter, m_systrayIcon, m_tabs, m_transferListFiltersWidget, m_transferListWidget, m_trayIconMenu, m_ui, m_uiLocked, manageCookies(), Preferences::minimizeToTray(), Preferences::minimizeToTrayNotified(), minimizeWindow(), Log::NORMAL, notifyOfUpdate(), on_actionCriticalMessages_triggered(), on_actionExecutionLogs_triggered(), on_actionInformationMessages_triggered(), on_actionNormalMessages_triggered(), on_actionSearchWidget_triggered(), on_actionWarningMessages_triggered(), optionsSaved(), TransferListWidget::pauseAllTorrents(), TransferListWidget::pauseSelectedTorrents(), readSettings(), PropertiesWidget::readSettings(), BitTorrent::Session::recursiveTorrentDownloadPossible(), reloadSessionStats(), reloadTorrentStats(), TransferListFiltersWidget::removeTrackers(), TransferListWidget::resumeAllTorrents(), Utils::Gui::scaledSize(), Preferences::setMinimizeToTrayNotified(), showFilterContextMenu(), showNotificationBalloon(), Preferences::shutdownqBTWhenDownloadsComplete(), Preferences::shutdownWhenDownloadsComplete(), TransferListWidget::softDeleteSelectedTorrents(), Preferences::speedInTitleBar(), BitTorrent::Session::speedLimitModeChanged(), Preferences::startMinimized(), TransferListWidget::startSelectedTorrents(), BitTorrent::Session::statsUpdated(), Preferences::suspendWhenDownloadsComplete(), systemTrayIconCreated(), tabChanged(), toggleAlternativeSpeeds(), TransferListWidget::topQueuePosSelectedTorrents(), BitTorrent::Session::torrentAdded(), BitTorrent::Session::torrentFinished(), torrentNew(), BitTorrent::Session::torrentsUpdated(), TransferListFiltersWidget::trackerError(), BitTorrent::Session::trackerError(), BitTorrent::Session::trackerlessStateChanged(), BitTorrent::Session::trackersAdded(), BitTorrent::Session::trackersChanged(), BitTorrent::Session::trackersRemoved(), TransferListFiltersWidget::trackerSuccess(), BitTorrent::Session::trackerSuccess(), TransferListFiltersWidget::trackerWarning(), BitTorrent::Session::trackerWarning(), updateAltSpeedsBtn(), updateNbTorrents(), updatePowerManagementState(), Log::WARNING, and writeSettings().
|
override |
void MainWindow::activate | ( | ) |
Definition at line 1452 of file mainwindow.cpp.
References m_uiLocked, and unlockUI().
|
privateslot |
Definition at line 549 of file mainwindow.cpp.
References Preferences::getToolbarTextPosition(), Preferences::instance(), m_toolbarMenu, m_ui, toolbarFollowSystem(), toolbarIconsOnly(), toolbarMenuRequested(), toolbarTextBeside(), toolbarTextOnly(), and toolbarTextUnder().
Referenced by MainWindow().
|
privateslot |
Definition at line 851 of file mainwindow.cpp.
References showNotificationBalloon().
Referenced by MainWindow().
|
privateslot |
Definition at line 960 of file mainwindow.cpp.
References BitTorrent::Torrent::id(), BitTorrent::Session::instance(), Preferences::instance(), BitTorrent::Torrent::name(), and Preferences::recursiveDownloadDisabled().
Referenced by MainWindow().
|
privateslot |
Definition at line 832 of file mainwindow.cpp.
References m_uiLocked, and unlockUI().
Referenced by createTrayIcon().
void MainWindow::cleanup | ( | ) |
Definition at line 796 of file mainwindow.cpp.
References m_executableWatcher, m_preventTimer, m_rssWidget, and writeSettings().
|
privateslot |
Definition at line 657 of file mainwindow.cpp.
References Preferences::instance(), and Preferences::setUILockPassword().
Referenced by MainWindow().
|
overrideprivate |
Definition at line 1181 of file mainwindow.cpp.
References Preferences::closeToTray(), Preferences::closeToTrayNotified(), Preferences::confirmOnExit(), nova3.nova2dl::e, BitTorrent::Session::hasActiveTorrents(), BitTorrent::Session::instance(), Preferences::instance(), m_forceExit, m_systrayIcon, m_trayIconMenu, Preferences::setCloseToTrayNotified(), Preferences::setConfirmOnExit(), and showNotificationBalloon().
|
privateslot |
Definition at line 877 of file mainwindow.cpp.
References displayExecutionLogTab(), displayRSSTab(), displaySearchTab(), displayTransferTab(), focusSearchFilter(), m_transferListWidget, and m_ui.
Referenced by MainWindow().
|
private |
Definition at line 1254 of file mainwindow.cpp.
References m_createTorrentDlg.
Referenced by dropEvent(), and on_actionCreateTorrent_triggered().
|
private |
Definition at line 1703 of file mainwindow.cpp.
References balloonClicked(), createTrayIconMenu(), Preferences::instance(), UIThemeManager::instance(), LogMsg(), m_systrayIcon, m_trayIconMenu, Preferences::setSystemTrayEnabled(), systemTrayIconCreated(), toggleVisibility(), and Log::WARNING.
Referenced by loadPreferences().
|
private |
Definition at line 1741 of file mainwindow.cpp.
References m_trayIconMenu, m_ui, and m_uiLocked.
Referenced by createTrayIcon(), and MainWindow().
QWidget * MainWindow::currentTabWidget | ( | ) | const |
Definition at line 1023 of file mainwindow.cpp.
References m_tabs, and m_transferListWidget.
Referenced by TransferListWidget::bottomQueuePosSelectedTorrents(), TransferListWidget::decreaseQueuePosSelectedTorrents(), TransferListWidget::deleteSelectedTorrents(), TransferListWidget::increaseQueuePosSelectedTorrents(), reloadTorrentStats(), showEvent(), SearchWidget::tabStatusChanged(), and TransferListWidget::topQueuePosSelectedTorrents().
|
privateslot |
Definition at line 639 of file mainwindow.cpp.
References Utils::Password::PBKDF2::generate(), AutoExpandableDialog::getText(), Preferences::instance(), and Preferences::setUILockPassword().
Referenced by MainWindow(), and on_actionLock_triggered().
|
privateslot |
Definition at line 947 of file mainwindow.cpp.
References m_executionLog, m_tabs, m_ui, and on_actionExecutionLogs_triggered().
Referenced by createKeyboardShortcuts().
|
privateslot |
Definition at line 936 of file mainwindow.cpp.
References m_rssWidget, m_tabs, and m_ui.
Referenced by createKeyboardShortcuts(), MainWindow(), and on_actionRSSReader_triggered().
|
private |
Definition at line 688 of file mainwindow.cpp.
References handleRSSUnreadCountUpdated(), RSS::Session::instance(), UIThemeManager::instance(), m_rssWidget, m_tabs, and RSSWidget::unreadCountUpdated().
|
privateslot |
Definition at line 925 of file mainwindow.cpp.
References m_searchWidget, m_tabs, and m_ui.
Referenced by createKeyboardShortcuts(), and on_actionSearchWidget_triggered().
|
private |
Definition at line 728 of file mainwindow.cpp.
References Preferences::instance(), UIThemeManager::instance(), m_searchWidget, m_tabs, and Preferences::setSearchEnabled().
|
privateslot |
Definition at line 920 of file mainwindow.cpp.
References m_tabs, and m_transferListWidget.
Referenced by createKeyboardShortcuts().
|
privateslot |
Definition at line 1684 of file mainwindow.cpp.
References BitTorrent::Session::addTorrent(), BitTorrent::Session::instance(), AddNewTorrentDialog::isEnabled(), and AddNewTorrentDialog::show().
Referenced by on_actionDownloadFromURL_triggered().
|
overrideprivate |
|
overrideprivate |
Definition at line 1327 of file mainwindow.cpp.
References BitTorrent::Session::addTorrent(), asConst(), createTorrentTriggered(), event(), file(), files(), BitTorrent::Session::instance(), AddNewTorrentDialog::isEnabled(), anonymous_namespace{mainwindow.cpp}::isTorrentLink(), and AddNewTorrentDialog::show().
|
overrideprivate |
Definition at line 1265 of file mainwindow.cpp.
References asConst(), nova3.nova2dl::e, Preferences::instance(), m_systrayIcon, m_ui, Preferences::minimizeToTray(), Preferences::minimizeToTrayNotified(), Preferences::setMinimizeToTrayNotified(), Preferences::setToolbarDisplayed(), and showNotificationBalloon().
Referenced by dragEnterEvent(), dropEvent(), and keyPressEvent().
Log::MsgTypes MainWindow::executionLogMsgTypes | ( | ) | const |
Definition at line 495 of file mainwindow.cpp.
References m_storeExecutionLogTypes.
Referenced by MainWindow(), on_actionCriticalMessages_triggered(), on_actionExecutionLogs_triggered(), on_actionInformationMessages_triggered(), on_actionNormalMessages_triggered(), and on_actionWarningMessages_triggered().
|
privateslot |
Definition at line 864 of file mainwindow.cpp.
References BitTorrent::Torrent::name(), and showNotificationBalloon().
Referenced by MainWindow().
|
privateslot |
Definition at line 750 of file mainwindow.cpp.
References m_searchFilter.
Referenced by createKeyboardShortcuts().
|
privateslot |
Definition at line 870 of file mainwindow.cpp.
References BitTorrent::Torrent::name(), and showNotificationBalloon().
Referenced by MainWindow().
|
privateslot |
Definition at line 986 of file mainwindow.cpp.
References showNotificationBalloon().
Referenced by MainWindow().
|
privateslot |
Definition at line 683 of file mainwindow.cpp.
References m_rssWidget, and m_tabs.
Referenced by displayRSSTab().
bool MainWindow::isDownloadTrackerFavicon | ( | ) | const |
Definition at line 538 of file mainwindow.cpp.
References m_storeDownloadTrackerFavicon.
Referenced by AdvancedSettings::loadAdvancedSettings(), and MainWindow().
bool MainWindow::isExecutionLogEnabled | ( | ) | const |
Definition at line 485 of file mainwindow.cpp.
References m_storeExecutionLogEnabled.
Referenced by MainWindow().
bool MainWindow::isNotificationsEnabled | ( | ) | const |
Definition at line 506 of file mainwindow.cpp.
References SettingValue< T >::get(), and m_storeNotificationEnabled.
Referenced by AdvancedSettings::loadAdvancedSettings(), showNotificationBalloon(), and SearchWidget::tabStatusChanged().
bool MainWindow::isTorrentAddedNotificationsEnabled | ( | ) | const |
Definition at line 516 of file mainwindow.cpp.
References m_storeNotificationTorrentAdded.
Referenced by AdvancedSettings::loadAdvancedSettings(), and torrentNew().
|
overrideprivate |
Definition at line 1149 of file mainwindow.cpp.
References BitTorrent::Session::addTorrent(), event(), BitTorrent::Session::instance(), AddNewTorrentDialog::isEnabled(), anonymous_namespace{mainwindow.cpp}::isTorrentLink(), and AddNewTorrentDialog::show().
|
privateslot |
Definition at line 1485 of file mainwindow.cpp.
References createTrayIcon(), PropertiesWidget::getFilesList(), PropertiesWidget::getPeerList(), PropertiesWidget::getTrackerList(), TransferListWidget::hideQueuePosColumn(), BitTorrent::Session::instance(), Preferences::instance(), UIThemeManager::instance(), Preferences::isStatusbarDisplayed(), Preferences::isToolbarDisplayed(), m_preventTimer, m_propertiesWidget, m_pwr, m_queueSeparator, m_queueSeparatorMenu, m_searchFilter, m_systrayIcon, m_transferListWidget, m_trayIconMenu, m_ui, anonymous_namespace{mainwindow.cpp}::PREVENT_SUSPEND_INTERVAL, Preferences::preventFromSuspendWhenDownloading(), Preferences::preventFromSuspendWhenSeeding(), PropertiesWidget::reloadPreferences(), PowerManagement::setActivityState(), showStatusBar(), Preferences::systemTrayEnabled(), updatePowerManagementState(), and Preferences::useAlternatingRowColors().
Referenced by MainWindow(), and optionsSaved().
|
privateslot |
Definition at line 597 of file mainwindow.cpp.
Referenced by MainWindow().
|
privateslot |
Definition at line 1969 of file mainwindow.cpp.
Referenced by MainWindow().
|
privateslot |
Definition at line 1062 of file mainwindow.cpp.
References Logger::addMessage(), Log::CRITICAL, Logger::instance(), m_executableWatcher, and m_statusBar.
Referenced by MainWindow().
|
privateslot |
|
privateslot |
Definition at line 2035 of file mainwindow.cpp.
References Preferences::instance(), and Preferences::setShutdownqBTWhenDownloadsComplete().
|
privateslot |
Definition at line 2047 of file mainwindow.cpp.
References Preferences::instance(), and Preferences::setHibernateWhenDownloadsComplete().
|
privateslot |
Definition at line 2053 of file mainwindow.cpp.
References Preferences::instance(), and Preferences::setShutdownWhenDownloadsComplete().
|
privateslot |
Definition at line 2041 of file mainwindow.cpp.
References Preferences::instance(), and Preferences::setSuspendWhenDownloadsComplete().
|
privateslot |
Definition at line 1249 of file mainwindow.cpp.
References createTorrentTriggered().
|
privateslot |
Definition at line 2026 of file mainwindow.cpp.
References Log::CRITICAL, executionLogMsgTypes(), m_executionLog, and setExecutionLogMsgTypes().
Referenced by MainWindow().
|
privateslot |
Definition at line 761 of file mainwindow.cpp.
|
privateslot |
Definition at line 1958 of file mainwindow.cpp.
|
privateslot |
Definition at line 1889 of file mainwindow.cpp.
References downloadFromURLList(), m_downloadFromURLDialog, and DownloadFromURLDialog::urlsReadyToBeDownloaded().
|
privateslot |
Definition at line 1974 of file mainwindow.cpp.
References executionLogMsgTypes(), UIThemeManager::instance(), m_executionLog, m_tabs, m_ui, and setExecutionLogEnabled().
Referenced by displayExecutionLogTab(), and MainWindow().
|
privateslot |
Definition at line 1002 of file mainwindow.cpp.
References m_forceExit, m_uiLocked, and unlockUI().
|
privateslot |
Definition at line 2008 of file mainwindow.cpp.
References executionLogMsgTypes(), Log::INFO, m_executionLog, and setExecutionLogMsgTypes().
Referenced by MainWindow().
|
privateslot |
Definition at line 665 of file mainwindow.cpp.
References defineUILockPassword(), Preferences::getUILockPassword(), Preferences::instance(), m_trayIconMenu, m_uiLocked, and Preferences::setUILocked().
|
privateslot |
Definition at line 1999 of file mainwindow.cpp.
References executionLogMsgTypes(), m_executionLog, Log::NORMAL, and setExecutionLogMsgTypes().
Referenced by MainWindow().
|
privateslot |
Definition at line 1424 of file mainwindow.cpp.
References BitTorrent::Session::addTorrent(), C_TORRENT_FILE_EXTENSION, file(), Preferences::getMainLastDir(), BitTorrent::Session::instance(), Preferences::instance(), AddNewTorrentDialog::isEnabled(), Preferences::setMainLastDir(), AddNewTorrentDialog::show(), and Utils::Fs::toUniformPath().
|
privateslot |
Definition at line 1789 of file mainwindow.cpp.
References m_options.
Referenced by showConnectionSettings().
|
privateslot |
Definition at line 1821 of file mainwindow.cpp.
References displayRSSTab(), Preferences::instance(), m_ui, and Preferences::setRSSWidgetVisible().
|
privateslot |
Definition at line 1827 of file mainwindow.cpp.
References displaySearchTab(), Preferences::instance(), Utils::ForeignApps::PythonInfo::isSupportedVersion(), Utils::ForeignApps::PythonInfo::isValid(), m_hasPython, m_ui, Utils::ForeignApps::pythonInfo(), Preferences::setSearchEnabled(), and Utils::ForeignApps::PythonInfo::version.
Referenced by MainWindow().
|
privateslot |
Definition at line 993 of file mainwindow.cpp.
|
privateslot |
Definition at line 1804 of file mainwindow.cpp.
References Preferences::instance(), Preferences::setStatusbarDisplayed(), and showStatusBar().
|
privateslot |
Definition at line 1811 of file mainwindow.cpp.
References Preferences::instance(), m_displaySpeedInTitle, reloadSessionStats(), and Preferences::showSpeedInTitleBar().
|
privateslot |
|
privateslot |
Definition at line 1797 of file mainwindow.cpp.
References Preferences::instance(), m_ui, and Preferences::setToolbarDisplayed().
|
privateslot |
Definition at line 2017 of file mainwindow.cpp.
References executionLogMsgTypes(), m_executionLog, setExecutionLogMsgTypes(), and Log::WARNING.
Referenced by MainWindow().
|
privateslot |
Definition at line 1462 of file mainwindow.cpp.
References Logger::addMessage(), Logger::instance(), and loadPreferences().
Referenced by MainWindow().
PropertiesWidget * MainWindow::propertiesWidget | ( | ) | const |
Definition at line 1783 of file mainwindow.cpp.
References m_propertiesWidget.
|
privateslot |
Definition at line 818 of file mainwindow.cpp.
References Preferences::getMainGeometry(), Preferences::getMainVSplitterState(), Preferences::instance(), m_posInitialized, and m_splitter.
Referenced by MainWindow().
|
privateslot |
Definition at line 1601 of file mainwindow.cpp.
References MacUtils::badgeLabelText(), Utils::Misc::friendlyUnit(), BitTorrent::Session::instance(), m_displaySpeedInTitle, m_systrayIcon, BitTorrent::SessionStatus::payloadDownloadRate, BitTorrent::SessionStatus::payloadUploadRate, MacUtils::setBadgeLabelText(), and BitTorrent::Session::status().
Referenced by MainWindow(), and on_actionSpeedInTitleBar_triggered().
|
privateslot |
Definition at line 1635 of file mainwindow.cpp.
References currentTabWidget(), PropertiesWidget::getCurrentTorrent(), PropertiesWidget::loadDynamicData(), m_propertiesWidget, and m_transferListWidget.
Referenced by MainWindow().
void MainWindow::setDownloadTrackerFavicon | ( | bool | value | ) |
Definition at line 543 of file mainwindow.cpp.
References m_storeDownloadTrackerFavicon, m_transferListFiltersWidget, TransferListFiltersWidget::setDownloadTrackerFavicon(), and anonymous_namespace{preferences.cpp}::value().
Referenced by AdvancedSettings::saveAdvancedSettings().
void MainWindow::setExecutionLogEnabled | ( | bool | value | ) |
Definition at line 490 of file mainwindow.cpp.
References m_storeExecutionLogEnabled, and anonymous_namespace{preferences.cpp}::value().
Referenced by on_actionExecutionLogs_triggered().
void MainWindow::setExecutionLogMsgTypes | ( | Log::MsgTypes | value | ) |
Definition at line 500 of file mainwindow.cpp.
References m_executionLog, m_storeExecutionLogTypes, and anonymous_namespace{preferences.cpp}::value().
Referenced by on_actionCriticalMessages_triggered(), on_actionInformationMessages_triggered(), on_actionNormalMessages_triggered(), and on_actionWarningMessages_triggered().
void MainWindow::setNotificationsEnabled | ( | bool | value | ) |
Definition at line 511 of file mainwindow.cpp.
References m_storeNotificationEnabled, and anonymous_namespace{preferences.cpp}::value().
Referenced by AdvancedSettings::saveAdvancedSettings().
void MainWindow::setTorrentAddedNotificationsEnabled | ( | bool | value | ) |
Definition at line 521 of file mainwindow.cpp.
References m_storeNotificationTorrentAdded, and anonymous_namespace{preferences.cpp}::value().
Referenced by AdvancedSettings::saveAdvancedSettings().
|
privateslot |
Definition at line 1963 of file mainwindow.cpp.
References m_options, and on_actionOptions_triggered().
Referenced by showStatusBar().
|
overrideprivate |
Definition at line 1123 of file mainwindow.cpp.
References currentTabWidget(), nova3.nova2dl::e, PropertiesWidget::loadDynamicData(), m_posInitialized, m_propertiesWidget, m_transferListWidget, and Utils::Gui::screenCenter().
|
privateslot |
Definition at line 711 of file mainwindow.cpp.
References TransferListWidget::applyNameFilter(), Preferences::getRegexAsFilteringPatternForTransferList(), Preferences::instance(), m_searchFilter, m_transferListWidget, and Preferences::setRegexAsFilteringPatternForTransferList().
Referenced by MainWindow().
void MainWindow::showNotificationBalloon | ( | const QString & | title, |
const QString & | msg | ||
) | const |
Definition at line 1644 of file mainwindow.cpp.
References MacUtils::displayNotification(), isNotificationsEnabled(), m_systrayIcon, OrgFreedesktopNotificationsInterface::Notify(), and anonymous_namespace{mainwindow.cpp}::TIME_TRAY_BALLOON.
Referenced by addTorrentFailed(), closeEvent(), event(), finishedTorrent(), fullDiskError(), handleDownloadFromUrlFailure(), MainWindow(), SearchWidget::on_searchButton_clicked(), SearchWidget::tabStatusChanged(), and torrentNew().
|
private |
Definition at line 1468 of file mainwindow.cpp.
References StatusBar::alternativeSpeedsButtonClicked(), StatusBar::connectionButtonClicked(), m_statusBar, showConnectionSettings(), and toggleAlternativeSpeeds().
Referenced by loadPreferences(), and on_actionShowStatusbar_triggered().
|
signal |
|
privateslot |
Definition at line 766 of file mainwindow.cpp.
References PropertiesWidget::loadDynamicData(), m_propertiesWidget, m_searchFilterAction, m_searchWidget, m_splitter, and m_tabs.
Referenced by MainWindow().
|
privateslot |
Definition at line 1952 of file mainwindow.cpp.
References BitTorrent::Session::instance(), BitTorrent::Session::isAltGlobalSpeedLimitEnabled(), and BitTorrent::Session::setAltGlobalSpeedLimitEnabled().
Referenced by MainWindow(), and showStatusBar().
|
privateslot |
Definition at line 1075 of file mainwindow.cpp.
References m_uiLocked, and unlockUI().
Referenced by createTrayIcon().
|
privateslot |
Definition at line 633 of file mainwindow.cpp.
References Preferences::instance(), m_ui, and Preferences::setToolbarTextPosition().
Referenced by addToolbarContextMenu().
|
privateslot |
Definition at line 609 of file mainwindow.cpp.
References Preferences::instance(), m_ui, and Preferences::setToolbarTextPosition().
Referenced by addToolbarContextMenu().
|
privateslot |
Definition at line 604 of file mainwindow.cpp.
References m_toolbarMenu, and m_ui.
Referenced by addToolbarContextMenu().
|
privateslot |
Definition at line 621 of file mainwindow.cpp.
References Preferences::instance(), m_ui, and Preferences::setToolbarTextPosition().
Referenced by addToolbarContextMenu().
|
privateslot |
Definition at line 615 of file mainwindow.cpp.
References Preferences::instance(), m_ui, and Preferences::setToolbarTextPosition().
Referenced by addToolbarContextMenu().
|
privateslot |
Definition at line 627 of file mainwindow.cpp.
References Preferences::instance(), m_ui, and Preferences::setToolbarTextPosition().
Referenced by addToolbarContextMenu().
|
privateslot |
Definition at line 857 of file mainwindow.cpp.
References isTorrentAddedNotificationsEnabled(), BitTorrent::Torrent::name(), and showNotificationBalloon().
Referenced by MainWindow().
TransferListWidget * MainWindow::transferListWidget | ( | ) | const |
Definition at line 1032 of file mainwindow.cpp.
References m_transferListWidget.
|
privateslot |
Definition at line 1037 of file mainwindow.cpp.
References AutoExpandableDialog::getText(), Preferences::getUILockPassword(), Preferences::instance(), m_trayIconMenu, m_uiLocked, m_unlockDlgShowing, Preferences::setUILocked(), and Utils::Password::PBKDF2::verify().
Referenced by activate(), balloonClicked(), on_actionExit_triggered(), and toggleVisibility().
|
privateslot |
Definition at line 1778 of file mainwindow.cpp.
References m_ui.
Referenced by MainWindow().
|
privateslot |
Definition at line 756 of file mainwindow.cpp.
References TransferListWidget::getSourceModel(), m_tabs, m_transferListWidget, and TransferListModel::rowCount().
Referenced by MainWindow().
|
privateslot |
Definition at line 2059 of file mainwindow.cpp.
References BitTorrent::Session::hasRunningSeed(), BitTorrent::Session::hasUnfinishedTorrents(), BitTorrent::Session::instance(), Preferences::instance(), m_pwr, Preferences::preventFromSuspendWhenDownloading(), Preferences::preventFromSuspendWhenSeeding(), and PowerManagement::setActivityState().
Referenced by loadPreferences(), and MainWindow().
|
privateslot |
Definition at line 787 of file mainwindow.cpp.
References Preferences::instance(), m_propertiesWidget, m_splitter, PropertiesWidget::saveSettings(), Preferences::setMainGeometry(), and Preferences::setMainVSplitterState().
Referenced by cleanup(), and MainWindow().
|
private |
Definition at line 226 of file mainwindow.h.
Referenced by on_actionAbout_triggered().
|
private |
Definition at line 228 of file mainwindow.h.
Referenced by createTorrentTriggered().
|
private |
Definition at line 239 of file mainwindow.h.
Referenced by MainWindow(), on_actionSpeedInTitleBar_triggered(), and reloadSessionStats().
|
private |
Definition at line 229 of file mainwindow.h.
Referenced by on_actionDownloadFromURL_triggered().
|
private |
Definition at line 220 of file mainwindow.h.
Referenced by cleanup(), MainWindow(), and notifyOfUpdate().
|
private |
Definition at line 251 of file mainwindow.h.
Referenced by displayExecutionLogTab(), on_actionCriticalMessages_triggered(), on_actionExecutionLogs_triggered(), on_actionInformationMessages_triggered(), on_actionNormalMessages_triggered(), on_actionWarningMessages_triggered(), and setExecutionLogMsgTypes().
|
private |
Definition at line 240 of file mainwindow.h.
Referenced by closeEvent(), and on_actionExit_triggered().
|
private |
Definition at line 255 of file mainwindow.h.
Referenced by on_actionSearchWidget_triggered().
|
private |
Definition at line 225 of file mainwindow.h.
Referenced by on_actionOptions_triggered(), and showConnectionSettings().
|
private |
Definition at line 222 of file mainwindow.h.
Referenced by readSettings(), and showEvent().
|
private |
Definition at line 254 of file mainwindow.h.
Referenced by cleanup(), loadPreferences(), and MainWindow().
|
private |
Definition at line 238 of file mainwindow.h.
Referenced by loadPreferences(), MainWindow(), propertiesWidget(), reloadTorrentStats(), showEvent(), tabChanged(), and writeSettings().
|
private |
Definition at line 253 of file mainwindow.h.
Referenced by loadPreferences(), MainWindow(), and updatePowerManagementState().
|
private |
Definition at line 246 of file mainwindow.h.
Referenced by loadPreferences(), and MainWindow().
|
private |
Definition at line 247 of file mainwindow.h.
Referenced by loadPreferences(), and MainWindow().
|
private |
Definition at line 250 of file mainwindow.h.
Referenced by cleanup(), displayRSSTab(), and handleRSSUnreadCountUpdated().
|
private |
Definition at line 243 of file mainwindow.h.
Referenced by focusSearchFilter(), loadPreferences(), MainWindow(), and showFilterContextMenu().
|
private |
Definition at line 244 of file mainwindow.h.
Referenced by MainWindow(), and tabChanged().
|
private |
Definition at line 249 of file mainwindow.h.
Referenced by displaySearchTab(), and tabChanged().
|
private |
Definition at line 248 of file mainwindow.h.
Referenced by MainWindow(), readSettings(), tabChanged(), and writeSettings().
|
private |
Definition at line 227 of file mainwindow.h.
Referenced by on_actionStatistics_triggered().
|
private |
Definition at line 224 of file mainwindow.h.
Referenced by notifyOfUpdate(), and showStatusBar().
|
private |
Definition at line 259 of file mainwindow.h.
Referenced by isDownloadTrackerFavicon(), and setDownloadTrackerFavicon().
|
private |
Definition at line 258 of file mainwindow.h.
Referenced by isExecutionLogEnabled(), and setExecutionLogEnabled().
|
private |
Definition at line 262 of file mainwindow.h.
Referenced by executionLogMsgTypes(), and setExecutionLogMsgTypes().
|
private |
Definition at line 260 of file mainwindow.h.
Referenced by isNotificationsEnabled(), and setNotificationsEnabled().
|
private |
Definition at line 261 of file mainwindow.h.
Referenced by isTorrentAddedNotificationsEnabled(), and setTorrentAddedNotificationsEnabled().
|
private |
Definition at line 232 of file mainwindow.h.
Referenced by closeEvent(), createTrayIcon(), event(), loadPreferences(), MainWindow(), reloadSessionStats(), and showNotificationBalloon().
|
private |
Definition at line 223 of file mainwindow.h.
Referenced by currentTabWidget(), displayExecutionLogTab(), displayRSSTab(), displaySearchTab(), displayTransferTab(), handleRSSUnreadCountUpdated(), MainWindow(), on_actionExecutionLogs_triggered(), tabChanged(), and updateNbTorrents().
|
private |
Definition at line 256 of file mainwindow.h.
Referenced by addToolbarContextMenu(), and toolbarMenuRequested().
|
private |
Definition at line 237 of file mainwindow.h.
Referenced by MainWindow(), and setDownloadTrackerFavicon().
|
private |
Definition at line 236 of file mainwindow.h.
Referenced by createKeyboardShortcuts(), currentTabWidget(), displayTransferTab(), loadPreferences(), MainWindow(), reloadTorrentStats(), showEvent(), showFilterContextMenu(), transferListWidget(), and updateNbTorrents().
|
private |
Definition at line 234 of file mainwindow.h.
Referenced by closeEvent(), createTrayIcon(), createTrayIconMenu(), loadPreferences(), MainWindow(), on_actionLock_triggered(), and unlockUI().
|
private |
Definition at line 218 of file mainwindow.h.
Referenced by addToolbarContextMenu(), createKeyboardShortcuts(), createTrayIconMenu(), displayExecutionLogTab(), displayRSSTab(), displaySearchTab(), event(), loadPreferences(), MainWindow(), on_actionExecutionLogs_triggered(), on_actionRSSReader_triggered(), on_actionSearchWidget_triggered(), on_actionTopToolBar_triggered(), toolbarFollowSystem(), toolbarIconsOnly(), toolbarMenuRequested(), toolbarTextBeside(), toolbarTextOnly(), toolbarTextUnder(), updateAltSpeedsBtn(), and ~MainWindow().
|
private |
Definition at line 241 of file mainwindow.h.
Referenced by activate(), balloonClicked(), createTrayIconMenu(), MainWindow(), on_actionExit_triggered(), on_actionLock_triggered(), toggleVisibility(), and unlockUI().
|
private |
Definition at line 242 of file mainwindow.h.
Referenced by unlockUI().