From ea318d1431c89e647598c510c4245c6571aa5f46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 23:32:43 -0600 Subject: Update to latest tqt3 automated conversion --- doc/html/qfileiconprovider.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/html/qfileiconprovider.html') diff --git a/doc/html/qfileiconprovider.html b/doc/html/qfileiconprovider.html index ea9656903..a04926b20 100644 --- a/doc/html/qfileiconprovider.html +++ b/doc/html/qfileiconprovider.html @@ -34,8 +34,8 @@ body { background: #ffffff; color: black; }

The TQFileIconProvider class provides icons for TQFileDialog to use. More... -

#include <qfiledialog.h> -

Inherits TQObject. +

#include <ntqfiledialog.h> +

Inherits TQObject.

List of all member functions.

Public Members


Detailed Description

-

The TQFileIconProvider class provides icons for TQFileDialog to +

The TQFileIconProvider class provides icons for TQFileDialog to use.

By default TQFileIconProvider is not used, but any application or library can subclass it, reimplement pixmap() to return a suitable icon, and make all TQFileDialog objects use it by calling the static -function TQFileDialog::setIconProvider(). +function TQFileDialog::setIconProvider().

It is advisable to make all the icons that TQFileIconProvider returns be the same size or at least the same width. This makes the list view look much better. -

See also TQFileDialog and Miscellaneous Classes. +

See also TQFileDialog and Miscellaneous Classes.


Member Function Documentation

-

TQFileIconProvider::TQFileIconProvider ( TQObject * parent = 0, const char * name = 0 ) +

TQFileIconProvider::TQFileIconProvider ( TQObject * parent = 0, const char * name = 0 )

Constructs an empty file icon provider called name, with the parent parent. -

const TQPixmap * TQFileIconProvider::pixmap ( const TQFileInfo & info ) [virtual] +

const TQPixmap * TQFileIconProvider::pixmap ( const TQFileInfo & info ) [virtual]

Returns a pointer to a pixmap that should be used to signify the file with the information info. -

If pixmap() returns 0, TQFileDialog draws the default pixmap. +

If pixmap() returns 0, TQFileDialog draws the default pixmap.

The default implementation returns particular icons for files, directories, link-files and link-directories. It returns a blank "icon" for other types.

If you return a pixmap here, it should measure 16x16 pixels. -- cgit v1.2.1