mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-07-13 13:55:51 +00:00
add docs integration
This commit is contained in:
@ -15,9 +15,9 @@
|
||||
* along with netctl-gui. If not, see http://www.gnu.org/licenses/ *
|
||||
***************************************************************************/
|
||||
|
||||
#include "netctlguiadaptor.h"
|
||||
|
||||
#include "mainwindow.h"
|
||||
#include "netctlguiadaptor.h"
|
||||
|
||||
|
||||
NetctlGuiAdaptor::NetctlGuiAdaptor(MainWindow *parent)
|
||||
@ -32,6 +32,12 @@ NetctlGuiAdaptor::~NetctlGuiAdaptor()
|
||||
}
|
||||
|
||||
|
||||
void NetctlGuiAdaptor::ApiDocs()
|
||||
{
|
||||
return mainWindow->showApi();
|
||||
}
|
||||
|
||||
|
||||
bool NetctlGuiAdaptor::Close()
|
||||
{
|
||||
mainWindow->closeMainWindow();
|
||||
@ -45,6 +51,12 @@ QString NetctlGuiAdaptor::Information()
|
||||
}
|
||||
|
||||
|
||||
void NetctlGuiAdaptor::LibraryDocs()
|
||||
{
|
||||
return mainWindow->showLibrary();
|
||||
}
|
||||
|
||||
|
||||
bool NetctlGuiAdaptor::Restore()
|
||||
{
|
||||
mainWindow->show();
|
||||
@ -52,6 +64,12 @@ bool NetctlGuiAdaptor::Restore()
|
||||
}
|
||||
|
||||
|
||||
void NetctlGuiAdaptor::SecurityDocs()
|
||||
{
|
||||
return mainWindow->showSecurityNotes();
|
||||
}
|
||||
|
||||
|
||||
QStringList NetctlGuiAdaptor::Settings()
|
||||
{
|
||||
return mainWindow->printSettings();
|
||||
|
Reference in New Issue
Block a user