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

kmail

folderadaptor.h

Go to the documentation of this file.
00001 /*  -*- mode: C++; c-file-style: "gnu" -*-
00002  *
00003  *  This file is part of KMail, the KDE mail client.
00004  *  Copyright (c) 2003 Zack Rusin <zack@kde.org>
00005  *
00006  *  KMail is free software; you can redistribute it and/or modify it
00007  *  under the terms of the GNU General Public License, version 2, as
00008  *  published by the Free Software Foundation.
00009  *
00010  *  KMail is distributed in the hope that it will be useful, but
00011  *  WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  *  General Public License for more details.
00014  *
00015  *  You should have received a copy of the GNU General Public License
00016  *  along with this program; if not, write to the Free Software
00017  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00018  *
00019  *  In addition, as a special exception, the copyright holders give
00020  *  permission to link the code of this program with any edition of
00021  *  the Qt library by Trolltech AS, Norway (or with modified versions
00022  *  of Qt that use the same license as Qt), and distribute linked
00023  *  combinations including the two.  You must obey the GNU General
00024  *  Public License in all respects for all of the code used other than
00025  *  Qt.  If you modify this file, you may extend this exception to
00026  *  your version of the file, but you are not obligated to do so.  If
00027  *  you do not wish to do so, delete this exception statement from
00028  *  your version.
00029  */
00030 
00031 #ifndef FOLDERADAPTOR_H
00032 #define FOLDERADAPTOR_H
00033 
00034 #include <QObject>
00035 
00036 class KMFolder;
00037 
00038 namespace KMail {
00039 
00040   class FolderAdaptor : public QObject
00041   {
00042     Q_OBJECT
00043     Q_CLASSINFO("D-Bus Interface", "org.kde.kmail.folder")
00044 
00045   public:
00046     FolderAdaptor( const QString& vpath );
00047     void unregisterobject();
00048 
00049   public Q_SLOTS:
00050     Q_SCRIPTABLE QString path() const;
00051     Q_SCRIPTABLE QString displayName() const;
00052     Q_SCRIPTABLE QString displayPath() const;
00053     Q_SCRIPTABLE bool usesCustomIcons() const;
00054     Q_SCRIPTABLE QString normalIconPath() const;
00055     Q_SCRIPTABLE QString unreadIconPath() const;
00056     Q_SCRIPTABLE int messages();
00057     Q_SCRIPTABLE int unreadMessages();
00058     Q_SCRIPTABLE int unreadRecursiveMessages();
00059 
00060     //not yet
00061     //virtual QValueList<DCOPRef> messageRefs();
00062   protected:
00063     KMFolder* mFolder;
00064     QString   mPath;
00065   };
00066 
00067 }
00068 
00069 #endif

kmail

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
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