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

KIO

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

#include <kimagefilepreview.h>

Inheritance diagram for KImageFilePreview:
Inheritance graph
[legend]

Public Slots

virtual void clearPreview ()
 
virtual void showPreview (const KUrl &url)
 
- Public Slots inherited from KPreviewWidgetBase
virtual void clearPreview ()=0
 
virtual void showPreview (const KUrl &url)=0
 
QStringList supportedMimeTypes () const
 

Public Member Functions

 KImageFilePreview (QWidget *parent=0)
 
 ~KImageFilePreview ()
 
virtual QSize sizeHint () const
 
- Public Member Functions inherited from KPreviewWidgetBase
 KPreviewWidgetBase (QWidget *parent)
 
 ~KPreviewWidgetBase ()
 

Protected Slots

virtual void gotPreview (const KFileItem &, const QPixmap &)
 
void showPreview ()
 
void showPreview (const KUrl &url, bool force)
 

Protected Member Functions

virtual KIO::PreviewJob * createJob (const KUrl &url, int width, int height)
 
virtual void resizeEvent (QResizeEvent *event)
 
- Protected Member Functions inherited from KPreviewWidgetBase
void setSupportedMimeTypes (const QStringList &mimeTypes)
 

Detailed Description

Image preview widget for the file dialog.

Definition at line 27 of file kimagefilepreview.h.

Constructor & Destructor Documentation

KImageFilePreview::KImageFilePreview ( QWidget *  parent = 0)
explicit

Creates a new image file preview.

Parameters
parentThe parent widget.

Definition at line 71 of file kimagefilepreview.cpp.

KImageFilePreview::~KImageFilePreview ( )

Destroys the image file preview.

Definition at line 89 of file kimagefilepreview.cpp.

Member Function Documentation

void KImageFilePreview::clearPreview ( )
virtualslot

Clears the preview.

Definition at line 258 of file kimagefilepreview.cpp.

KIO::PreviewJob * KImageFilePreview::createJob ( const KUrl &  url,
int  width,
int  height 
)
protectedvirtual

Definition at line 165 of file kimagefilepreview.cpp.

void KImageFilePreview::gotPreview ( const KFileItem &  item,
const QPixmap &  pm 
)
protectedvirtualslot

Definition at line 181 of file kimagefilepreview.cpp.

void KImageFilePreview::resizeEvent ( QResizeEvent *  event)
protectedvirtual

Definition at line 153 of file kimagefilepreview.cpp.

void KImageFilePreview::showPreview ( const KUrl &  url)
virtualslot

Shows a preview for the given url.

Definition at line 106 of file kimagefilepreview.cpp.

void KImageFilePreview::showPreview ( )
protectedslot

Definition at line 98 of file kimagefilepreview.cpp.

void KImageFilePreview::showPreview ( const KUrl &  url,
bool  force 
)
protectedslot

Definition at line 111 of file kimagefilepreview.cpp.

QSize KImageFilePreview::sizeHint ( void  ) const
virtual

Returns the size hint for this widget.

Definition at line 160 of file kimagefilepreview.cpp.


The documentation for this class was generated from the following files:
  • kimagefilepreview.h
  • kimagefilepreview.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

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

kdelibs API Reference

Skip menu "kdelibs 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

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