|
|
|
/***************************************************************************
|
|
|
|
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
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// QT Includes
|
|
|
|
|
|
|
|
#include <tqcheckbox.h>
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// KDE Includes
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// Project Includes
|
|
|
|
|
|
|
|
#include "../dialogs/kgncpricesourcedlgdecl.h"
|
|
|
|
|
|
|
|
class KGncPriceSourceDlg : public KGncPriceSourceDlgDecl
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
public:
|
|
|
|
KGncPriceSourceDlg(TQWidget *tqparent = 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
|