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

KIO

kdevicelistitem_p.h

Go to the documentation of this file.
00001 /*  This file is part of the KDE project
00002     Copyright (C) 2006 Michael Larouche <michael.larouche@kdemail.net>
00003                   2007 Kevin Ottens <ervin@kde.org>
00004 
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Library General Public
00007     License version 2 as published by the Free Software Foundation.
00008 
00009     This library is distributed in the hope that it will be useful,
00010     but WITHOUT ANY WARRANTY; without even the implied warranty of
00011     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012     Library General Public License for more details.
00013 
00014     You should have received a copy of the GNU Library General Public License
00015     along with this library; see the file COPYING.LIB.  If not, write to
00016     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017     Boston, MA 02110-1301, USA.
00018 
00019 */
00020 #ifndef KDEVICELISTITEM_P_H
00021 #define KDEVICELISTITEM_P_H
00022 
00023 #include <QVariant>
00024 #include <QList>
00025 
00026 namespace Solid
00027 {
00028     class Device;
00029 }
00030 
00040 class KDeviceListItem
00041 {
00042 public:
00046     KDeviceListItem();
00047 
00051     ~KDeviceListItem();
00052 
00058     KDeviceListItem *child(int row);
00059 
00064     QList<KDeviceListItem*> children();
00065 
00071     int indexOf(KDeviceListItem *child) const;
00072 
00077     int childCount() const;
00078 
00083     int row() const;
00084 
00089     void setParent(KDeviceListItem *parent);
00090 
00095     KDeviceListItem *parent();
00096 
00101     void setDevice(const Solid::Device &device);
00102 
00107     Solid::Device &device();
00108 
00109 private:
00114     void appendChild(KDeviceListItem *child);
00115 
00120     void removeChild(KDeviceListItem *child);
00121 
00122     class Private;
00123     Private * const d;
00124 };
00125 
00126 #endif

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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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