Source: /app/hbasic/hbasic/packages/hbasic_radmin/pam_config.h


Annotated List
Files
Globals
Hierarchy
Index

#ifndef PAM_CONFIG_H
#define PAM_CONFIG_H

class QWidget;
class QSplitter;
class QListView;
class QListViewItem;
class QString;
class QPushButton;
class QPopupMenu;
class QLineEdit;
class QToolBar;
class QToolButton;
class QComboBox;

#include 
#include 
#include 

class CPamConfigDlg : public QDialog
{
	Q_OBJECT

public:
	CPamConfigDlg( QWidget *parent, QListViewItem *lv_item );
	QComboBox *cb_name;
	QComboBox *cb_value;
	QLineEdit *le_module;

private:
	char remote_host[100];
	QPushButton *btn_ok;

private slots:
	void slotOkClicked( void );
};

/* ------------------------------------------------------- */

class CPamConfigWin: public QMainWindow
{
	Q_OBJECT
public:
	CPamConfigWin( QWidget *parent );
	~CPamConfigWin( void );

private:
	short property_changed;
	QString *remote_host;
	QString service_file_name;
	QString service_name;
	QSplitter *sp_main;
	QPopupMenu *popup_menu;
	QToolBar *tb_service;
	QToolButton *tb_save_changes;
	QListView *lv_service;
	QListView *lv_property;
	QListViewItem *last_selected_entry;

	void resizeEvent( QResizeEvent *evt );
	void createServiceList( void );

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 *new_host );
};

#endif


Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54.