mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-07 01:13:50 +02:00
* Removed the 'exemplar' parameter from the 'RDFeed::create()' method. * Removed the 'Base Feed On' dropdown from the 'Add Feed' dialog in rdadmin(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
62 lines
1.5 KiB
C++
62 lines
1.5 KiB
C++
// add_feed.h
|
|
//
|
|
// Add a Rivendell Feed
|
|
//
|
|
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
|
|
//
|
|
// This program is free software; you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License version 2 as
|
|
// published by the Free Software Foundation.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public
|
|
// License along with this program; if not, write to the Free Software
|
|
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
//
|
|
|
|
#ifndef ADD_FEED_H
|
|
#define ADD_FEED_H
|
|
|
|
#include <qcheckbox.h>
|
|
#include <qcombobox.h>
|
|
#include <qlineedit.h>
|
|
#include <qlabel.h>
|
|
#include <qpushbutton.h>
|
|
|
|
#include <rddialog.h>
|
|
|
|
class AddFeed : public RDDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
AddFeed(unsigned *id,QString *keyname,QWidget *parent=0);
|
|
~AddFeed();
|
|
QSize sizeHint() const;
|
|
QSizePolicy sizePolicy() const;
|
|
|
|
private slots:
|
|
void keynameChangedData(const QString &str);
|
|
void okData();
|
|
void cancelData();
|
|
|
|
protected:
|
|
void resizeEvent(QResizeEvent *e);
|
|
|
|
private:
|
|
QLabel *feed_keyname_label;
|
|
QLineEdit *feed_keyname_edit;
|
|
QCheckBox *feed_users_box;
|
|
QLabel *feed_users_label;
|
|
QPushButton *feed_ok_button;
|
|
QPushButton *feed_cancel_button;
|
|
QString *feed_keyname;
|
|
unsigned *feed_id;
|
|
};
|
|
|
|
|
|
#endif // ADD_FEED_H
|