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

kget

kt::ScanDlg

kt::ScanDlg Class Reference

#include <scandlg.h>

Inheritance diagram for kt::ScanDlg:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 39 of file scandlg.h.


Public Member Functions

void execute (bt::TorrentInterface *tc, bool silently)
 ScanDlg (bool auto_import, QWidget *parent)
virtual ~ScanDlg ()

Protected Slots

virtual void accept ()
void onCancelPressed ()
virtual void reject ()
void scan ()
void update ()

Protected Member Functions

virtual void closeEvent (QCloseEvent *e)
virtual void finished ()
virtual void progress (bt::Uint32 num, bt::Uint32 total)
virtual void status (bt::Uint32 failed, bt::Uint32 found, bt::Uint32 downloaded, bt::Uint32 not_downloaded)

Constructor & Destructor Documentation

kt::ScanDlg::ScanDlg ( bool  auto_import,
QWidget *  parent 
)

Definition at line 34 of file scandlg.cpp.

kt::ScanDlg::~ScanDlg (  )  [virtual]

Definition at line 67 of file scandlg.cpp.


Member Function Documentation

void kt::ScanDlg::accept (  )  [protected, virtual, slot]

Definition at line 182 of file scandlg.cpp.

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

Handle the close event.

Definition at line 163 of file scandlg.cpp.

void kt::ScanDlg::execute ( bt::TorrentInterface *  tc,
bool  silently 
)

Starts the scan threadvent(QC.

Definition at line 85 of file scandlg.cpp.

void kt::ScanDlg::finished (  )  [protected, virtual]

Scan finished, runs in app thread.

Implements bt::DataCheckerListener.

Definition at line 128 of file scandlg.cpp.

void kt::ScanDlg::onCancelPressed (  )  [protected, slot]

Definition at line 188 of file scandlg.cpp.

void kt::ScanDlg::progress ( bt::Uint32  num,
bt::Uint32  total 
) [protected, virtual]

Update progress info, runs in scan threadnted")).

Implements bt::DataCheckerListener.

Definition at line 112 of file scandlg.cpp.

void kt::ScanDlg::reject (  )  [protected, virtual, slot]

Definition at line 171 of file scandlg.cpp.

void kt::ScanDlg::scan (  )  [protected, slot]

Definition at line 71 of file scandlg.cpp.

void kt::ScanDlg::status ( bt::Uint32  failed,
bt::Uint32  found,
bt::Uint32  downloaded,
bt::Uint32  not_downloaded 
) [protected, virtual]

Update status info, runs in scan thread.

Implements bt::DataCheckerListener.

Definition at line 119 of file scandlg.cpp.

void kt::ScanDlg::update (  )  [protected, slot]

Updates the GUI in app thread.

Definition at line 193 of file scandlg.cpp.


The documentation for this class was generated from the following files:
  • scandlg.h
  • scandlg.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