/***************************************************************************
                         barcodeprinterdlg.h  -  description
                             -------------------
    begin                : Fri Oct 01 2004
    copyright            : (C) 2004 by Dominik Seichter
    email                : domseichter@web.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
#ifndef BARCODEPRINTERDLG_H
#define BARCODEPRINTERDLG_H

#include <kdialogbase.h>

class KComboBox;
class KURLRequester;
class TQCheckBox;
class TQLabel;

/**
@author Dominik Seichter
*/
class BarcodePrinterDlg : public KDialogBase
{
    TQ_OBJECT
  
    public:
        BarcodePrinterDlg(TQWidget *parent = 0, const char *name = 0);
        ~BarcodePrinterDlg();

        int outputFormat() const;
        bool printToFile() const;
        const TQString deviceName() const;
        const TQString fileName() const;
        
    private slots:
        void enableControls();
        
    private:
        KComboBox* comboFormat;
        KComboBox* comboDevice;
        KURLRequester* requester;
        
        TQCheckBox* checkFile;
        TQLabel* label2;
        TQLabel* label3;
};

#endif
