17 #include <ktoggleaction.h>
18 #include <kxmlguiwindow.h>
21 #include <kstatusnotifieritem.h>
32 class DBusKgetWrapper;
47 explicit MainWindow(
bool showMainwindow =
true,
bool startWithoutAnimation =
false,
bool doTesting =
false,
QWidget *parent = 0);
75 void slotToggleDropTarget();
76 void slotNewTransfer();
77 void slotImportTransfers();
78 void slotExportTransfers();
79 void slotPreferences();
80 void slotDeleteGroup();
81 void slotRenameGroup();
82 void slotSetIconGroup();
83 void slotStartDownload();
84 void slotStopDownload();
85 void slotConfigureNotifications();
86 void slotToggleAutoPaste();
87 void slotTrayKonquerorIntegration(
bool);
88 void slotKonquerorIntegration(
bool );
89 void slotShowMenubar();
90 void slotTransferGroupSettings();
91 void slotTransferSettings();
92 void slotCreateMetalink();
93 void slotPriorityTop();
94 void slotPriorityBottom();
95 void slotPriorityUp();
96 void slotPriorityDown();
97 void slotDownloadFinishedActions();
100 void slotStopAllDownload();
101 void slotStopSelectedDownload();
102 void slotStartAllDownload();
103 void slotStartSelectedDownload();
104 void slotDeleteSelected();
105 void slotDeleteSelectedIncludingFiles();
106 void slotRedownloadSelected();
107 void slotTransfersOpenDest();
108 void slotTransfersOpenFile();
109 void slotTransfersShowDetails();
110 void slotTransfersCopySourceUrl();
111 void slotDeleteFinished();
114 void slotSaveMyself();
115 void slotNewToolbarConfig();
116 void slotNewConfig();
117 void slotCheckClipboard();
118 void slotTransferHistory();
121 void slotShowListLinks();
124 void slotTransfersChanged(QMap<TransferHandler*, Transfer::ChangesFlags>
transfers);
125 void slotGroupsChanged(QMap<TransferGroupHandler*, TransferGroup::ChangesFlags> groups);
131 int transfersPercent();
146 KToggleAction * m_autoPasteAction;
147 KToggleAction * m_menubarAction;
148 KToggleAction * m_konquerorIntegration;
151 QString lastClipboard;
153 QTimer *clipboardTimer;
155 bool m_startWithoutAnimation;
161 QCA::Initializer m_qcaInit;
virtual void dropEvent(QDropEvent *)
virtual void hideEvent(QHideEvent *)
virtual void dragEnterEvent(QDragEnterEvent *)
virtual QSize sizeHint() const
This class implements the main tray icon for kget.
virtual void closeEvent(QCloseEvent *)
widget events
MainWindow(bool showMainwindow=true, bool startWithoutAnimation=false, bool doTesting=false, QWidget *parent=0)
void slotUpdateTitlePercent()
QVariantMap transfers() const
virtual void setSystemTrayDownloading(bool running)
void slotImportUrl(const QString &url)
virtual void showEvent(QShowEvent *)