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

KIO

kmimetyperesolver.h

Go to the documentation of this file.
00001 /* This file is part of the KDE libraries
00002    Copyright (C) 2000, 2006 David Faure <faure@kde.org>
00003    Copyright (C) 2000 Rik Hemsley <rik@kde.org>
00004    Copyright (C) 2002 Carsten Pfeiffer <pfeiffer@kde.org>
00005 
00006    This library is free software; you can redistribute it and/or
00007    modify it under the terms of the GNU Library General Public
00008    License version 2 as published by the Free Software Foundation.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018    Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef KMIMETYPERESOLVER_H
00022 #define KMIMETYPERESOLVER_H
00023 
00024 #include <QtCore/QObject>
00025 #include <kio/kio_export.h>
00026 class QModelIndex;
00027 class QAbstractItemView;
00028 class QAbstractProxyModel;
00029 class KDirModel;
00030 class KMimeTypeResolverPrivate;
00031 class KAbstractViewAdapter;
00032 
00041 class KIO_EXPORT KMimeTypeResolver : public QObject
00042 {
00043     Q_OBJECT
00044 public:
00053     explicit KMimeTypeResolver(QAbstractItemView* view, KDirModel* model);
00054 
00060     explicit KMimeTypeResolver(QAbstractItemView* view, QAbstractProxyModel* model);
00061 
00065     explicit KMimeTypeResolver(KAbstractViewAdapter* adapter);
00066 
00067     ~KMimeTypeResolver();
00068 
00069 private:
00070     KMimeTypeResolverPrivate *const d;
00071 
00072     Q_PRIVATE_SLOT( d, void _k_slotRowsInserted(const QModelIndex&,int,int) )
00073     Q_PRIVATE_SLOT( d, void _k_slotViewportAdjusted() )
00074     Q_PRIVATE_SLOT( d, void _k_slotProcessMimeIcons() )
00075 };
00076 
00077 #endif /* KMIMETYPERESOLVER_H */
00078 

KIO

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal