You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
piklab/src/progs/gui/prog_config_widget.h

47 lines
1.3 KiB

/***************************************************************************
* Copyright (C) 2005 Nicolas Hadacek <hadacek@kde.org> *
* *
* 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 PROG_CONFIG_WIDGET
#define PROG_CONFIG_WIDGET
class TQCheckBox;
class KURLRequester;
#include "common/gui/config_widget.h"
#include "common/port/port.h"
namespace Programmer
{
class Group;
class HardwareDescription;
class ConfigWidget: public ::ConfigWidget
{
Q_OBJECT
TQ_OBJECT
public:
ConfigWidget(const Group &group, TQWidget *parent);
virtual void loadConfig();
const Group &group() const { return _group; }
virtual void saveConfig();
virtual bool setPort(const HardwareDescription &hd);
signals:
void updatePorttqStatus(bool ok);
protected:
const Group &_group;
private:
KURLRequester *_firmwareDir;
};
} // namespace
#endif