mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +02:00
2018-02-06 Fred Gleason <fredg@paravelsystems.com>
* Refactored the RDListLogs class to use RDApplication. * Converted rdadmin(1) to use RDApplication.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// The Administration Utility for Rivendell.
|
||||
//
|
||||
// (C) Copyright 2002-2016 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2018 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
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <qsqldatabase.h>
|
||||
#include <qpixmap.h>
|
||||
|
||||
#include <rduser.h>
|
||||
#include <rdconfig.h>
|
||||
|
||||
#define RDADMIN_USAGE "[--check-db][--mysql-admin-user=<username>][--mysql-admin-password=<password>]\n\n--check-db'\n Check and (if necessary) create or update the database schema to the\n current version, then exit.\n\n--mysql-admin-user=<username>\n--mysql-admin-password=<password>\n--mysql-admin-hostname=<hostname>\n--mysql-admin-dbname=<dbname>\n When creating a new database, use the supplied credentials for the\n MySQL administrative user instead of prompting for them.\n\n--create-db-hostname=<hostname>\n When creating a new database, create a host entry called <hostname>\n instead of autodetecting the hostname.\n\n--backup-filename=<file-path>\n When performing a schema update, RDAdmin will automatically execute a\n database backup to the file specified in <file-path> [default value\n $HOME/rdbackup-<date>-<old-schema-ver>.sql.gz].\n\n--skip-backup\n When doing a schema update, suppress generation of an automatic backup.\n"
|
||||
|
||||
class MainWidget : public QWidget
|
||||
@@ -38,7 +35,6 @@ class MainWidget : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
MainWidget(QWidget *parent=0);
|
||||
~MainWidget();
|
||||
QSize sizeHint() const;
|
||||
QSizePolicy sizePolicy() const;
|
||||
|
||||
@@ -68,4 +64,4 @@ class MainWidget : public QWidget
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
#endif // RDADMIN_H
|
||||
|
Reference in New Issue
Block a user