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

KIO

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

#include <kicondialog.h>

Inheritance diagram for KIconCanvas:
KListWidget QListWidget

Public Slots

void stopLoading ()
 

Signals

void finished ()
 
void nameChanged (const QString &)
 
void progress (int number)
 
void startLoading (int count)
 
- Signals inherited from KListWidget
void doubleClicked (QListWidgetItem *item, const QPoint &pos)
 
void executed (QListWidgetItem *item)
 
void executed (QListWidgetItem *item, const QPoint &pos)
 

Public Member Functions

 KIconCanvas (QWidget *parent=0L)
 
 ~KIconCanvas ()
 
QString getCurrent () const
 
void loadFiles (const QStringList &files)
 
- Public Member Functions inherited from KListWidget
 KListWidget (QWidget *parent=0)
 
 ~KListWidget ()
 

Additional Inherited Members

- Protected Member Functions inherited from KListWidget
virtual void focusOutEvent (QFocusEvent *e)
 
virtual void keyPressEvent (QKeyEvent *e)
 
virtual void leaveEvent (QEvent *e)
 
virtual void mouseDoubleClickEvent (QMouseEvent *e)
 
virtual void mousePressEvent (QMouseEvent *e)
 
virtual void mouseReleaseEvent (QMouseEvent *e)
 

Detailed Description

Icon canvas for KIconDialog.

Definition at line 30 of file kicondialog.h.

Constructor & Destructor Documentation

◆ KIconCanvas()

KIconCanvas::KIconCanvas ( QWidget *  parent = 0L)
explicit

Creates a new icon canvas.

Parameters
parentThe parent widget.

Definition at line 132 of file kicondialog.cpp.

◆ ~KIconCanvas()

KIconCanvas::~KIconCanvas ( )

Destroys the icon canvas.

Definition at line 149 of file kicondialog.cpp.

Member Function Documentation

◆ finished

void KIconCanvas::finished ( )
signal

This signal is emitted when the loading of the icons has been finished.

◆ getCurrent()

QString KIconCanvas::getCurrent ( ) const

Returns the current icon.

Definition at line 258 of file kicondialog.cpp.

◆ loadFiles()

void KIconCanvas::loadFiles ( const QStringList &  files)

Load icons into the canvas.

Definition at line 156 of file kicondialog.cpp.

◆ nameChanged

void KIconCanvas::nameChanged ( const QString &  )
signal

Emitted when the current icon has changed.

◆ progress

void KIconCanvas::progress ( int  number)
signal

This signal is emitted whenever an icon has been loaded.

Parameters
numberThe number of the currently loaded item.

◆ startLoading

void KIconCanvas::startLoading ( int  count)
signal

This signal is emitted when the loading of the icons has started.

Parameters
countThe number of icons to be loaded.

◆ stopLoading

void KIconCanvas::stopLoading ( )
slot

Call this slot to stop the loading of the icons.

Definition at line 265 of file kicondialog.cpp.


The documentation for this class was generated from the following files:
  • kicondialog.h
  • kicondialog.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.

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-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