|
|
|
/***************************************************************************
|
|
|
|
kgncpricesourcedlg.h
|
|
|
|
-------------------
|
|
|
|
copyright : (C) 2005 by Ace Jones
|
|
|
|
author : Tony Bloomfield
|
|
|
|
email : tonybloom@users.sourceforge.net
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
/***************************************************************************
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef KGNCPRICESOURCEDLG_H
|
|
|
|
#define KGNCPRICESOURCEDLG_H
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// TQt Includes
|
|
|
|
|
|
|
|
#include <tqcheckbox.h>
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// TDE Includes
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// Project Includes
|
|
|
|
|
|
|
|
#include "../dialogs/kgncpricesourcedlgdecl.h"
|
|
|
|
|
|
|
|
class KGncPriceSourceDlg : public KGncPriceSourceDlgDecl
|
|
|
|
{
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
KGncPriceSourceDlg(TQWidget *parent = 0, const char *name = 0);
|
|
|
|
KGncPriceSourceDlg(const TQString &stockName, const TQString &gncSource);
|
|
|
|
~KGncPriceSourceDlg();
|
|
|
|
|
|
|
|
TQString selectedSource () const;
|
|
|
|
bool alwaysUse() const { return (checkAlwaysUse->isChecked()); }
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void buttonPressed(int);
|
|
|
|
void slotHelp();
|
|
|
|
|
|
|
|
private:
|
|
|
|
int m_currentButton;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|