00001 /*************************************************************************** 00002 kgncpricesourcedlg.h 00003 ------------------- 00004 copyright : (C) 2005 by Ace Jones 00005 author : Tony Bloomfield 00006 email : tonybloom@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 KGNCPRICESOURCEDLG_H 00019 #define KGNCPRICESOURCEDLG_H 00020 00021 // ---------------------------------------------------------------------------- 00022 // QT Includes 00023 00024 #include <qcheckbox.h> 00025 00026 // ---------------------------------------------------------------------------- 00027 // KDE Includes 00028 00029 // ---------------------------------------------------------------------------- 00030 // Project Includes 00031 00032 #include "../dialogs/kgncpricesourcedlgdecl.h" 00033 00034 class KGncPriceSourceDlg : public KGncPriceSourceDlgDecl 00035 { 00036 Q_OBJECT 00037 public: 00038 KGncPriceSourceDlg(QWidget *parent = 0, const char *name = 0); 00039 KGncPriceSourceDlg(const QString &stockName, const QString &gncSource); 00040 ~KGncPriceSourceDlg(); 00041 00042 QString selectedSource () const; 00043 bool alwaysUse() const { return (checkAlwaysUse->isChecked()); } 00044 00045 public slots: 00046 void buttonPressed(int); 00047 void slotHelp(); 00048 00049 private: 00050 int m_currentButton; 00051 }; 00052 00053 #endif