File indexing completed on 2025-02-16 04:13:56
0001 /*************************************************************************** 0002 * * 0003 * copyright : (C) 2011 Joshua Netterfield * 0004 * joshua.netterfield@gmail.com * 0005 * * 0006 * This program is free software; you can redistribute it and/or modify * 0007 * it under the terms of the GNU General Public License as published by * 0008 * the Free Software Foundation; either version 2 of the License, or * 0009 * (at your option) any later version. * 0010 * * 0011 ***************************************************************************/ 0012 #ifndef CWIDGET_H 0013 #define CWIDGET_H 0014 0015 #include <QMainWindow> 0016 #include <QLocalSocket> 0017 0018 namespace Ui { 0019 class CWidget; 0020 } 0021 0022 class CWidget : public QMainWindow 0023 { 0024 Q_OBJECT 0025 QLocalSocket ls; 0026 0027 public: 0028 explicit CWidget(QWidget *parent = 0); 0029 ~CWidget(); 0030 0031 public slots: 0032 void send(); 0033 0034 private: 0035 Ui::CWidget *ui; 0036 }; 0037 0038 #endif // CWIDGET_H