00001 /*************************************************************************** 00002 kaccounttemplateselector.h - description 00003 ------------------- 00004 begin : Tue Feb 5 2008 00005 copyright : (C) 2008 by Thomas Baumgart 00006 email : Thomas Baumgart <ipwizard@users.sourceforge.net> 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef KACCOUNTTEMPLATESELECTOR_H 00019 #define KACCOUNTTEMPLATESELECTOR_H 00020 00021 // ---------------------------------------------------------------------------- 00022 // QT Includes 00023 00024 // ---------------------------------------------------------------------------- 00025 // KDE Includes 00026 00027 // ---------------------------------------------------------------------------- 00028 // Project Includes 00029 00030 #include <kmymoney2/widgets/kaccounttemplateselectordecl.h> 00031 class KAccountTemplateSelectorPrivate; 00032 class MyMoneyTemplate; 00033 00037 class KAccountTemplateSelector : public KAccountTemplateSelectorDecl 00038 { 00039 Q_OBJECT 00040 public: 00041 KAccountTemplateSelector(QWidget* parent = 0, const char* name = 0); 00042 ~KAccountTemplateSelector(); 00043 QValueList<MyMoneyTemplate> selectedTemplates(void) const; 00044 00045 void loadTemplateList(void); 00046 00047 private slots: 00048 void slotLoadHierarchy(void); 00049 00050 private: 00051 KAccountTemplateSelectorPrivate* d; 00052 }; 00053 00054 #endif
1.4.1