akonadi
renamefavoritedialog.h
00001 /* 00002 Copyright (c) 2011 Laurent Montel <montel@kde.org> 00003 00004 This library is free software; you can redistribute it and/or modify it 00005 under the terms of the GNU Library General Public License as published by 00006 the Free Software Foundation; either version 2 of the License, or (at your 00007 option) any later version. 00008 00009 This library is distributed in the hope that it will be useful, but WITHOUT 00010 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00011 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00012 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 the 00016 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00017 02110-1301, USA. 00018 */ 00019 00020 #ifndef RENAMEFAVORITEDIALOG_H 00021 #define RENAMEFAVORITEDIALOG_H 00022 00023 #include <KDialog> 00024 #include <akonadi/collection.h> 00025 00026 class QLabel; 00027 class KLineEdit; 00028 00029 class RenameFavoriteDialog : public KDialog 00030 { 00031 Q_OBJECT 00032 public: 00033 explicit RenameFavoriteDialog(const QString& caption, const QString& text, const QString &value, const QString& defaultName, QWidget *parent ); 00034 ~RenameFavoriteDialog(); 00035 00036 QString newName() const; 00037 00038 protected: 00039 00040 protected Q_SLOTS: 00041 void slotEditTextChanged(const QString&); 00042 void slotDefaultName(); 00043 private: 00044 QString m_defaultName; 00045 QLabel *m_label; 00046 KLineEdit *m_lineEdit; 00047 }; 00048 00049 00050 #endif /* RENAMEFAVORITEDIALOG_H */ 00051
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 22:18:35 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 22:18:35 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.