File indexing completed on 2024-04-21 05:45:46
0001 /*************************************************************************** 0002 * Copyright (C) 2008 by Pino Toscano <pino@kde.org> * 0003 * * 0004 * This program is free software; you can redistribute it and/or modify * 0005 * it under the terms of the GNU General Public License as published by * 0006 * the Free Software Foundation; either version 2 of the License, or * 0007 * (at your option) any later version. * 0008 ***************************************************************************/ 0009 0010 #ifndef SLAVEWIDGET_H 0011 #define SLAVEWIDGET_H 0012 0013 #include "ui_slavewidget.h" 0014 0015 struct Slave; 0016 0017 class SlaveWidget : public QWidget, private Ui::SlaveWidgetUi 0018 { 0019 Q_OBJECT 0020 0021 public: 0022 explicit SlaveWidget(Slave *slave, QWidget *parent = Q_NULLPTR); 0023 ~SlaveWidget() Q_DECL_OVERRIDE; 0024 0025 QString slavePath() const; 0026 0027 signals: 0028 void slaveChanged(const QString &); 0029 0030 private slots: 0031 void slotTextChanged(const QString &); 0032 0033 private: 0034 Slave *m_slave; 0035 }; 0036 0037 #endif