nextcloud-desktop/shell_integration/testclient/window.h

33 lines
473 B
C
Raw Normal View History

2014-07-02 12:10:22 +04:00
#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