Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ScreenshotControl Class Reference

#include </home/clem/local/src/opie/core/applets/screenshotapplet/screenshot.h>

Collaboration diagram for ScreenshotControl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ScreenshotControl (QWidget *parent=0, const char *name=0)

Private Slots

void slotGrab ()
void slotScap ()
void slotDrawpad ()
void savePixmap ()
void performGrab ()

Private Attributes

QPushButton * grabItButton
QPushButton * scapButton
QPixmap snapshot
QTimer * grabTimer
QCheckBox * saveNamedCheck
QString FileNamePath
bool setFileName
QSpinBox * delaySpin
int buttonPushed

Constructor & Destructor Documentation

ScreenshotControl::ScreenshotControl QWidget *  parent = 0,
const char *  name = 0
 

Definition at line 52 of file screenshot.cpp.

References delaySpin, grabItButton, grabTimer, l, performGrab(), saveNamedCheck, scapButton, slotDrawpad(), slotGrab(), slotScap(), TabFocus, and tr.


Member Function Documentation

void ScreenshotControl::performGrab  )  [private, slot]
 

Definition at line 202 of file screenshot.cpp.

References QString::arg(), buttonPushed, grabTimer, height, QString::isEmpty(), QString::latin1(), QString::left(), odebug, oendl, pix, qApp, savePixmap(), SCAP_hostname, SCAP_port, snapshot, sock, tr, warning(), width, and write().

Referenced by ScreenshotControl().

void ScreenshotControl::savePixmap  )  [private, slot]
 

Definition at line 150 of file screenshot.cpp.

References QDateTime::currentDateTime(), QFileInfo::fileName(), FileNamePath, QDir::homeDirPath(), QString::latin1(), odebug, oendl, QString::replace(), QString::right(), AppLnk::setFile(), setFileName, AppLnk::setName(), snapshot, and AppLnk::writeLink().

Referenced by performGrab().

void ScreenshotControl::slotDrawpad  )  [private, slot]
 

Definition at line 140 of file screenshot.cpp.

References buttonPushed, delaySpin, grabTimer, and true.

Referenced by ScreenshotControl().

void ScreenshotControl::slotGrab  )  [private, slot]
 

Definition at line 106 of file screenshot.cpp.

References buttonPushed, delaySpin, FALSE, FileNamePath, Opie::Ui::OFileDialog::getSaveFileName(), grabTimer, list, saveNamedCheck, setFileName, true, and TRUE.

Referenced by ScreenshotControl().

void ScreenshotControl::slotScap  )  [private, slot]
 

Definition at line 129 of file screenshot.cpp.

References buttonPushed, delaySpin, grabTimer, and true.

Referenced by ScreenshotControl().


Member Data Documentation

int ScreenshotControl::buttonPushed [private]
 

Definition at line 46 of file screenshot.h.

Referenced by performGrab(), slotDrawpad(), slotGrab(), and slotScap().

QSpinBox* ScreenshotControl::delaySpin [private]
 

Definition at line 45 of file screenshot.h.

Referenced by ScreenshotControl(), slotDrawpad(), slotGrab(), and slotScap().

QString ScreenshotControl::FileNamePath [private]
 

Definition at line 43 of file screenshot.h.

Referenced by savePixmap(), and slotGrab().

QPushButton* ScreenshotControl::grabItButton [private]
 

Definition at line 39 of file screenshot.h.

Referenced by ScreenshotControl().

QTimer* ScreenshotControl::grabTimer [private]
 

Definition at line 41 of file screenshot.h.

Referenced by performGrab(), ScreenshotControl(), slotDrawpad(), slotGrab(), and slotScap().

QCheckBox* ScreenshotControl::saveNamedCheck [private]
 

Definition at line 42 of file screenshot.h.

Referenced by ScreenshotControl(), and slotGrab().

QPushButton * ScreenshotControl::scapButton [private]
 

Definition at line 39 of file screenshot.h.

Referenced by ScreenshotControl().

bool ScreenshotControl::setFileName [private]
 

Definition at line 44 of file screenshot.h.

Referenced by savePixmap(), and slotGrab().

QPixmap ScreenshotControl::snapshot [private]
 

Definition at line 40 of file screenshot.h.

Referenced by performGrab(), and savePixmap().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:51:18 2005 for OPIE by  doxygen 1.4.2