• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kget

MainWindow Class Reference

#include <mainwindow.h>

Inheritance diagram for MainWindow:

Inheritance graph
[legend]

List of all members.


Detailed Description

The main window of KGet.

Can be collapsed or expanded.

Definition at line 32 of file mainwindow.h.


Public Slots

void slotImportUrl (const QString &url)
void slotQuit ()
void slotUpdateTitlePercent ()

Public Member Functions

virtual void addTransfer (const QString &src, const QString &destDir=QString(), bool start=false)
virtual bool dropTargetVisible () const
virtual void importLinks (const QList< QString > &links)
 MainWindow (bool showMainwindow=true, bool startWithoutAnimation=false, QWidget *parent=0)
virtual bool offlineMode () const
virtual void setDropTargetVisible (bool setVisible)
virtual void setOfflineMode (bool online)
virtual void setSystemTrayDownloading (bool running)
virtual void showNewTransferDialog (const QStringList &urls)
KSystemTrayIcon * systemTray () const
virtual QVariantMap transfers () const
virtual int transfersSpeed () const
 ~MainWindow ()

Protected Member Functions

virtual void closeEvent (QCloseEvent *)
virtual void dragEnterEvent (QDragEnterEvent *)
virtual void dropEvent (QDropEvent *)
virtual QSize sizeHint () const

Constructor & Destructor Documentation

MainWindow::MainWindow ( bool  showMainwindow = true,
bool  startWithoutAnimation = false,
QWidget *  parent = 0 
) [explicit]

Definition at line 56 of file mainwindow.cpp.

MainWindow::~MainWindow (  ) 

Definition at line 99 of file mainwindow.cpp.


Member Function Documentation

void MainWindow::addTransfer ( const QString &  src,
const QString &  destDir = QString(),
bool  start = false 
) [virtual]

DBUS interface.

Definition at line 890 of file mainwindow.cpp.

void MainWindow::closeEvent ( QCloseEvent *  e  )  [protected, virtual]

widget events

Definition at line 831 of file mainwindow.cpp.

void MainWindow::dragEnterEvent ( QDragEnterEvent *  event  )  [protected, virtual]

Definition at line 846 of file mainwindow.cpp.

void MainWindow::dropEvent ( QDropEvent *  event  )  [protected, virtual]

Definition at line 852 of file mainwindow.cpp.

bool MainWindow::dropTargetVisible (  )  const [virtual]

Definition at line 901 of file mainwindow.cpp.

void MainWindow::importLinks ( const QList< QString > &  links  )  [virtual]

Definition at line 780 of file mainwindow.cpp.

bool MainWindow::offlineMode (  )  const [virtual]

Definition at line 917 of file mainwindow.cpp.

void MainWindow::setDropTargetVisible ( bool  setVisible  )  [virtual]

Definition at line 906 of file mainwindow.cpp.

void MainWindow::setOfflineMode ( bool  online  )  [virtual]

Definition at line 912 of file mainwindow.cpp.

void MainWindow::setSystemTrayDownloading ( bool  running  )  [virtual]

Definition at line 773 of file mainwindow.cpp.

void MainWindow::showNewTransferDialog ( const QStringList &  urls  )  [virtual]

Definition at line 896 of file mainwindow.cpp.

QSize MainWindow::sizeHint (  )  const [protected, virtual]

Definition at line 114 of file mainwindow.cpp.

void MainWindow::slotImportUrl ( const QString &  url  )  [slot]

Definition at line 823 of file mainwindow.cpp.

void MainWindow::slotQuit (  )  [slot]

Definition at line 440 of file mainwindow.cpp.

void MainWindow::slotUpdateTitlePercent (  )  [slot]

Definition at line 430 of file mainwindow.cpp.

KSystemTrayIcon* MainWindow::systemTray (  )  const [inline]

Definition at line 52 of file mainwindow.h.

QVariantMap MainWindow::transfers (  )  const [virtual]

Definition at line 922 of file mainwindow.cpp.

int MainWindow::transfersSpeed (  )  const [virtual]

Definition at line 927 of file mainwindow.cpp.


The documentation for this class was generated from the following files:
  • mainwindow.h
  • mainwindow.cpp

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal