summaryrefslogtreecommitdiff
path: root/noncore/net/opie-smb/qsmb.cpp
authorllornkcor <llornkcor>2005-08-16 10:22:06 (UTC)
committer llornkcor <llornkcor>2005-08-16 10:22:06 (UTC)
commite68f54c2f00d8e7a8e753722a50b47484c1124ee (patch) (unidiff)
treefc2076fbc51424f59d10ad1e88e3bdbb2ed78411 /noncore/net/opie-smb/qsmb.cpp
parentdd4792fe0ac89205e7d7a7e38f3d4350e19f25d7 (diff)
downloadopie-e68f54c2f00d8e7a8e753722a50b47484c1124ee.zip
opie-e68f54c2f00d8e7a8e753722a50b47484c1124ee.tar.gz
opie-e68f54c2f00d8e7a8e753722a50b47484c1124ee.tar.bz2
proper opie header and maintainter
Diffstat (limited to 'noncore/net/opie-smb/qsmb.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opie-smb/qsmb.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/noncore/net/opie-smb/qsmb.cpp b/noncore/net/opie-smb/qsmb.cpp
index d35e09a..d74f240 100644
--- a/noncore/net/opie-smb/qsmb.cpp
+++ b/noncore/net/opie-smb/qsmb.cpp
@@ -1,48 +1,76 @@
1/*
2               =. This file is part of the OPIE Project
3             .=l. Copyright (c) 2002-2005 Kurt Korbatits <support@midget.net.au>
4           .>+-= Copyright (c) 2005 L. Potter <lpotter@trolltech.com>
5 _;:,     .>    :=|. This program is free software; you can
6.> <`_,   >  .   <= redistribute it and/or modify it under
7:`=1 )Y*s>-.--   : the terms of the GNU General Public
8.="- .-=="i,     .._ License as published by the Free Software
9 - .   .-<_>     .<> Foundation; either version 2 of the License,
10     ._= =}       : or (at your option) any later version.
11    .%`+i>       _;_.
12    .i_,=:_.      -<s. This program is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
17..}^=.=       =       ; General Public License for more
18++=   -.     .`     .: details.
19 :     =  ...= . :.=-
20 -.   .:....=;==+<; You should have received a copy of the GNU
21  -_. . .   )=.  = General Public License along with
22    --        :-=` this library; see the file COPYING.BIN.
23 If not, write to the Free Software Foundation,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA.
26
27*/
28
1#include "qsmb.h" 29#include "qsmb.h"
2#include <qpushbutton.h> 30#include <qpushbutton.h>
3#include <qpe/qpeapplication.h> 31#include <qpe/qpeapplication.h>
4 32
5#include <string.h> 33#include <string.h>
6#include <qstring.h> 34#include <qstring.h>
7#include <qstringlist.h> 35#include <qstringlist.h>
8#include <qdir.h> 36#include <qdir.h>
9#include <qfileinfo.h> 37#include <qfileinfo.h>
10#include <qtabwidget.h> 38#include <qtabwidget.h>
11 39
12#include <qpe/process.h> 40#include <qpe/process.h>
13#include <qlabel.h> 41#include <qlabel.h>
14#include <qlineedit.h> 42#include <qlineedit.h>
15#include <qcombobox.h> 43#include <qcombobox.h>
16#include <qstringlist.h> 44#include <qstringlist.h>
17#include <qcheckbox.h> 45#include <qcheckbox.h>
18#include <qtextview.h> 46#include <qtextview.h>
19#include <qmessagebox.h> 47#include <qmessagebox.h>
20#include <qtextstream.h> 48#include <qtextstream.h>
21 49
22 50
23#include <pthread.h> 51#include <pthread.h>
24#include <signal.h> 52#include <signal.h>
25#include <ctype.h> 53#include <ctype.h>
26 54
27 55
28#include <netinet/in.h> 56#include <netinet/in.h>
29#include <arpa/inet.h> 57#include <arpa/inet.h>
30#include <rpc/clnt.h> 58#include <rpc/clnt.h>
31 59
32#include <sys/vfs.h> 60#include <sys/vfs.h>
33#include <mntent.h> 61#include <mntent.h>
34 62
35// #include <opie2/odebug.h> 63// #include <opie2/odebug.h>
36// using namespace Opie::Core; 64// using namespace Opie::Core;
37 65
38 66
39Qsmb::Qsmb( QWidget* parent, const char* name, WFlags fl ) 67Qsmb::Qsmb( QWidget* parent, const char* name, WFlags fl )
40 : FormQPESMBBase( parent, name, fl ) 68 : FormQPESMBBase( parent, name, fl )
41{ 69{
42 connect(CBHost, SIGNAL(activated(int)), this, SLOT(hostSelected(int))); 70 connect(CBHost, SIGNAL(activated(int)), this, SLOT(hostSelected(int)));
43 connect(DoItBtn, SIGNAL(clicked()), this, SLOT(DoItClicked())); 71 connect(DoItBtn, SIGNAL(clicked()), this, SLOT(DoItClicked()));
44 connect(UnmountBtn, SIGNAL(clicked()), this, SLOT(umountIt())); 72 connect(UnmountBtn, SIGNAL(clicked()), this, SLOT(umountIt()));
45 connect(BtnScan, SIGNAL(clicked()), this, SLOT(scanClicked())); 73 connect(BtnScan, SIGNAL(clicked()), this, SLOT(scanClicked()));
46 connect(BtnClear, SIGNAL(clicked()), this, SLOT(clear())); 74 connect(BtnClear, SIGNAL(clicked()), this, SLOT(clear()));
47 connect(ListViewScan, SIGNAL(clicked(QListViewItem*)), this, SLOT(TextViewClicked(QListViewItem*))); 75 connect(ListViewScan, SIGNAL(clicked(QListViewItem*)), this, SLOT(TextViewClicked(QListViewItem*)));
48 76