• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KNewStuff

  • KNS3
  • ImageLoader
Signals | Public Member Functions | List of all members
KNS3::ImageLoader Class Reference

#include <imageloader.h>

Inheritance diagram for KNS3::ImageLoader:
QObject

Signals

void signalPreviewLoaded (const KNS3::EntryInternal &, KNS3::EntryInternal::PreviewType)
 

Public Member Functions

 ImageLoader (const EntryInternal &entry, EntryInternal::PreviewType type, QObject *parent)
 
KJob * job ()
 
void start ()
 

Detailed Description

Convenience class for images with remote sources.

This class represents a fire-and-forget approach of loading images in applications. The image will load itself. Using this class also requires using QAsyncFrame or similar UI elements which allow for asynchronous image loading.

This class is used internally by the DownloadDialog class.

Definition at line 51 of file imageloader.h.

Constructor & Destructor Documentation

◆ ImageLoader()

ImageLoader::ImageLoader ( const EntryInternal &  entry,
EntryInternal::PreviewType  type,
QObject *  parent 
)

Definition at line 32 of file imageloader.cpp.

Member Function Documentation

◆ job()

KJob * ImageLoader::job ( )

Get the job doing the image loading in the background (to have progress information available)

Returns
the job

Definition at line 50 of file imageloader.cpp.

◆ signalPreviewLoaded

void KNS3::ImageLoader::signalPreviewLoaded ( const KNS3::EntryInternal &  ,
KNS3::EntryInternal::PreviewType   
)
signal

◆ start()

void ImageLoader::start ( )

Definition at line 39 of file imageloader.cpp.


The documentation for this class was generated from the following files:
  • imageloader.h
  • imageloader.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KNewStuff

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

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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