1
/***************************************************************************
2
smb4kprintinfo - This is a container that carries information needed
6
copyright : (C) 2004-2008 by Alexander Reinholdt
7
email : dustpuppy@mail.berlios.de
8
***************************************************************************/
10
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
* This program is distributed in the hope that it will be useful, but *
17
* WITHOUT ANY WARRANTY; without even the implied warranty of *
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
19
* General Public License for more details. *
21
* You should have received a copy of the GNU General Public License *
22
* along with this program; if not, write to the *
23
* Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
25
***************************************************************************/
28
#include <QHostAddress>
30
// application specific includes
31
#include <smb4kprintinfo.h>
34
Smb4KPrintInfo::Smb4KPrintInfo( Smb4KShare *share )
35
: m_share( *share ), m_path( QString() ), m_copies( 0 )
40
Smb4KPrintInfo::Smb4KPrintInfo( const Smb4KPrintInfo &info )
41
: m_share( *info.shareItem() ), m_path( info.path() ), m_copies( info.copies() )
46
Smb4KPrintInfo::~Smb4KPrintInfo()
51
void Smb4KPrintInfo::setShareItem( Smb4KShare *share )
57
void Smb4KPrintInfo::setPath( const QString &path )
63
void Smb4KPrintInfo::setCopies( int num )