00001 /* 00002 * kdeprintfax - a small fax utility 00003 * Copyright (C) 2001 Michael Goffioul 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00018 * 00019 */ 00020 00021 #ifndef CONFSYSTEM_H 00022 #define CONFSYSTEM_H 00023 00024 #include <tqwidget.h> 00025 #include <tqstringlist.h> 00026 00027 class TQLineEdit; 00028 class TQComboBox; 00029 00030 class ConfSystem : public QWidget 00031 { 00032 Q_OBJECT 00033 public: 00034 ConfSystem(TQWidget *parent = 0, const char *name = 0); 00035 00036 void load(); 00037 void save(); 00038 00039 protected slots: 00040 void slotSystemChanged(int); 00041 void slotDeviceChanged(int); 00042 00043 private: 00044 QComboBox *m_system, *m_device; 00045 QLineEdit *m_command, *m_server, *m_device_edit; 00046 QStringList m_commands; 00047 int m_current; 00048 }; 00049 00050 #endif
1.6.1