mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
32 lines
473 B
C++
32 lines
473 B
C++
#ifndef WINDOW_H
|
|
#define WINDOW_H
|
|
|
|
#include <QWidget>
|
|
#include <QLocalSocket>
|
|
|
|
namespace Ui {
|
|
class Window;
|
|
}
|
|
|
|
class Window : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Window(QIODevice *dev, QWidget *parent = 0);
|
|
~Window();
|
|
|
|
public slots:
|
|
void receive();
|
|
void receiveError(QLocalSocket::LocalSocketError);
|
|
|
|
private slots:
|
|
void handleReturn();
|
|
|
|
private:
|
|
void addDefaultItems();
|
|
Ui::Window *ui;
|
|
QIODevice *device;
|
|
};
|
|
|
|
#endif // WINDOW_H
|