• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

korganizer

Signals | Public Member Functions | Protected Slots | List of all members
POTDElement Class Reference

#include <picoftheday.h>

Inheritance diagram for POTDElement:
Inheritance graph
[legend]

Signals

void gotNewExtensiveText (const QString &) const
 
void gotNewLongText (const QString &) const
 
void gotNewPixmap (const QPixmap &) const
 
void gotNewShortText (const QString &) const
 
void gotNewUrl (const KUrl &) const
 
void step1Success () const
 
void step2Success () const
 
void step3Success () const
 

Public Member Functions

 POTDElement (const QString &id, const QDate &date, const QSize &initialThumbSize)
 
 ~POTDElement ()
 
QPixmap newPixmap (const QSize &size)
 
void setDate (const QDate &date)
 
void setThumbnailSize (const QSize &size)
 
KUrl thumbnailUrl (const KUrl &fullSizeUrl, const int width=0) const
 

Protected Slots

void step1StartDownload ()
 
void step2GetImagePage ()
 
void step3GetThumbnail ()
 

Detailed Description

Definition at line 45 of file picoftheday.h.

Constructor & Destructor Documentation

POTDElement::POTDElement ( const QString &  id,
const QDate &  date,
const QSize &  initialThumbSize 
)

Definition at line 73 of file picoftheday.cpp.

POTDElement::~POTDElement ( )
inline

Definition at line 52 of file picoftheday.h.

Member Function Documentation

void POTDElement::gotNewExtensiveText ( const QString &  ) const
signal
void POTDElement::gotNewLongText ( const QString &  ) const
signal
void POTDElement::gotNewPixmap ( const QPixmap &  ) const
signal
void POTDElement::gotNewShortText ( const QString &  ) const
signal
void POTDElement::gotNewUrl ( const KUrl &  ) const
signal
QPixmap POTDElement::newPixmap ( const QSize &  size)
Reimplemented from superclass. from Element

Definition at line 323 of file picoftheday.cpp.

void POTDElement::setDate ( const QDate &  date)
void POTDElement::setThumbnailSize ( const QSize &  size)

Definition at line 367 of file picoftheday.cpp.

void POTDElement::step1StartDownload ( )
protectedslot

First step of three in the download process.

Definition at line 90 of file picoftheday.cpp.

void POTDElement::step1Success ( ) const
signal
void POTDElement::step2GetImagePage ( )
protectedslot

Second step of three in the download process.

Definition at line 160 of file picoftheday.cpp.

void POTDElement::step2Success ( ) const
signal
void POTDElement::step3GetThumbnail ( )
protectedslot

Third step of three in the downloading process.

Definition at line 261 of file picoftheday.cpp.

void POTDElement::step3Success ( ) const
signal
KUrl POTDElement::thumbnailUrl ( const KUrl &  fullSizeUrl,
const int  width = 0 
) const

Returns the thumbnail URL for a given width corresponding to a full-size image URL.

Definition at line 244 of file picoftheday.cpp.


The documentation for this class was generated from the following files:
  • picoftheday.h
  • picoftheday.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

korganizer

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal