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

KIO

  • sources
  • kde-4.14
  • kdelibs
  • kio
  • kio
kmimetyperesolver.h
Go to the documentation of this file.
1 /* This file is part of the KDE libraries
2  Copyright (C) 2000, 2006 David Faure <faure@kde.org>
3  Copyright (C) 2000 Rik Hemsley <rik@kde.org>
4  Copyright (C) 2002 Carsten Pfeiffer <pfeiffer@kde.org>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License version 2 as published by the Free Software Foundation.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef KMIMETYPERESOLVER_H
22 #define KMIMETYPERESOLVER_H
23 
24 #include <QtCore/QObject>
25 #include <kio/kio_export.h>
26 class QModelIndex;
27 class QAbstractItemView;
28 class QAbstractProxyModel;
29 class KDirModel;
30 class KMimeTypeResolverPrivate;
31 class KAbstractViewAdapter;
32 
45 class KIO_EXPORT KMimeTypeResolver : public QObject
46 {
47  Q_OBJECT
48 public:
57  KDE_DEPRECATED KMimeTypeResolver(QAbstractItemView* view, KDirModel* model);
58 
64  KDE_DEPRECATED KMimeTypeResolver(QAbstractItemView* view, QAbstractProxyModel* model);
65 
69  explicit KDE_DEPRECATED KMimeTypeResolver(KAbstractViewAdapter* adapter);
70 
71  ~KMimeTypeResolver();
72 
73 private:
74  KMimeTypeResolverPrivate *const d;
75 
76  Q_PRIVATE_SLOT( d, void _k_slotRowsInserted(const QModelIndex&,int,int) )
77  Q_PRIVATE_SLOT( d, void _k_slotViewportAdjusted() )
78  Q_PRIVATE_SLOT( d, void _k_slotProcessMimeIcons() )
79 };
80 
81 #endif /* KMIMETYPERESOLVER_H */
82 
kio_export.h
QModelIndex
QAbstractItemView
QAbstractProxyModel
KAbstractViewAdapter
Definition: kabstractviewadapter_p.h:36
QObject
KMimeTypeResolver
This class implements the "delayed-mimetype-determination" feature, for directory views...
Definition: kmimetyperesolver.h:45
KDirModel
A model for a KIO-based directory tree.
Definition: kdirmodel.h:48
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • 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