Source: /app/hbasic/hbasic/packages/hbasic_radmin/xinetd_services.h
|
|
|
|
#ifndef XINETD_SERVICE_H
#define XINETD_SERVICE_H
class QWidget;
class QSplitter;
class QListView;
class QListViewItem;
class QString;
class QPushButton;
class QLineEdit;
class QToolBar;
#include
#include
#include
class CEditPropertyDlg : public QDialog
{
Q_OBJECT
public:
CEditPropertyDlg( QWidget *parent, QListViewItem *lv_item );
QLineEdit *le_value;
QLineEdit *le_operator;
private:
QPushButton *btn_ok;
QLineEdit *le_name;
};
/* ------------------------------------------------------------ */
class CXinetdServices: public QMainWindow
{
Q_OBJECT
public:
CXinetdServices( QWidget *parent );
~CXinetdServices( void );
private:
short property_changed;
QString *remote_host;
QString service_file_name;
QString service_name;
QSplitter *sp_main;
QToolBar *tb_service;
QListView *lv_service;
QListView *lv_property;
QListViewItem *last_selected_entry;
void resizeEvent( QResizeEvent *evt );
void createServiceList( char *file_names );
private slots:
void slotEditProperties( void );
void slotSaveProperty( void );
void slotRestartXinetd( void );
void slotRightButtonPressed( QListViewItem *sel_item, const QPoint &pos, int num);
void slotEditProperty( QListViewItem *edit_item );
public slots:
void host_connect( QString *hostname );
};
#endif
Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54. |