akonadi
imeditordialog.h
00001 /* 00002 IM address editor widget for KDE PIM 00003 00004 Copyright 2004,2010 Will Stephenson <wstephenson@kde.org> 00005 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Lesser General Public 00008 License as published by the Free Software Foundation; either 00009 version 2.1 of the License, or (at your option) version 3, or any 00010 later version accepted by the membership of KDE e.V. (or its 00011 successor approved by the membership of KDE e.V.), which shall 00012 act as a proxy defined in Section 6 of version 3 of the license. 00013 00014 This library is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 Lesser General Public License for more details. 00018 00019 You should have received a copy of the GNU Lesser General Public 00020 License along with this library. If not, see <http://www.gnu.org/licenses/>. 00021 */ 00022 00023 #ifndef IMEDITORDIALOG_H 00024 #define IMEDITORDIALOG_H 00025 00026 #include <kdialog.h> 00027 00028 #include "immodel.h" 00029 00030 class QPushButton; 00031 class QTreeView; 00032 00033 class IMEditorDialog : public KDialog 00034 { 00035 Q_OBJECT 00036 00037 public: 00038 IMEditorDialog( QWidget *parent ); 00039 ~IMEditorDialog() {} 00040 00041 void setAddresses( const IMAddress::List &addresses ); 00042 IMAddress::List addresses() const; 00043 00044 private Q_SLOTS: 00045 void slotAdd(); 00046 void slotRemove(); 00047 void slotSetStandard(); 00048 void slotUpdateButtons(); 00049 00050 private: 00051 QTreeView *mView; 00052 QPushButton *mAddButton; 00053 QPushButton *mRemoveButton; 00054 QPushButton *mStandardButton; 00055 00056 IMModel *mModel; 00057 }; 00058 00059 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Apr 30 2012 21:49:15 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Apr 30 2012 21:49:15 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.