00001 #ifndef __PRINT_DIALOG_H__ 00002 #define __PRINT_DIALOG_H__ 00003 00005 // 00006 // Class Name : KFI::CPrintDialog 00007 // Author : Craig Drummond 00008 // Project : K Font Installer 00009 // Creation Date : 12/05/2005 00010 // Version : $Revision$ $Date$ 00011 // 00013 // 00014 // This program is free software; you can redistribute it and/or 00015 // modify it under the terms of the GNU General Public License 00016 // as published by the Free Software Foundation; either version 2 00017 // of the License, or (at your option) any later version. 00018 // 00019 // This program is distributed in the hope that it will be useful, 00020 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 // GNU General Public License for more details. 00023 // 00024 // You should have received a copy of the GNU General Public License 00025 // along with this program; if not, write to the Free Software 00026 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00027 // 00029 // (C) Craig Drummond, 2005 00031 00032 #include <kdialogbase.h> 00033 #include <tqcombobox.h> 00034 00035 namespace KFI 00036 { 00037 00038 class CPrintDialog : public KDialogBase 00039 { 00040 public: 00041 00042 CPrintDialog(TQWidget *parent); 00043 00044 bool exec(bool select, int size); 00045 int chosenSize() { return itsSize->currentItem(); } 00046 bool outputAll() { return 0==itsOutput->currentItem(); } 00047 00048 private: 00049 00050 TQComboBox *itsOutput, 00051 *itsSize; 00052 }; 00053 00054 } 00055 00056 #endif
1.6.1