Main Page | Class List | File List | Class Members | File Members | Related Pages

Grabber Class Reference

#include <grabber.h>

List of all members.

Signals

void startCapture ()
void finishCapture ()
void startSave ()
void finishSave ()
void message (const QString &msg, int type=Configuration::Normal)

Public Member Functions

 Grabber (QObject *parent=0, const char *name=0)
virtual ~Grabber ()
QPixmap capture ()
void saveFiles ()


Detailed Description

The Grabber class is used to take the screenshots, and save them to files.

Author:
Bojan D.

Definition at line 44 of file grabber.h.


Constructor & Destructor Documentation

Grabber::Grabber QObject *  parent = 0,
const char *  name = 0
 

Default constructor

Definition at line 49 of file grabber.cpp.

Grabber::~Grabber  )  [virtual]
 

default destructor

Definition at line 55 of file grabber.cpp.


Member Function Documentation

QPixmap Grabber::capture  ) 
 

Performs the capture according to capture settings.

Definition at line 59 of file grabber.cpp.

References Configuration::Capture, CaptureConfig::CaptureMode, Config(), finishCapture(), CaptureConfig::IncludeWD, message(), and startCapture().

Referenced by KWebSnap::KWebSnap(), and KWebSnap::slotSnapshot().

void Grabber::finishCapture  )  [signal]
 

This signal is emitted when we finish capture.

Referenced by capture().

void Grabber::finishSave  )  [signal]
 

This signal is emitted when we finish saving of files.

Referenced by saveFiles().

void Grabber::message const QString &  msg,
int  type = Configuration::Normal
[signal]
 

This signal is emitted at some important events, to broadcast what happenned.

Referenced by capture(), and saveFiles().

void Grabber::saveFiles  ) 
 

Saves the images to files according to the file settings.

Definition at line 175 of file grabber.cpp.

References Config(), Configuration::File, finishSave(), Configuration::Ftp, message(), FileConfig::PathMain, FileConfig::PathThumb, startSave(), and FtpConfig::UseThumb.

Referenced by KWebSnap::slotSnapshot().

void Grabber::startCapture  )  [signal]
 

This signal is emitted when we begin capture.

Referenced by capture().

void Grabber::startSave  )  [signal]
 

This signal is emitted when we begin saving of files.

Referenced by saveFiles().


The documentation for this class was generated from the following files:
Generated on Mon Sep 5 12:52:34 2005 for kwebsnap.kdevelop by  doxygen 1.3.9.1