1
/***************************************************************************
2
smb4kprintdialog - The print dialog for Smb4K
5
copyright : (C) 2004-2008 by Alexander Reinholdt
6
email : dustpuppy@users.berlios.de
7
***************************************************************************/
9
/***************************************************************************
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
15
* This program is distributed in the hope that it will be useful, but *
16
* WITHOUT ANY WARRANTY; without even the implied warranty of *
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
18
* General Public License for more details. *
20
* You should have received a copy of the GNU General Public License *
21
* along with this program; if not, write to the *
22
* Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
24
***************************************************************************/
26
#ifndef SMB4KPRINTDIALOG_H
27
#define SMB4KPRINTDIALOG_H
38
#include <kurlrequester.h>
39
#include <knuminput.h>
40
#include <kdemacros.h>
42
// application specific includes
43
#include <core/smb4kshare.h>
47
* This class provides the print dialog for Smb4K. You can choose the
48
* file that is to be printed and you can define the number of copies
51
* @author Alexander Reinholdt <dustpuppy@users.berlios.de>
54
class KDE_EXPORT Smb4KPrintDialog : public KDialog
62
* @param share The Smb4KShare item representing the printer.
64
* @param parent The parent widget of this dialog.
66
Smb4KPrintDialog( Smb4KShare *share,
67
QWidget *parent = 0 );
76
* This slot is called when the User1 (i.e. the "Print") button
79
void slotUser1Clicked();
82
* This slot is called when the Cancel button has been clicked.
84
void slotCancelClicked();
87
* This slot is connected to the Smb4KPrint::state() signal.
89
void slotPrintStateChanged( int state );
92
* This slot is being enabled if there is input text.
94
* @param text The input text.
96
void slotInputValueChanged( const QString &text );
105
* The Smb4KShareItem object.
112
KUrlRequester *m_file;
117
KIntNumInput *m_copies;