mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
2016-05-24 Fred Gleason <fredg@paravelsystems.com>
* Removed all CVS tags. * Removed 'const char *name' parameter from all QObject contructors.
This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
##
|
||||
## Automake.am for rivendell/utils/rdmaint
|
||||
##
|
||||
## (C) Copyright 2008 Fred Gleason <fredg@paravelsystems.com>
|
||||
##
|
||||
## $Id: Makefile.am,v 1.6.8.1 2012/11/29 01:37:38 cvs Exp $
|
||||
## (C) Copyright 2008,2016 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
|
||||
|
@@ -42,8 +42,8 @@
|
||||
#include <rdcart.h>
|
||||
#include <rdlog.h>
|
||||
|
||||
MainObject::MainObject(QObject *parent,const char *name)
|
||||
:QObject(parent,name)
|
||||
MainObject::MainObject(QObject *parent)
|
||||
:QObject(parent)
|
||||
{
|
||||
QString sql;
|
||||
RDSqlQuery *q;
|
||||
@@ -283,6 +283,6 @@ void MainObject::PurgeGpioEvents()
|
||||
int main(int argc,char *argv[])
|
||||
{
|
||||
QApplication a(argc,argv,false);
|
||||
new MainObject(NULL,"main");
|
||||
new MainObject();
|
||||
return a.exec();
|
||||
}
|
||||
|
@@ -2,9 +2,7 @@
|
||||
//
|
||||
// A Utility for running periodic system maintenance.
|
||||
//
|
||||
// (C) Copyright 2008 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// $Id: rdmaint.h,v 1.6 2010/09/08 20:38:01 cvs Exp $
|
||||
// (C) Copyright 2008,2016 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
|
||||
@@ -20,7 +18,6 @@
|
||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
//
|
||||
|
||||
|
||||
#ifndef RDMAINT_H
|
||||
#define RDMAINT_H
|
||||
|
||||
@@ -34,11 +31,10 @@
|
||||
|
||||
#define RDMAINT_USAGE "[--help] [--verbose] [--system]\n\nRun Rivendell maintenance routines.\n"
|
||||
|
||||
|
||||
class MainObject : public QObject
|
||||
{
|
||||
public:
|
||||
MainObject(QObject *parent=0,const char *name=0);
|
||||
MainObject(QObject *parent=0);
|
||||
|
||||
private:
|
||||
void RunSystemMaintenance();
|
||||
|
Reference in New Issue
Block a user