1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-28 19:15:32 +00:00
openmw-tes3mp/apps/netlauncher/Main.hpp

38 lines
750 B
C++
Raw Normal View History

2017-01-11 14:04:53 +00:00
//
// Created by koncord on 06.01.17.
//
#ifndef NEWLAUNCHER_MAIN_HPP
#define NEWLAUNCHER_MAIN_HPP
#include "ui_Main.h"
#include "ServerModel.hpp"
#include <QSortFilterProxyModel>
#include <components/process/processinvoker.hpp>
class Main : public QMainWindow, private Ui::MainWindow
{
Q_OBJECT
public:
explicit Main(QWidget *parent = 0);
virtual ~Main();
protected:
public slots:
bool refresh();
2017-01-11 14:04:53 +00:00
protected slots:
void tabSwitched(int index);
void addServer();
void addServerByIP();
void deleteServer();
void play();
void serverSelected();
private:
Process::ProcessInvoker *mGameInvoker;
ServerModel *browser, *favorites;
QSortFilterProxyModel *proxyModel;
};
#endif //NEWLAUNCHER_MAIN_HPP