mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 23:30:20 +01:00
2020-12-15 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDLogLine::refreshCart()' method. * Refactored the 'Edit Log' dialog in rdlogedit(1) to use Qt's MVC API. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
// rdgroup_list.h
|
||||
//
|
||||
// A container class for Rivendell Groups
|
||||
// A list container for Rivendell Groups
|
||||
//
|
||||
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (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
|
||||
@@ -21,23 +21,22 @@
|
||||
#ifndef RDGROUP_LIST_H
|
||||
#define RDGROUP_LIST_H
|
||||
|
||||
#include <vector>
|
||||
#include <qsqldatabase.h>
|
||||
|
||||
using namespace std;
|
||||
#include <QStringList>
|
||||
|
||||
class RDGroupList
|
||||
{
|
||||
public:
|
||||
RDGroupList();
|
||||
void loadSvc(QString svcname);
|
||||
QString serviceName() const;
|
||||
void setServiceName(const QString &str);
|
||||
void clear();
|
||||
int size() const;
|
||||
QString group(unsigned n) const;
|
||||
bool isGroupValid(QString group);
|
||||
QString group(int n) const;
|
||||
bool groupIsValid(QString group);
|
||||
|
||||
private:
|
||||
vector<QString> list_groups;
|
||||
QString d_service_name;
|
||||
QStringList d_groups;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user