diff -Nru qtsmbstatus-2.0.4/changelog qtsmbstatus-2.1.1/changelog --- qtsmbstatus-2.0.4/changelog 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/changelog 2009-04-12 14:46:48.000000000 +0200 @@ -1,5 +1,24 @@ Changelog for QtSmbstatus: +2009-04-03 - Version 2.1.1: + - client: solved "File Name Blank" with smbstatus = 3.0.22 + - Updated Russian and Ukrainian translations + - server: removed dependency on QtGui + - server: use textEncoder + +2008-11-19 - Version 2.1: + - Qt3 support was removed + - using QSslSocket for QT>= 4.3 + - Added qtsmbstatusl-light (qtsmbstatusl). QtSmbstatusl only works locally (no remote access). + - Converting non-Unicode formats to and from Unicode in process + - possibility to check if a new release of this program is available + +2008-11-08 - Version 2.0.6: + - Issue 6 Fixed + +2008-08-26 - Version 2.0.5: + - Added dutch and brazilian portuguese translation + 2008-05-08 - Version 2.0.4: - Added hungarian and swedish translation diff -Nru qtsmbstatus-2.0.4/client/client.pro qtsmbstatus-2.1.1/client/client.pro --- qtsmbstatus-2.0.4/client/client.pro 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/client.pro 2009-04-12 14:46:48.000000000 +0200 @@ -5,47 +5,50 @@ warn_on TARGET = qtsmbstatus -DESTDIR += bin -LIBS += -lssl +MOC_DIR = ./build/moc +OBJECTS_DIR = ./build +DESTDIR = ./bin +UI_DIR = ./build/ui +RCC_DIR = ./build/rcc SOURCES += main.cpp \ + mainwindows.cpp \ main_windows.cpp \ server.cpp \ machine.cpp \ service.cpp \ user.cpp \ smbstatus.cpp \ - clientssl.cpp \ - clientsocket.cpp \ login_windows.cpp \ configure_windows.cpp \ linecore.cpp \ ../common/core_syntax.cpp \ ../common/common.cpp \ log.cpp \ - mysortfilterproxymodel.cpp + mysortfilterproxymodel.cpp \ + instances_dlg.cpp HEADERS += main_windows.h \ + mainwindows.h \ server.h \ machine.h \ service.h \ user.h \ smbstatus.h \ - clientssl.h \ - clientsocket.h \ linecore.h \ login_windows.h \ ../common/core_syntax.h \ configure_windows.h \ log.h \ - mysortfilterproxymodel.h + mysortfilterproxymodel.h \ + instances_dlg.h RESOURCES = client.qrc RC_FILE = qtsmbstatus.rc -TRANSLATIONS += ./tr/qtsmbstatus_fr.ts \ +TRANSLATIONS = ./tr/qtsmbstatus_fr.ts \ ./tr/qtsmbstatus_es.ts \ ./tr/qtsmbstatus_pl.ts \ ./tr/qtsmbstatus_de.ts \ @@ -53,7 +56,9 @@ ./tr/qtsmbstatus_ru.ts \ ./tr/qtsmbstatus_uk.ts \ ./tr/qtsmbstatus_sv.ts \ - ./tr/qtsmbstatus_hu.ts + ./tr/qtsmbstatus_hu.ts \ + ./tr/qtsmbstatus_nl.ts \ + ./tr/qtsmbstatus_pt_BR.ts FORMS += form_smbstatus.ui \ configure.ui \ @@ -61,7 +66,7 @@ log.ui # install -!win32 { +unix { # Translation TRANSDIR = /usr/local/share/qtsmbstatus TRANSFILES = ./tr/*.qm @@ -96,7 +101,7 @@ manpage.files = $$MANFILES -target.path = /usr/bin +target.path = /usr/local/bin INSTALLS += trans \ target \ @@ -107,5 +112,5 @@ } -QT += network qt3support +QT += network diff -Nru qtsmbstatus-2.0.4/client/client.qrc qtsmbstatus-2.1.1/client/client.qrc --- qtsmbstatus-2.0.4/client/client.qrc 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/client.qrc 2009-04-12 14:46:48.000000000 +0200 @@ -1,6 +1,6 @@ - icons/connect_creating.png + icons/connect_creating.png icons/connect_no.png icons/connect_established.png icons/server.png @@ -13,6 +13,7 @@ icons/configure.png icons/clear.png icons/filesaveas.png - icons/trayicon.png + icons/qtsmbstatus.png + icons/qtsmbstatusl.png - \ Pas de fin de ligne à la fin du fichier. + diff -Nru qtsmbstatus-2.0.4/client/clientsocket.cpp qtsmbstatus-2.1.1/client/clientsocket.cpp --- qtsmbstatus-2.0.4/client/clientsocket.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/clientsocket.cpp 1970-01-01 01:00:00.000000000 +0100 @@ -1,584 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2004 by Daniel rocher * - * daniel.rocher@adella.org * - * * - * 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. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * - ***************************************************************************/ - -/** - \class ClientSocket - \brief This class dialogs with server - \date 2007-07-05 - \version 1.1 - \author Daniel Rocher - \sa ClientSocket::command -*/ - - -#include -#include -#include - -#include "clientsocket.h" - - -int ClientSocket::compteur_objet=0; - -//! Time between 2 echo request -int ClientSocket::TimoutTimerEcho=30000; - -// know instancies -QList Q3ListViewItemList; - -/** - \param mylistView pointer to listview - \param parent pointer to parent for this object -*/ -ClientSocket :: ClientSocket(Q3ListView * mylistView,QObject *parent) : QObject (parent) -{ - debugQt("Object ClientSocket : "+QString::number(++compteur_objet)); - permitDisconnectUser=false; // permit (or not) client to disconnect an user - permitSendMsg=false; // permit (or not) client to send popup messages - listView=mylistView; - // create popup menu - menu = new Q3PopupMenu( listView ); - // and connect it with listview - connect(listView, SIGNAL( contextMenuRequested( Q3ListViewItem *, const QPoint& , int ) ), this, SLOT( slotPopupMenu( Q3ListViewItem *, const QPoint &, int ) ) ); - // interval for smbstatus request - timer=new QTimer(this); - - // test if connection is not dead - // reset timer if we receive data from server - echo=0; // if echo > 2, disconnect - echo_timer = new QTimer (this); - - msgError=new QErrorMessage(); - connect( echo_timer, SIGNAL(timeout()), this, SLOT(slot_echo_timer()) ); -} - -ClientSocket::~ClientSocket() -{ - debugQt("Object ClientSocket : "+QString::number(--compteur_objet)); - msgError->deleteLater(); -} - -/** - Close TCP connection -*/ -void ClientSocket::Disconnect() -{ - sendToServer(end); // inform server - socketclient->closeConnection(); // close SSL/TCP connection -} - -/** - Connect to server - \param username username (a valid login on server) - \param passwd password (a valid password on server) -*/ -void ClientSocket::connectionToServer(const QString & username, const QString & passwd) -{ - username_login=username; - passwd_login=passwd; - - debugQt("ClientSocket::connectionToServer()"); - socketclient = new ClientSSL(this); - // socketclient can post a message on statusBar - connect (socketclient,SIGNAL(info(const QString & )),this,SIGNAL(SignalShortMessage(const QString & )) ); - // when server sends data, send it to core methods - connect (socketclient,SIGNAL(readFromHost(const Q3CString& )),this,SLOT(core(const Q3CString& )) ); - // connect to slots, signals connected and closed - connect (socketclient,SIGNAL(socketconnected()),this,SLOT(socketconnected()) ); - connect (socketclient,SIGNAL(socketclosed()),this,SLOT(socketclosed()) ); - // host unreachable - connect (socketclient,SIGNAL(UnreachableHost()),this,SLOT(UnreachableHost()) ); - // connect on server - socketclient->Connect(host,port_server); -} - -/** - SLot connection is OK -*/ -void ClientSocket::socketconnected() -{ - debugQt("ClientSocket::socketconnected()"); - ssl_connected=true; - emit(SignalConnected()); - // create icon server on listview - item_server = new server( listView ); - sendToServer(auth_rq,username_login,passwd_login); // send username and password to server - echo=0; - echo_timer->start( TimoutTimerEcho, FALSE ); // start echo timer -} - - -/** - Slot connection is closed -*/ -void ClientSocket::socketclosed() -{ - debugQt("ClientSocket::socketclosed()"); - timer->stop(); - ListSmbstatus.clear(); - // clear listview - listView->clear(); - // clear popumenu - menu->clear(); - ssl_connected=false; - echo_timer->stop(); // stop echo timer - emit(SignalClosed()); - deleteLater(); // delete this class -} - - -/** - Host is unreachable -*/ -void ClientSocket::UnreachableHost() -{ - debugQt("ClientSocket::UnreachableHost()"); - QMessageBox::warning ( 0, "QtSmbstatus",tr("Host not found !")); -} - -/** - Slot smbstatus timer - Request smbstatus to server -*/ -void ClientSocket::slot_timer() -{ - debugQt("ClientSocket::slot_timer()"); - sendToServer(smb_rq); - timer->singleShot(interval*1000, this, SLOT(slot_timer())); // restart timer -} - -/** - Receive informations from server (right for current client) - \param text client's right: - \verbatim - 0000 0001 : permit client to disconnect an user - 0000 0010 : permit client to send popup messages (popupwindows) - \endverbatim -*/ -void ClientSocket::infoserver(const QString & text) -{ - debugQt("ClientSocket::infoserver()"); - bool ok; - permitDisconnectUser=false; - permitSendMsg=false; - int value = (text.mid(text.find("]")+1)).toInt(&ok); - debugQt("Info Serveur : "+QString::number(value)); - if ( ok ) - { - if (value & 1) permitDisconnectUser=true; - if (value & 2) permitSendMsg=true; - } -} - -/** - Protocol interpreter. - analyze the server's answers. - \param rcv_txt data sent by server - \sa ClientSSL core_syntax -*/ -void ClientSocket::core(const Q3CString & rcv_txt) -{ - debugQt ("ClientSocket::core()"); - QString texte; - int reponse; - bool ok; - core_syntax stx; - - // reset echo timer because server has sent data - echo=0; - echo_timer->stop(); - echo_timer->start( TimoutTimerEcho, FALSE ); - - QTextStream ts( rcv_txt, QIODevice::ReadOnly ); - while (!ts.atEnd () ) - { - texte=ts.readLine(); - texte=QString::fromUtf8( texte ); - stx.setValue(texte); - if (stx.returnArg(0) != "") - { - reponse=(stx.returnArg(0)).toInt(&ok); - if (ok) // if txt to int conversion is ok - { - switch (reponse) - { - case auth_ack: // authentication ok - debugQt("["+QString::number(reponse)+"] auth_ack"); - slot_timer(); // first time - break; - case end: // end socket by server - debugQt("["+QString::number(reponse)+"] end"); - socketclient->closeConnection(); //on ferme la connection - break; - case smb_data: // smbstatus datas - debugQt("["+QString::number(reponse)+"] smb_data"); - ListSmbstatus.append(stx.returnArg(1)); - break; - case end_smb_rq: // smbstatus command is finished - debugQt("["+QString::number(reponse)+"] end_smb_rq"); - AnalysisSmbstatus(); // interpret smbstatus reply - break; - case error_auth: // authentication error - debugQt("["+QString::number(reponse)+"] error_auth"); - // socketclient->closeConnection(); (don't close here, server will do it) - emit (SignalErrorAuth()); - break; - case error_command: // Command error ( the last command is not recognized) - debugQt("["+QString::number(reponse)+"] error_command"); - break; - case echo_request: // echo request from server - debugQt("["+QString::number(reponse)+"] echo_request"); - sendToServer(echo_reply); - break; - case echo_reply: // echo reply from server, reset echo timer - debugQt("["+QString::number(reponse)+"] echo_reply"); - echo=0; - break; - case error_obj: // Server wants to open a dialogbox to visualize an error - debugQt("["+QString::number(reponse)+"] error_obj"); - // QMessageBox::warning ( 0, "QtSmbstatus",stx.returnArg(1)); - msgError->showMessage ( stx.returnArg(1) ) ; - break; - case server_info: // informations from server - debugQt("["+QString::number(reponse)+"] server_info"); - infoserver(texte); - break; - default: // not implemented - debugQt("["+QString::number(reponse)+"] not implemented"); - sendToServer(error_command,"["+QString::number(reponse)+"] not implemented"); - break; - } - } - else - { //conversion error string->int - debugQt("Command error !"); - } - } - else - { // core_syntax sends an error - debugQt("Command error !"); - } - } -} - -/** - Interpret smbstatus reply. - \sa smbstatus -*/ -void ClientSocket::AnalysisSmbstatus() -{ - debugQt("ClientSocket::AnalysisSmbstatus()"); - // mark items of listview first - item_server->mark_childs(); - InstanceSmbstatus = new smbstatus(ListSmbstatus,this); - - // InstanceSmbstatus sends samba version - connect (InstanceSmbstatus,SIGNAL(setSambaVersion (const QString &)),this,SLOT(setSambaVersion (const QString &))); - // InstanceSmbstatus has found a share - connect (InstanceSmbstatus,SIGNAL(add_share(const QString &,const QString &,const QString &)),this,SLOT(add_share(const QString &,const QString &,const QString &))); - // InstanceSmbstatus has found an user - connect (InstanceSmbstatus,SIGNAL(add_user (const QString &,const QString &,const QString &,const QString &,const QString &)),this,SLOT(add_user (const QString &,const QString &,const QString &,const QString &,const QString &))); - // InstanceSmbstatus has found a file opened (locked file) - connect (InstanceSmbstatus,SIGNAL(add_lockedfile(const QString &,const QString &,const QString &,const QString &,const QString &,const QString &)),this,SLOT(add_lockedfile(const QString &,const QString &,const QString &,const QString &,const QString &,const QString &))); - // InstanceSmbstatus has finished his work - connect (InstanceSmbstatus,SIGNAL(destroyed ()),this,SLOT(AnalysisSmbDestroyed())); - // Start analysis - InstanceSmbstatus->RQ_smbstatus(); -} - -/** - InstanceSmbstatus has finished his work - \sa smbstatus -*/ -void ClientSocket::AnalysisSmbDestroyed () -{ - debugQt("ClientSocket::AnalysisSmbDestroyed ()"); - item_server->refresh_childs(); // erase items obsoleted - ListSmbstatus.clear(); // clear QStringList -} - -/** - InstanceSmbstatus sends samba version. - \param version_samba samba version - \sa smbstatus -*/ -void ClientSocket::setSambaVersion (const QString & version_samba) -{ - debugQt("ClientSocket::setSambaVersion ()"); - item_server->setSambaVersion(version_samba); -} - -/** - InstanceSmbstatus has found an user - \param strPid PID - \param strUser User name - \param strGroup Group name - \param strMachineName Machine name - \param strMachineIP IP address - \sa smbstatus -**/ -void ClientSocket::add_user (const QString & strPid,const QString & strUser,const QString & strGroup,const QString & strMachineName,const QString & strMachineIP) -{ - debugQt("ClientSocket::add_user ()"); - item_server->add_user(strPid,strUser,strGroup,strMachineName,strMachineIP); -} - -/** - InstanceSmbstatus has found a share - \param strPid PID - \param strShare Share name - \param strConnected date - \sa smbstatus -*/ -void ClientSocket::add_share(const QString & strPid ,const QString & strShare,const QString & strConnected) -{ - debugQt("ClientSocket::add_share ()"); - // if hidden shares - if (!view_hidden_shares && (strShare.find(QRegExp("\\$$"))!=-1)) return; - item_server->add_share(strPid,strShare,strConnected); -} - -/** - InstanceSmbstatus has found a file opened (locked file) - \param strPid PID - \param strName File name - \param strMode Mode - \param strRW RW - \param strOplock Oplock - \param strDateOpen date - \sa smbstatus -*/ -void ClientSocket::add_lockedfile(const QString & strPid,const QString & strName,const QString & strMode,const QString & strRW,const QString & strOplock,const QString & strDateOpen) -{ - debugQt("ClientSocket::add_lockedfile ()"); - item_server->add_lockedfile(strPid,strName,strMode,strRW,strOplock,strDateOpen); - -} - -/** - Send data to server. - \param cmd command - \sa ClientSocket::command - \sa ClientSSL core_syntax -*/ -void ClientSocket::sendToServer(int cmd,const QString & inputArg1,const QString & inputArg2) -{ - debugQt("ClientSocket::sendToServer()"); - if (!ssl_connected) return; // if deconnected - QString MyTxt; - if (!inputArg1.isEmpty()) MyTxt=addEscapeKeys(inputArg1); - if (!inputArg2.isEmpty()) MyTxt+=";"+addEscapeKeys(inputArg2); - socketclient->sendToServer("["+QString::number(cmd)+"]"+MyTxt+"\n"); -} - -/** - popup menu -*/ -void ClientSocket::slotPopupMenu( Q3ListViewItem* Item, const QPoint & point, int ) -{ - int id; - currentPopupMenuItem = Item; - // if deconnected, no popup menu - if (!ssl_connected) return; - if( Item ) - { - // create popup menu - menu->clear(); - - if (Item==item_server) // if a server item - { - menu->insertItem( tr( "Properties"),this,SLOT(InfoServer() ) ); - id=menu->insertItem( tr( "Send out message to all users"),this,SLOT(slotSendMessageAllUsers() ) ); - menu->setItemEnabled(id,permitSendMsg); - menu->popup( point ); - return; - } - if (Item->parent()==item_server) // if a machine item - { - machine * myItem=dynamic_cast(Item); - if (!myItem) return; - menu->insertItem( tr( "Properties"),this,SLOT(InfoMachine() ) ); - id=menu->insertItem( tr( "Send out message to")+ " " + myItem->machine_name,this,SLOT(slotSendMessage() ) ); - menu->setItemEnabled(id,permitSendMsg); // if client can send popup messages - menu->popup( point ); - return; - } - if (Item->parent()->parent()==item_server) // if an user item - { - user * myItem=dynamic_cast(Item); - if (!myItem) return; - menu->insertItem( tr( "Properties"),this,SLOT(InfoUser() ) ); - id=menu->insertItem( tr( "Disconnect user")+ " " + myItem->username,this,SLOT(slotDisconnectUser() ) ); - menu->setItemEnabled(id,permitDisconnectUser); // if client can disconnect an user - menu->popup( point ); - return; - } - // it's a locked file or share - menu->insertItem( tr( "Properties"),this,SLOT(InfoService() ) ); - menu->popup( point ); - } -} - -/** - View samba version - \sa slotPopupMenu - \sa server::ViewInfoUser -*/ -void ClientSocket::InfoServer() -{ - // if object is dead - if (!Q3ListViewItemList.contains(currentPopupMenuItem)) return; - QString message=item_server->ViewInfoServer(); - QMessageBox::information(0, "QtSmbstatus",message,QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton); -} - -/** - View user informations - \sa slotPopupMenu - \sa server::ViewInfoUser -*/ -void ClientSocket::InfoUser() -{ - // if object is dead - if (!Q3ListViewItemList.contains(currentPopupMenuItem)) return; - QString message=item_server->ViewInfoUser(currentPopupMenuItem); - QMessageBox::information(0, "QtSmbstatus",message,QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton); -} - -/** - View service informations (locked file or share) - \sa slotPopupMenu - \sa server::ViewInfoService -*/ -void ClientSocket::InfoService() -{ - // if object is dead - if (!Q3ListViewItemList.contains(currentPopupMenuItem)) return; - QString message=item_server->ViewInfoService(currentPopupMenuItem); - QMessageBox::information(0, "QtSmbstatus",message,QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton); -} - -/** - View machine informations - \sa slotPopupMenu - \sa server::ViewInfoMachine -*/ -void ClientSocket::InfoMachine() -{ - // if object is dead - if (!Q3ListViewItemList.contains(currentPopupMenuItem)) return; - QString message=item_server->ViewInfoMachine(currentPopupMenuItem); - QMessageBox::information(0, "QtSmbstatus",message,QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton); -} - -/** - send out messages (popupwindows) to all users - \sa slotPopupMenu -*/ -void ClientSocket::slotSendMessageAllUsers() { - machine* Item; - bool ok; - QString message = QInputDialog::getText( - "QtSmbstatus", tr("Message to send")+":", QLineEdit::Normal, - QString::null, &ok, 0 ); - - if ( !ok || message.isEmpty() ) return; - if (!ssl_connected) return; - Item=dynamic_cast(item_server->firstChild ()); - - while( Item ) // all machines - { - if (!ssl_connected) return; - sendToServer(send_msg,Item->machine_name,message); - Item=dynamic_cast(Item->nextSibling ()); // next - } -} - -/** - send out messages (popupwindows) to one user - \sa slotPopupMenu -*/ -void ClientSocket::slotSendMessage() { - bool ok; - // if object is dead - if (!Q3ListViewItemList.contains(currentPopupMenuItem)) return; - - machine* Item=dynamic_cast(currentPopupMenuItem); - if (!Item) return; - - QString message = QInputDialog::getText( - "QtSmbstatus", tr("Message to send to %1:").arg(Item->machine_name), QLineEdit::Normal, - QString::null, &ok, 0 ); - if ( ok && !message.isEmpty() ) - { - // user entered something and pressed OK - if (!ssl_connected) return; - - // if object is dead - if (!Q3ListViewItemList.contains(currentPopupMenuItem)) return; - - sendToServer(send_msg,Item->machine_name,message); - } -} - -/** - Disconnect an user - \sa slotPopupMenu -*/ -void ClientSocket::slotDisconnectUser() { - - QString username; - QString pid; - // if object is dead - if (!Q3ListViewItemList.contains(currentPopupMenuItem)) return; - - user* Item=dynamic_cast(currentPopupMenuItem); - if (!Item) return; - // get PID - pid=Item->pid; - - // get user name - username=Item->username; - - if ( !QMessageBox::information(0,"QtSmbstatus", - tr("Do you really want to disconnect user %1 ?").arg(username), - tr("&Yes"), tr("&No"),QString::null, 1, 1 ) ) - { - // if object is dead - if (!Q3ListViewItemList.contains(currentPopupMenuItem)) return; - - if (!ssl_connected) return; - sendToServer(kill_user,pid,username); - } -} - -/** - Timer ending (echo), sends a new echo request. After 3 failures, disconnect. -*/ -void ClientSocket::slot_echo_timer() -{ - echo++; - if (!ssl_connected) return; - debugQt("ClientSocket::slot_echo_timer() - echo = "+QString::number(echo)); - if (echo > 2) socketclient->closeConnection(); // After 3 failures, disconnect - else sendToServer(echo_request); // sends a new echo request -} - - diff -Nru qtsmbstatus-2.0.4/client/clientsocket.h qtsmbstatus-2.1.1/client/clientsocket.h --- qtsmbstatus-2.0.4/client/clientsocket.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/clientsocket.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,108 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2004 by Daniel Rocher * - * daniel.rocher@adella.org * - * * - * 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. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * - ***************************************************************************/ - - -#ifndef CLIENTSOCKET_H -#define CLIENTSOCKET_H - -#include - -#include "server.h" -#include "clientssl.h" -#include "smbstatus.h" -#include "../common/core_syntax.h" - -extern void debugQt(const QString & message); - -extern int interval; -extern QString host; -extern Q_UINT16 port_server; -extern bool view_hidden_shares; - -class ClientSocket : public QObject -{ - Q_OBJECT -public: - ClientSocket(Q3ListView * mylistView,QObject *parent=0); - virtual ~ClientSocket(); - void Disconnect(); - void connectionToServer(const QString & username, const QString & passwd); - static int compteur_objet; -private slots: - void slot_timer(); - void socketconnected(); - void socketclosed(); - void UnreachableHost(); - void slotPopupMenu( Q3ListViewItem*, const QPoint &, int ); - void slotSendMessage(); - void slotSendMessageAllUsers(); - void slotDisconnectUser(); - void InfoServer(); - void InfoUser(); - void InfoService(); - void InfoMachine(); - void core(const Q3CString & rcv_txt); - void setSambaVersion (const QString &); - void add_user (const QString &,const QString &,const QString &,const QString &,const QString &); - void add_share(const QString &,const QString &,const QString &); - void add_lockedfile(const QString &,const QString &,const QString &,const QString &,const QString &,const QString &); - void AnalysisSmbDestroyed(); - void slot_echo_timer(); -signals: - //! Client connected - void SignalConnected(); - //! Connection closed - void SignalClosed(); - //! Authentication error - void SignalErrorAuth(); - //! Short messages for statusBar - void SignalShortMessage(const QString &); - -private: // Private methods - void sendToServer(int cmd,const QString & inputArg1="",const QString & inputArg2=""); - void infoserver(const QString & text); - void AnalysisSmbstatus(); - -private: // Private attributes - bool permitDisconnectUser; - bool permitSendMsg; - ClientSSL* socketclient; - bool ssl_connected; - int echo; - static int TimoutTimerEcho; - QTimer * echo_timer; - Q3PopupMenu* menu; - Q3ListView * listView; - QString passwd_login; - QString username_login; - server * item_server; - QStringList ListSmbstatus; - smbstatus * InstanceSmbstatus; - QTimer* timer; - QErrorMessage * msgError; - Q3ListViewItem* currentPopupMenuItem; - /** - Protocol between server and client. - \sa core_syntax - */ - enum command {auth_rq,auth_ack,end,kill_user,send_msg,smb_rq,smb_data,end_smb_rq,not_imp1,server_info,error_auth,error_command,error_obj,echo_request,echo_reply}; -}; - -#endif diff -Nru qtsmbstatus-2.0.4/client/clientssl.cpp qtsmbstatus-2.1.1/client/clientssl.cpp --- qtsmbstatus-2.0.4/client/clientssl.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/clientssl.cpp 1970-01-01 01:00:00.000000000 +0100 @@ -1,279 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2004 by Daniel Rocher * - * daniel.rocher@adella.org * - * * - * 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. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * - ***************************************************************************/ - - -/** - \class ClientSSL - \brief Control SSL and TCP connections - \date 2007-06-14 - \version 1.0 - \author Daniel Rocher -*/ - - -#include "clientssl.h" - - -int ClientSSL::compteur_objet=0; - -ClientSSL :: ClientSSL(QObject *parent) : QObject (parent) -{ - debugQt("Object ClientSSL : "+QString::number(++compteur_objet)); - SSL_init=false; - - // Load error strings - SSL_load_error_strings(); - // Initialize SSL library by registering algorithms - OpenSSL_add_ssl_algorithms(); - debugQt ("add_ssl_algorithms OK"); - - // Create a new SSL_CTX object - ssl_ctx = SSL_CTX_new (SSLv23_client_method()); - debugQt ("Create a new SSL_CTX object OK"); - - // Create a new SSL structure for a connection - ssl=SSL_new (ssl_ctx); - if (!ssl) - { - qDebug ("Error creating SSL object" ); - SSL_print_error(SSL_get_error(ssl, 0)); - exit(1); - } - debugQt ("Create a new SSL structure OK"); - - SSL_set_mode (ssl, SSL_MODE_AUTO_RETRY); //auto retry - -} - -ClientSSL :: ~ClientSSL() -{ - // shuts down an active TLS/SSL connection - SSL_shutdown(ssl); - debugQt ("SSL_shutdown OK"); - SSL_free(ssl); - debugQt ("SSL_free OK"); - // Closes the socket - socketdevice->close(); - if (!socketdevice->isOpen()) socketClosed(); - debugQt("Object ClientSSL : "+QString::number(--compteur_objet)); - delete socketdevice; -} - - -/** - Connect to Host - \param d_host host address or host name - \param d_port TCP port - \sa ResolveName - \sa connectToHost -*/ -void ClientSSL ::Connect(const QString & d_host, Q_UINT16 d_port) -{ - debugQt("ClientSSL::Connect()"); - host=d_host; - port=d_port; - QHostInfo::lookupHost(d_host,this, SLOT(ResolveName(QHostInfo))); - -} - -/** - Result of the lookup - \param host_info object can then be inspected to get the results of the lookup -*/ -void ClientSSL ::ResolveName(QHostInfo host_info) -{ - debugQt("ClientSSL::ResolveName()"); - if (!host_info.addresses().isEmpty()) - { - host = host_info.addresses().first(). toString (); - } - connectToHost(); -} - -/** - Start connection - \sa ResolveName - \sa Connect -*/ -void ClientSSL ::connectToHost() -{ - debugQt("ClientSSL::connectToHost()"); - emit info( tr("Connection in progress on %1").arg(host)); - // connect to server - socketdevice = new Q3SocketDevice( Q3SocketDevice::Stream ); - - QHostAddress addressServer; - if (!addressServer.setAddress ( host )) - { - // if the address was successfully parsed - debugQt("Unvalid address"); - emit info( tr("Host not found !") ); - emit UnreachableHost(); - deleteLater(); - return; - } - - if (socketdevice->connect ( addressServer, port )) - { - Socket_print_error(socketdevice->error()); - socketConnected(); - } - else - { - // Connection not established (TCP) - debugQt("Connection not established"); - Socket_print_error(socketdevice->error()); - emit info( tr("Host not found !") ); - emit UnreachableHost(); - deleteLater(); - } -} - - -/** - Close Connection -*/ -void ClientSSL :: closeConnection() -{ - debugQt("ClientSSL::closeConnection()"); - deleteLater(); -} - -/** - Send datas to server - \param inputText datas to send - \sa socketReadyRead -*/ -void ClientSSL :: sendToServer(const QString & inputText) -{ - debugQt ("ClientSSL::sendToServer()"); - if (SSL_init==false) return; - Q3CString send_txt = inputText.utf8 () ; - if (!SSL_write (ssl, send_txt.data() , send_txt.length ())) - { - // an error occurred - SSL_print_error(SSL_get_error(ssl, 0)); - } - debugQt(send_txt); -} - -/** - Receive datas from server - \sa sendToServer -*/ -void ClientSSL :: socketReadyRead() -{ - // read from the server - debugQt ("ClientSSL::socketReadyRead()"); - if (SSL_init==false) return; - int ret; - if (!socketdevice->isOpen()) - { - closeConnection(); - return; - } - Q3CString rcv_txt; - rcv_txt.resize(16384); - ret = SSL_read(ssl, rcv_txt.data(), rcv_txt.size()); - - // for windows only - #ifdef Q_WS_WIN - if (ret ==0 ) - #else - // other - if (ret <=0 ) - #endif - { - // an error occurred - SSL_print_error(SSL_get_error(ssl, ret)); - closeConnection(); - return; - } - rcv_txt.resize(ret); // Sets the size of the byte array to size bytes - debugQt (rcv_txt); - emit readFromHost(rcv_txt); -} - - -/** - Socket connected. Run SSL - \sa connectToHost -*/ -void ClientSSL :: socketConnected() -{ - int ret; - debugQt ("ClientSSL::socketConnected()"); - debugQt ("Socket : " + QString ::number( socketdevice->socket())); - // sets the file descriptor fd - if (!SSL_set_fd( ssl , socketdevice->socket() )) - { - qDebug( "Error initializing SSL-socket" ); - SSL_print_error(SSL_get_error(ssl, 0)); - exit(1); - } - debugQt ("Connect SSL object with a socket OK"); - // initiate the TLS/SSL handshake with an TLS/SSL server - if ((ret = SSL_connect(ssl)) <= 0 ) - { - qDebug( "SSL Connect error" ); - SSL_print_error(SSL_get_error(ssl, ret)); - exit(1); - } - debugQt ("Initiate the TLS/SSL handshake with an TLS/SSL server OK"); - SSL_init=true; - - sn_read= new QSocketNotifier(socketdevice->socket(), QSocketNotifier::Read,this) ; - connect( sn_read,SIGNAL(activated(int)),this, SLOT(socketReadyRead()) ); - - sn_exception= new QSocketNotifier(socketdevice->socket(), QSocketNotifier::Exception ,this) ; - connect( sn_exception,SIGNAL(activated(int)),this, SLOT(Exception ()) ); - - emit info( tr("Connected to host") ); - emit socketconnected(); -} - -/** - There is a TCP error -*/ -void ClientSSL ::Exception() -{ - debugQt ("ClientSSL::Exception()"); - int ret = socketdevice->error(); - if (ret!=0) - { - // an error occurred - qWarning("Socket error !"); - Socket_print_error(ret); - emit info( tr("Socket error") ); - emit Socketerror(); - closeConnection(); - } -} - -/** - Connection closed - \sa closeConnection -*/ -void ClientSSL :: socketClosed() -{ - debugQt ("ClientSSL::socketClosed()"); - emit info( tr("Connection closed") ); - emit socketclosed(); -} diff -Nru qtsmbstatus-2.0.4/client/clientssl.h qtsmbstatus-2.1.1/client/clientssl.h --- qtsmbstatus-2.0.4/client/clientssl.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/clientssl.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,73 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2004 by Daniel Rocher * - * daniel.rocher@adella.org * - * * - * 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. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * - ***************************************************************************/ - - -#ifndef CLIENTSSL_H -#define CLIENTSSL_H - - - //SSL -#include -#include - -#include -#include -#include - -extern void debugQt(const QString & message); -extern void SSL_print_error(int errorcode); -extern void Socket_print_error (int errorcode); - -class ClientSSL : public QObject -{ - Q_OBJECT -public: - ClientSSL(QObject *parent=0); - virtual ~ClientSSL(); - void sendToServer(const QString & inputText=""); - void Connect(const QString & d_host, Q_UINT16 d_port); - void closeConnection(); - static int compteur_objet; -signals: - void info(const QString &); - void readFromHost(const Q3CString &); - void socketconnected(); - void socketclosed(); - void Socketerror(); - void UnreachableHost(); -private slots: - void connectToHost(); - void ResolveName(QHostInfo host_info); - void socketReadyRead(); - void Exception(); - void socketConnected(); - void socketClosed(); -private: //attributes - Q3SocketDevice *socketdevice; - QSocketNotifier * sn_read; - QSocketNotifier * sn_exception; - bool SSL_init; - SSL_CTX* ssl_ctx; - SSL* ssl; - QString host; - Q_UINT16 port; -}; - -#endif diff -Nru qtsmbstatus-2.0.4/client/configure.ui qtsmbstatus-2.1.1/client/configure.ui --- qtsmbstatus-2.0.4/client/configure.ui 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/configure.ui 2009-04-12 14:46:48.000000000 +0200 @@ -5,22 +5,104 @@ 0 0 - 483 - 411 + 431 + 551 + + + 0 + 0 + + Configure - - - 9 - - - 6 - - + + + + + + 0 + 0 + + + + Smbstatus + + + + 9 + + + 6 + + + + + Qt::Horizontal + + + + 231 + 20 + + + + + + + + + 151 + 0 + + + + <p align="right">Interval:</p> + + + false + + + spinInterval + + + + + + + Interval between smbstatus requests in seconds, (interval > 2) + + + 3 + + + 300 + + + + + + + Show hidden shares (share$) + + + Show hidden shares + + + + + + + + + + 0 + 0 + + Notifications and log @@ -55,12 +137,12 @@ - - 99 - 1 + + 99 + @@ -114,7 +196,7 @@ Qt::Horizontal - + 151 20 @@ -125,98 +207,90 @@ - - - - Qt::Horizontal - - - QSizePolicy::Expanding - - - - 261 - 27 - - - + + + + + + OK + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 329 + 27 + + + + + + + + Cancel + + + false + + + + - - + + + + + 0 + 0 + + - Smbstatus + Misc - - - 9 - - - 6 - - - - - Qt::Horizontal - - - - 231 - 20 - - - - - - - - - 151 - 0 - - - - <p align="right">Interval:</p> - - - false - - - spinInterval - - - - - + + + - Interval between smbstatus requests in seconds, (interval > 2) - - - 300 + - - 3 + + Automatically Check for updates - - - - Show hidden shares (share$) - + + - Show hidden shares + A new release is available + + + Qt::RichText - + + + + 0 + 0 + + Connection - + 9 @@ -290,7 +364,7 @@ Qt::Horizontal - + 91 20 @@ -303,7 +377,7 @@ Qt::Horizontal - + 91 20 @@ -314,27 +388,21 @@ - - - - OK - - - - - - - Cancel + + + + Qt::Vertical - - false + + + 10 + 10 + - + - - qPixmapFromMimeSource EditHost EditUsername @@ -345,6 +413,7 @@ checkNotification checkLogActivity limitLogBox + checkNewRelease okButton cancelButton @@ -357,28 +426,12 @@ close() - 420 - 400 - - - 20 - 20 - - - - - okButton - clicked() - configure - SlotOk() - - - 30 - 400 + 447 + 427 - 20 - 20 + 390 + 427 @@ -389,12 +442,12 @@ accept() - 30 - 400 + 38 + 424 - 20 - 20 + 155 + 422 diff -Nru qtsmbstatus-2.0.4/client/configure_windows.cpp qtsmbstatus-2.1.1/client/configure_windows.cpp --- qtsmbstatus-2.0.4/client/configure_windows.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/configure_windows.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -23,9 +23,11 @@ #include "configure_windows.h" +extern uint int_qtsmbstatus_version; + /** \class configure_windows - \brief Configure Qtsmbstatus-client + \brief Configure Qtsmbstatus-Client \param parent pointer to the parent object \date 2007-06-21 \version 1.4 @@ -37,21 +39,36 @@ debugQt("configure_windows::configure_windows()"); this->setAttribute(Qt::WA_DeleteOnClose); setupUi(this); - // read configuration - readConfigFile(); - - spinInterval->setValue (interval); - EditHost->setText (host); - EditUsername->setText(username_login); - checkAutoconnect->setChecked (autoconnect); - checkViewHiddenShares->setChecked (view_hidden_shares); - checkIcon->setChecked(iconize); - checkNotification->setChecked(show_messages); - checkLogActivity->setChecked(log_activity); - limitLogBox->setValue (limitLog); + + QSettings settings; + settings.beginGroup("/Configuration"); + uint last_known_release=settings.value("lastKnownRelease",int_qtsmbstatus_version).toUInt(); + if (last_known_release>int_qtsmbstatus_version) + { + labelNewRelease->setText("

" + +labelNewRelease->text()+" : " + +""+ + +"Downloads

"); + labelNewRelease->setTextFormat ( Qt::RichText ); + labelNewRelease->setTextInteractionFlags (Qt::LinksAccessibleByMouse); + labelNewRelease->setOpenExternalLinks (true); + } else + labelNewRelease->hide(); + + spinInterval->setValue (settings.value("interval",interval).toInt()); + EditHost->setText (settings.value("hostAddress",host).toString()); + EditUsername->setText(settings.value("username",username_login).toString()); + checkAutoconnect->setChecked (settings.value("autoconnect",autoconnect).toBool()); + checkViewHiddenShares->setChecked (settings.value("viewHiddenShares",view_hidden_shares).toBool()); + checkIcon->setChecked(settings.value("systemTray",iconize).toBool()); + checkNotification->setChecked(settings.value("notificationMessages",show_messages).toBool()); + checkLogActivity->setChecked(settings.value("logActivity",log_activity).toBool()); + limitLogBox->setValue (settings.value("limitLog",limitLog).toInt()); + checkNewRelease->setChecked(settings.value("checkNewRelease",check_new_release).toBool()); // first time - on_checkIcon_toggled(iconize); - on_checkLogActivity_toggled(log_activity); + on_checkIcon_toggled(checkIcon->isChecked()); + on_checkLogActivity_toggled(checkLogActivity->isChecked()); + settings.endGroup(); } @@ -75,9 +92,9 @@ /** Save configuration */ -void configure_windows::SlotOk() +void configure_windows::on_okButton_clicked() { - debugQt("configure_windows::SlotOk() - Save Config file"); + debugQt("configure_windows::on_okButton_clicked() - Save Config file"); interval = spinInterval->value (); host= EditHost->text (); username_login = EditUsername->text(); @@ -87,6 +104,7 @@ show_messages=checkNotification->isChecked(); log_activity=checkLogActivity->isChecked(); limitLog=limitLogBox->value (); + check_new_release=checkNewRelease->isChecked(); // save configuration writeConfigFile(); emit (configuration_changed()); diff -Nru qtsmbstatus-2.0.4/client/configure_windows.h qtsmbstatus-2.1.1/client/configure_windows.h --- qtsmbstatus-2.0.4/client/configure_windows.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/configure_windows.h 2009-04-12 14:46:48.000000000 +0200 @@ -21,27 +21,23 @@ #ifndef CONFIGURE_WINDOWS_H #define CONFIGURE_WINDOWS_H -class QLineEdit; -class QCheckBox; -class QSpinBox; - -#include "ui_configure.h" +#include "build/ui/ui_configure.h" extern void debugQt(const QString & message); extern void writeConfigFile(); -extern void readConfigFile(); extern QString host; -extern Q_UINT16 port_server; //tcp port -extern int interval; // Interval, in seconds, between every request to smbstatus +extern quint16 port_server; //tcp port extern QString username_login; extern QString passwd_login; extern bool autoconnect; //Autoconnect when qtsmbstatus start +extern int interval; // Interval, in seconds, between every request to smbstatus extern bool view_hidden_shares; // View hidden shares (share$) extern bool iconize; // Iconize QtSmbstatus on system tray extern bool show_messages; // show status notification messages extern bool log_activity; // log SMB/CIFS activities extern int limitLog; // limit log (number of days) +extern bool check_new_release; // check for new release of qtsmbstatus class configure_windows : public QDialog, public Ui::configure { @@ -52,7 +48,7 @@ signals: void configuration_changed(); private slots: // Private slots - virtual void SlotOk(); + virtual void on_okButton_clicked(); virtual void on_checkIcon_toggled(bool); virtual void on_checkLogActivity_toggled(bool checked); }; diff -Nru qtsmbstatus-2.0.4/client/form_smbstatus.ui qtsmbstatus-2.1.1/client/form_smbstatus.ui --- qtsmbstatus-2.0.4/client/form_smbstatus.ui 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/form_smbstatus.ui 2009-04-12 14:46:48.000000000 +0200 @@ -12,124 +12,122 @@ qtsmbstatus - - :/icons/samba.png - - - - 9 - - - 6 - - - - - - 24 - 24 - - - - - 24 - 24 - - - - Connect/Disconnect - - - - - - false - - - false - - - - - - - - 5 - 5 - 0 - 0 - - - - Host: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - false - + + + 0 + 31 + 330 + 577 + + + + + + + + + + - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 50 - 20 - - - - - - - - - 7 - 0 - 0 - 0 - - - - - 100 - 0 - - - - true - - - 20 - - - QComboBox::NoInsert - - - true - - - false - - - - - - - QFrame::Sunken - - - Q3ListView::AllColumns - - + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 50 + 20 + + + + + + + + + 0 + 0 + + + + Host: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + false + + + + + + + + 0 + 0 + + + + + 100 + 0 + + + + true + + + 20 + + + QComboBox::NoInsert + + + true + + + false + + + + + + + + 24 + 24 + + + + + 24 + 24 + + + + Connect/Disconnect + + + + + + false + + + false + + + + @@ -142,7 +140,7 @@ 0 0 330 - 29 + 31 @@ -152,7 +150,7 @@ - + @@ -162,11 +160,6 @@ - - - - - @@ -182,7 +175,8 @@ - :/icons/samba.png + + :/icons/samba.png:/icons/samba.png &About QtSmbstatus @@ -214,12 +208,13 @@ About Qt - + true - :/icons/configure.png + + :/icons/configure.png:/icons/configure.png &Configure client @@ -305,7 +300,8 @@ - :/icons/exit.png + + :/icons/exit.png:/icons/exit.png &Quit @@ -321,7 +317,8 @@ - :/icons/connect_no.png + + :/icons/connect_no.png:/icons/connect_no.png Co&nnect @@ -329,13 +326,6 @@
- - - Q3ListView - Q3Frame -
q3listview.h
-
-
@@ -373,102 +363,6 @@ - pushButton_connect - clicked() - form_smbstatus - Slot_connect() - - - 317 - 58 - - - 20 - 20 - - - - - configureConfigure_clientAction - activated() - form_smbstatus - ConfigureSlot() - - - -1 - -1 - - - 20 - 20 - - - - - searchFile_openAction - activated() - form_smbstatus - FileSearchSlot() - - - -1 - -1 - - - 20 - 20 - - - - - searchMachineAction - activated() - form_smbstatus - MachineSearchSlot() - - - -1 - -1 - - - 20 - 20 - - - - - searchShare_openAction - activated() - form_smbstatus - ShareSearchSlot() - - - -1 - -1 - - - 20 - 20 - - - - - searchUserAction - activated() - form_smbstatus - UserSearchSlot() - - - -1 - -1 - - - 20 - 20 - - - - searchNextAction activated() form_smbstatus Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/client/icons/qtsmbstatusl.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/client/icons/qtsmbstatusl.png sont différents. Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/client/icons/trayicon.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/client/icons/trayicon.png sont différents. diff -Nru qtsmbstatus-2.0.4/client/instances_dlg.cpp qtsmbstatus-2.1.1/client/instances_dlg.cpp --- qtsmbstatus-2.0.4/client/instances_dlg.cpp 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/client/instances_dlg.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,95 @@ +/*************************************************************************** + * Copyright (C) 2004 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + + +#include "instances_dlg.h" + +extern void debugQt(const QString & message); + +/** + \class instances_dlg + \brief dialog box for debug only + \author Daniel Rocher + \version 0.9.1 + \date 2008-11-15 +*/ + + +int instances_dlg::compteur_objet=0; + +instances_dlg::instances_dlg(QWidget * parent) : QDialog(parent) +{ + debugQt("instances_dlg::instances_dlg()"); + this->setAttribute(Qt::WA_DeleteOnClose); + compteur_objet++; + this->setWindowTitle("view instances"); + this->setGeometry(QRect(330, 120, 112, 68)); + + layoutV = new QVBoxLayout(this); + + appendObject(&instances_dlg::compteur_objet,"instances_dlg"); // this + + this->setLayout(layoutV); + + timer = new QTimer (this); + connect(timer, SIGNAL(timeout()), this, SLOT(slotTimer())); + timer->start(1500); + slotTimer(); +} + +instances_dlg::~instances_dlg() +{ + debugQt("instances_dlg::~instances_dlg()"); + compteur_objet--; +} + +void instances_dlg::appendObject(int * compteur,const QString & name) +{ + QHBoxLayout * tmplayoutH = new QHBoxLayout(); + + QLabel * label1 = new QLabel(this); + QSizePolicy sizePolicy(static_cast(1), static_cast(5)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(label1->sizePolicy().hasHeightForWidth()); + label1->setSizePolicy(sizePolicy); + label1->setMinimumSize(QSize(150, 0)); + + QLabel * label2 = new QLabel(this); + tmplayoutH->addWidget(label1); + tmplayoutH->addWidget(label2); + layoutV->addLayout(tmplayoutH); + + struct_object myobject; + myobject.compteur=compteur; + myobject.name=name; + myobject.label1=label1; + myobject.label2=label2; + list_object.append(myobject); +} + +void instances_dlg::slotTimer() +{ + for (int i= 0 ; i < list_object.size(); ++i) + { + list_object[i].label1->setText(list_object[i].name); + list_object[i].label2->setText(" : "+QString::number(*list_object[i].compteur)); + } +} diff -Nru qtsmbstatus-2.0.4/client/instances_dlg.h qtsmbstatus-2.1.1/client/instances_dlg.h --- qtsmbstatus-2.0.4/client/instances_dlg.h 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/client/instances_dlg.h 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,50 @@ +/*************************************************************************** + * Copyright (C) 2004 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +#ifndef instances_dlg_H +#define instances_dlg_H + +#include + +class instances_dlg : public QDialog +{ + Q_OBJECT +public: + instances_dlg(QWidget * parent = 0); + virtual ~instances_dlg(); + static int compteur_objet; + void appendObject(int * compteur,const QString & name); +protected slots: + virtual void slotTimer(); +private: //attributes + struct struct_object + { + int * compteur; + QString name; + QLabel * label1; + QLabel * label2; + }; + QTimer * timer; + QVBoxLayout *layoutV; + QList list_object; +}; + +#endif + diff -Nru qtsmbstatus-2.0.4/client/linecore.cpp qtsmbstatus-2.1.1/client/linecore.cpp --- qtsmbstatus-2.0.4/client/linecore.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/linecore.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -19,16 +19,16 @@ ***************************************************************************/ -#include +#include #include "linecore.h" /** \class LineCore - \brief Analysis the lines of smbstatus reply. - \date 2007-06-15 - \version 1.0 + \brief Parse lines of %smbstatus reply. + \date 2008-11-11 + \version 1.2 \author Daniel Rocher \sa smbstatus */ @@ -58,7 +58,7 @@ Init header. Received header for one section. \param OneHeader header of one section (connections, shares, locked files, ...). - Exemple: + Example: \verbatim Pid DenyMode Access R/W Oplock Name \endverbatim @@ -76,24 +76,23 @@ /** Find field on header + Example: "Pid", "DenyMode", . \param element field - \retval true field exist - \retval false field doesn't exist + \return index or -1 if field doesn't exist \sa InitHeader - Exemple: "Pid", "DenyMode", ... */ -bool LineCore::InitElement(QString element) +int LineCore::InitElement(const QString & element) { debugQt("LineCore::InitElement("+element+")"); if (!initHead) return false; record mon_record; - mon_record.Begin=header.find(element,0,false); + mon_record.Begin=header.indexOf (element,0,Qt::CaseInsensitive); // field doesn't exist - if (mon_record.Begin==-1) return false; + if (mon_record.Begin==-1) return -1; // find first space+characters after 'element' - mon_record.End=header.find(QRegExp("[\\s][\\S]"),mon_record.Begin+element.length()); + mon_record.End=header.indexOf(QRegExp("[\\s][\\S]"),mon_record.Begin+element.length()); mon_record.New_Begin=0; mon_record.New_End=0; mon_record.Value=""; @@ -101,14 +100,14 @@ // add field characteristics on a record listElement.append(mon_record); - return true; + return listElement.size()-1; } /** Analysis one line - \param OneLine one line of smbstatus (without the header). + \param OneLine one line of %smbstatus (without the header). - Exemple: + Example: \verbatim 3456 DENY_NONE 0x1 RDONLY NONE /home/villou/Utilitaires/qtsmbstatus.pdf Fri Sep 10 14:14:12 2004 \endverbatim @@ -124,7 +123,7 @@ line=OneLine; int resu=0; int CumulDelta=0; - recordList::iterator itI; + QList::iterator itI; for (itI = listElement.begin(); itI != listElement.end(); ++itI ) { @@ -133,7 +132,7 @@ // if not first field if ((*itI).Begin!=0) { - resu=line.find(QRegExp("[\\s][\\S]"),-back+(*itI).Begin+CumulDelta); + resu=line.indexOf(QRegExp("[\\s][\\S]"),-back+(*itI).Begin+CumulDelta); (*itI).New_Begin=resu+1; CumulDelta=(*itI).New_Begin-(*itI).Begin; } @@ -144,11 +143,11 @@ } else { - resu=line.find(QRegExp("[\\s][\\S]"),-back+(*itI).End+CumulDelta); + resu=line.indexOf(QRegExp("[\\s][\\S]"),-back+(*itI).End+CumulDelta); (*itI).New_End=resu; CumulDelta=(*itI).New_End-(*itI).End; } - (*itI).Value=(line.mid((*itI).New_Begin,(*itI).New_End-(*itI).New_Begin)).stripWhiteSpace(); + (*itI).Value=(line.mid((*itI).New_Begin,(*itI).New_End-(*itI).New_Begin)).trimmed(); /*debugQt( " Begin:"+QString::number((*itI).Begin)+ " End:"+QString::number((*itI).End)+ @@ -165,19 +164,35 @@ \param element field name \return one field contents */ -QString LineCore::ReturnElement(QString element) +QString LineCore::ReturnElement(const QString & element) { debugQt("LineCore::ReturnElement("+element+")"); if (!initHead || !analysisProc) return ""; - recordList::iterator itI; + QList::iterator itI; for (itI = listElement.begin(); itI != listElement.end(); ++itI ) { - if (((*itI).Ident).lower()==element.lower()) return ((*itI).Value); + if (((*itI).Ident).toLower()==element.toLower ()) return ((*itI).Value); } // if doesn't exist return ""; } +/** + Return one field contents + \param index index of field + \return one field contents +*/ +QString LineCore::ReturnElement(int index) +{ + debugQt("LineCore::ReturnElement("+QString::number(index)+")"); + if (!initHead || !analysisProc) return ""; + if ( index >= 0 && index < listElement.size()) { + return listElement.at(index).Value; + } else { + // if doesn't exist + return ""; + } +} /** Sort records @@ -188,9 +203,9 @@ if (!initHead) return; int plus_petit; - recordList::iterator itI; - recordList::iterator itJ; - recordList::iterator position; + QList::iterator itI; + QList::iterator itJ; + QList::iterator position; record mon_record; for (itI = listElement.begin(); itI != listElement.end(); ++itI ) { diff -Nru qtsmbstatus-2.0.4/client/linecore.h qtsmbstatus-2.1.1/client/linecore.h --- qtsmbstatus-2.0.4/client/linecore.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/linecore.h 2009-04-12 14:46:48.000000000 +0200 @@ -23,19 +23,20 @@ #define LINECORE_H #include -#include +#include extern void debugQt(const QString & message); class LineCore : public QObject { -Q_OBJECT + Q_OBJECT public: LineCore(QObject *parent=0); - ~LineCore(); + virtual ~LineCore(); void InitHeader(const QString & OneHeader); - bool InitElement(QString element); - QString ReturnElement(QString element); + int InitElement(const QString & element); + QString ReturnElement(int index); + QString ReturnElement(const QString & element); void Analysis(const QString & OneLine); void SortElements(); @@ -48,18 +49,17 @@ bool analysisProc; bool initHead; static const short int back; - -struct record { - Q_INT32 Begin; - Q_INT32 End; - Q_INT32 New_Begin; - Q_INT32 New_End; - QString Ident; - QString Value; -}; - -typedef Q3ValueList recordList; -recordList listElement; + + struct record { + qint32 Begin; + qint32 End; + qint32 New_Begin; + qint32 New_End; + QString Ident; + QString Value; + }; + + QList listElement; }; #endif diff -Nru qtsmbstatus-2.0.4/client/log.cpp qtsmbstatus-2.1.1/client/log.cpp --- qtsmbstatus-2.0.4/client/log.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/log.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -29,6 +29,8 @@ #define name_of_share "Share" #define name_of_file "File" +extern void writeToConsole(const QString & message); + /** \class LogForm \brief Form to view CIFS/SMB activities @@ -103,7 +105,7 @@ QString service; QFileDialog fileDialog; fileDialog.setDefaultSuffix ( "csv" ); - QString fileName = fileDialog.getSaveFileName(this, tr("Open File"), QDir::homeDirPath (),"*.csv"); + QString fileName = fileDialog.getSaveFileName(this, tr("Open File"), QDir::homePath (),"*.csv"); if (fileName.isEmpty()) return; @@ -113,7 +115,7 @@ QFile f1(fileName); if ( !f1.open( QIODevice::WriteOnly | QIODevice::Text ) ) { - qDebug("Impossible to create file !"); + writeToConsole("Impossible to create file !"); QMessageBox::warning ( this, "Error" , "Impossible to create file !"); return; } diff -Nru qtsmbstatus-2.0.4/client/log.h qtsmbstatus-2.1.1/client/log.h --- qtsmbstatus-2.0.4/client/log.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/log.h 2009-04-12 14:46:48.000000000 +0200 @@ -21,7 +21,7 @@ #ifndef LOG_H #define LOG_H -#include "ui_log.h" +#include "build/ui/ui_log.h" #include "server.h" class QStandardItemModel; diff -Nru qtsmbstatus-2.0.4/client/login_dialog.ui qtsmbstatus-2.1.1/client/login_dialog.ui --- qtsmbstatus-2.0.4/client/login_dialog.ui 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/login_dialog.ui 2009-04-12 14:46:48.000000000 +0200 @@ -5,77 +5,113 @@ 0 0 - 302 - 161 + 297 + 127 - - - Arial - 11 - - Connect to qtsmbstatus server - - - 9 - - - 6 - - - - - Qt::Vertical - - - - 20 - 40 - - - - + - - - - 1 - 5 - 0 - 0 - - - - Username - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - false - - - input_username - - + + + + + + 0 + 0 + + + + Username + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + false + + + input_username + + + + + + + + 0 + 0 + + + + root + + + + + + + + 0 + 0 + + + + Password + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + false + + + input_password + + + + + + + + 0 + 0 + + + + QLineEdit::Password + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + - + - - 0 - 6 + + 0 + - - 3 - 5 + 0 0 @@ -93,7 +129,7 @@ QSizePolicy::Preferred - + 51 37 @@ -104,9 +140,7 @@ - - 3 - 5 + 0 0 @@ -118,69 +152,13 @@ - - - - - 7 - 1 - 0 - 0 - - - - root - - - - - - - - 7 - 1 - 0 - 0 - - - - QLineEdit::Password - - - - - - - - 1 - 5 - 0 - 0 - - - - Password - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - false - - - input_password - - - - - qPixmapFromMimeSource input_password + input_username bt_login bt_exit - input_username @@ -191,12 +169,12 @@ accept() - 20 - 20 + 67 + 104 - 20 - 20 + 18 + 122 @@ -207,28 +185,12 @@ reject() - 20 - 20 - - - 20 - 20 - - - - - bt_login - clicked() - login_dialog - Slot_login_button() - - - 20 - 20 + 259 + 100 - 20 - 20 + 271 + 121 diff -Nru qtsmbstatus-2.0.4/client/login_windows.cpp qtsmbstatus-2.1.1/client/login_windows.cpp --- qtsmbstatus-2.0.4/client/login_windows.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/login_windows.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -26,8 +26,8 @@ /** \class login_windows \brief InputBox login and password - \date 2007-06-15 - \version 1.0 + \date 2008-11-11 + \version 1.1 \param parent pointer to the parent object \author Daniel Rocher */ @@ -47,9 +47,11 @@ debugQt("login_windows::~login_windows()"); } -void login_windows::Slot_login_button() +void login_windows::on_bt_login_clicked() { - debugQt("login_windows::Slot_login_button()"); + debugQt("login_windows::on_bt_login_clicked()"); username_login=input_username->text(); passwd_login=input_password->text(); } + + diff -Nru qtsmbstatus-2.0.4/client/login_windows.h qtsmbstatus-2.1.1/client/login_windows.h --- qtsmbstatus-2.0.4/client/login_windows.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/login_windows.h 2009-04-12 14:46:48.000000000 +0200 @@ -22,7 +22,7 @@ #define LOGIN_WINDOWS_H -#include "ui_login_dialog.h" +#include "build/ui/ui_login_dialog.h" extern void debugQt(const QString & message); extern QString username_login; @@ -30,12 +30,12 @@ class login_windows :public QDialog, public Ui::login_dialog { -Q_OBJECT + Q_OBJECT public: login_windows(QWidget *parent = 0); virtual ~login_windows(); private slots: - virtual void Slot_login_button(); + void on_bt_login_clicked(); }; #endif diff -Nru qtsmbstatus-2.0.4/client/machine.cpp qtsmbstatus-2.1.1/client/machine.cpp --- qtsmbstatus-2.0.4/client/machine.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/machine.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -21,27 +21,35 @@ /** \class machine \brief Class of machine items - \date 2007-07-04 - \version 1.1 + \date 2008-11-08 + \version 2.0 \author Daniel Rocher \sa server user service 'machine' is parent of 'user' and child of 'server' */ + +#include + #include "machine.h" +extern QList QTreeWidgetItemList; +extern void debugQt(const QString & message); + int machine::compteur_objet=0; -machine::machine(Q3ListViewItem * parent,const QString & PID,const QString & Username, const QString & Group,const QString & MachineName, const QString & MachineIP) : Q3ListViewItem(parent) +machine::machine(QTreeWidgetItem * parent,const QString & PID,const QString & Username, const QString & Group,const QString & MachineName, const QString & MachineIP) : QTreeWidgetItem(parent) { debugQt("Object machine : "+QString::number(++compteur_objet)); - Q3ListViewItemList.append(this); + QTreeWidgetItemList.append(this); mark=true; machine_name=MachineName; machine_ip=MachineIP; - this->setPixmap( 0, QPixmap::QPixmap(":/icons/machine.png") ); //icone + QIcon icon; + icon.addPixmap(QPixmap(":/icons/machine.png"), QIcon::Normal, QIcon::Off); + this->setIcon( 0, icon ); //icone this->setText ( 0, machine_name) ; // add new user new user(this,PID,Username,Group); @@ -49,7 +57,7 @@ machine::~machine(){ debugQt("Object machine : "+QString::number(--compteur_objet)); - Q3ListViewItemList.removeAll (this); + QTreeWidgetItemList.removeAll (this); } /** @@ -57,10 +65,11 @@ */ void machine::append_user(const QString & PID,const QString & Name,const QString & Group) { - user * Child= dynamic_cast(this->firstChild()); bool exist=false; - while ( Child ) + for (int i=0; i < this->childCount (); ++i ) { + user * Child= dynamic_cast(this->child (i) ); + if (!Child) break; // If exist if (Child->pid==PID) { @@ -76,7 +85,6 @@ } return; // exit loop } - Child = dynamic_cast(Child->nextSibling()); } // if not exist add user if (!exist) new user (this,PID,Name,Group); @@ -89,22 +97,20 @@ */ void machine::refresh_childs() { - user * item_temp; - user * Child= dynamic_cast(this->firstChild()); - while ( Child ) + for (int i=0; i < this->childCount (); ++i ) { + user * Child= dynamic_cast(this->child (i) ); + if (!Child) break; + // if child doesn't exist any more if (!Child->mark) { - // delete child - item_temp= Child; - Child = dynamic_cast(Child->nextSibling()); // next - delete item_temp; // delete item and his children + delete Child; // delete item and his children + --i; continue; } // if child exist Child->refresh_childs(); - Child = dynamic_cast(Child->nextSibling()); } } @@ -117,11 +123,11 @@ */ void machine::mark_childs() { - user * Child= dynamic_cast(this->firstChild()); - while ( Child ) + for (int i=0; i < this->childCount (); ++i ) { + user * Child= dynamic_cast(this->child (i) ); + if (!Child) break; Child->mark=false; Child->mark_childs(); - Child = dynamic_cast(Child->nextSibling()); } } diff -Nru qtsmbstatus-2.0.4/client/machine.h qtsmbstatus-2.1.1/client/machine.h --- qtsmbstatus-2.0.4/client/machine.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/machine.h 2009-04-12 14:46:48.000000000 +0200 @@ -22,17 +22,13 @@ #define MACHINE_H #include -#include +#include #include "user.h" - -extern void debugQt(const QString & message); -extern QList Q3ListViewItemList; - -class machine : public Q3ListViewItem { +class machine : public QTreeWidgetItem { public: - machine(Q3ListViewItem * parent,const QString & PID,const QString & Username, const QString & Group, const QString & MachineName, const QString & MachineIP); + machine(QTreeWidgetItem * parent,const QString & PID,const QString & Username, const QString & Group, const QString & MachineName, const QString & MachineIP); virtual ~machine(); void append_user(const QString & PID,const QString & Name,const QString & Group); void refresh_childs(); diff -Nru qtsmbstatus-2.0.4/client/main.cpp qtsmbstatus-2.1.1/client/main.cpp --- qtsmbstatus-2.0.4/client/main.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/main.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -18,36 +18,24 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include + #include +#include +#include "smbstatus.h" +#include "instances_dlg.h" #include "main_windows.h" -extern void unsupported_options(char *erreur, const QString & usage); +extern void unsupported_options(char *error, const QString & usage); extern bool validatePort(const int & port); extern bool StrToBool(QString & value); extern QString BoolToStr(bool & value); +extern void debugQt(const QString & message); +extern void writeToConsole(const QString & message); extern uint int_qtsmbstatus_version; - -//default value -QString host="127.0.0.1"; -//! Interval, in seconds, between every request to smbstatus -int interval=10; -QString username_login="root"; -QString passwd_login="";//! Autoconnect when qtsmbstatus start -bool autoconnect=false; -//! View hidden shares (share$) -bool view_hidden_shares = true; -//! Iconize QtSmbstatus on system tray -bool iconize=true; -//! show status notification messages (balloon messages) -bool show_messages=true; -//! log SMB/CIFS activities -bool log_activity=false; -//! limit log (number of days) -int limitLog=1; +extern quint16 port_server; //tcp port /** Convert QtSmbstatus config file to new format 2.0.1. @@ -66,10 +54,10 @@ int limit_log_conf; QString username_login_conf; - QFile f1( QDir::homeDirPath () + "/.qtsmbstatus.conf" ); + QFile f1( QDir::homePath () + "/.qtsmbstatus.conf" ); if ( !f1.open( QIODevice::ReadOnly | QIODevice::Text ) ) { - qDebug("Create configuration file, Use default settings."); + writeToConsole("Create configuration file, Use default settings."); writeConfigFile(); // create configuration file, use default value return; } @@ -77,12 +65,12 @@ while ( !t.atEnd() ) { ligne = t.readLine(); - ligne = ligne.simplifyWhiteSpace(); + ligne = ligne.simplified(); if ((ligne.mid(0,1) == "#") || (ligne.length ()==0)) continue; if (ligne.contains("=")) { - attr= (ligne.mid(0,ligne.find("="))).simplifyWhiteSpace(); - variable = (ligne.mid(ligne.find("=")+1)).simplifyWhiteSpace(); + attr= (ligne.mid(0,ligne.indexOf("="))).simplified(); + variable = (ligne.mid(ligne.indexOf("=")+1)).simplified(); if (attr=="port") { port_conf=(variable).toInt(&ok); @@ -123,7 +111,7 @@ debugQt("WriteConfigFile()"); // new format // qtsmbstatus >= 2.0.1 - QSettings settings(QSettings::UserScope,"adella.org", "qtsmbstatus"); + QSettings settings; settings.beginGroup("/Configuration"); settings.setValue("qtsmbstatusVersion",int_qtsmbstatus_version); settings.setValue("port",port_server); @@ -136,6 +124,7 @@ settings.setValue("notificationMessages",show_messages); settings.setValue("logActivity",log_activity); settings.setValue("limitLog",limitLog); + settings.setValue("checkNewRelease",check_new_release); settings.endGroup(); // old format (.qtsmbstatus.conf) @@ -144,7 +133,7 @@ QFile f1( QDir::homeDirPath () + "/.qtsmbstatus.conf" ); if ( !f1.open( QIODevice::WriteOnly | QIODevice::Text ) ) { - qDebug("Impossible to create configuration file"); + writeToConsole("Impossible to create configuration file"); return; } QTextStream t( &f1 ); @@ -193,8 +182,10 @@ { debugQt("readConfigFile()"); - QSettings settings(QSettings::UserScope,"adella.org", "qtsmbstatus"); + QSettings settings; settings.beginGroup("/Configuration"); + if (!settings.contains ("uuid")) + settings.setValue("uuid",QUuid::createUuid().toString ()); // if qtsmbstatus < 2.0.1 or first time if ((settings.value("qtsmbstatusVersion",-1).toInt())==-1) { @@ -214,6 +205,7 @@ show_messages=settings.value("notificationMessages",show_messages).toBool(); log_activity=settings.value("logActivity",log_activity).toBool(); limitLog=settings.value("limitLog",limitLog).toInt(); + check_new_release=settings.value("checkNewRelease",check_new_release).toBool(); settings.endGroup(); } @@ -221,12 +213,12 @@ { bool ok; QString usage="\n Usage: qtsmbstatus -i -m -p -v --help\n\n" - " --help : Show this help\n" + " -h|--help : Show this help\n" " -i : Interval between smbstatus requests in seconds, (interval > 2) - default value = " + QString::number(interval) + "\n" " -v : Show qtsmbstatus version\n" " -p : TCP port - default = " + QString::number(port_server) + "\n" " -m : Show debug messages\n\n" - "exemple: qtsmbstatus -i 50\n\n"; + "example: qtsmbstatus -i 50\n\n"; #ifdef Q_WS_WIN // for windows only - get install directory (register when qtsmbstatus has been installed) @@ -238,89 +230,81 @@ } #endif + MyApplication app( argc, argv ); + app.setApplicationName("qtsmbstatus"); + #if QT_VERSION >= 0x040400 + app.setApplicationVersion(version_qtsmbstatus); + #endif + app.setOrganizationName("adella.org"); + app.setOrganizationDomain("qtsmbstatus.free.fr"); + // read configuration file readConfigFile(); - // get args - for ( int i = 1; i < argc; i++ ) - { - if (QString(argv[i])=="--help") - { - qDebug(usage); - return 0; - } - if (argv[i][0] == '-') - switch (argv[i][1]) - { - case 'i': // timer interval - if (argv[i][2]=='\0') - { - interval=(QString(argv[++i])).toInt(&ok); - if (ok==false) // bad conversion, quit - { - qDebug("\n Missing argument : -i \n" + usage); - return 1; - } - if (interval<3) - { - qDebug("\n Interval it must be higher than two seconds (option: -i) \n"); - return 1; - } - } - else - { - unsupported_options(argv[i],usage); - return 1; - } + + int optch; + extern int opterr; + opterr = 1; // show getopt errors + + if( app.arguments().contains("--help")) { + writeToConsole(usage); + return 0; + } + + while ((optch = getopt(argc, argv, "hi:vp:m")) != -1) { + switch (optch) { + case 'h': + writeToConsole(usage); + return 0; break; - case 'p': // TCP Port - if (argv[i][2]=='\0') - { - port_server=(QString(argv[++i])).toInt(&ok); - if (ok==false) // bad conversion, quit - { - qDebug("\n Missing argument : -p \n" + usage); - return 1; - } - if (!validatePort(port_server)) return 1; // port not valid - } - else + case 'v': + writeToConsole("QtSmbstatus version : " + version_qtsmbstatus); // view qtsmbstatus version + return 0; + break; + case 'i': + interval=(QString(optarg)).toInt(&ok); + if (ok==false) // bad conversion, quit { - unsupported_options(argv[i],usage); + writeToConsole("\nbad syntax for -i\n" + usage); return 1; } - break; - case 'm': // debug - if (argv[i][2]=='\0') debug_qtsmbstatus=true; // view message debug - else + if (interval<3) { - unsupported_options(argv[i],usage); + writeToConsole("\nInterval it must be higher than two seconds (option: -i)\n"); return 1; } break; - case 'v': //version - if (argv[i][2]=='\0') qDebug("QtSmbstatus version : " + version_qtsmbstatus); // view qtsmbstatus version - else + case 'p': + port_server=(QString(optarg)).toInt(&ok); + if (ok==false) { - unsupported_options(argv[i],usage); + writeToConsole("\nbad syntax for -p\n" + usage); return 1; } - return 0; + if (!validatePort(port_server)) return 1; // port not valid break; - default: // unsupported option -> show message and exit - unsupported_options(argv[i],usage); - return 1; + case 'm': + debug_qtsmbstatus=true; // view message debug break; + default: // '?' + writeToConsole(usage); + return 1; } } - - MyApplication a( argc, argv ); - + + if (optind < argc) { + printf("\nUnknown option: %s\n\n",argv[optind]); + return 1; + } + + // SSL support + if (!QSslSocket::supportsSsl()) + writeToConsole("This platform don't supports SSL. The socket will fail in the connection phase."); + // < translate > - QTranslator qtTranslator; qtTranslator.load("qt_" + QLocale::system().name()); - a.installTranslator(&qtTranslator); + app.installTranslator(&qtTranslator); QString translate_file; @@ -339,26 +323,35 @@ } #endif - a.installTranslator( &myappTranslator ); + app.installTranslator( &myappTranslator ); // < /translate > - a.setQuitOnLastWindowClosed ( false ); + app.setQuitOnLastWindowClosed ( false ); main_windows fenetre_principale; - a.connect (&a, SIGNAL(quitMyApp()),&fenetre_principale,SLOT(beforeQuit())); + if (debug_qtsmbstatus) + { + instances_dlg * tempdlg = new instances_dlg(&fenetre_principale); + tempdlg->appendObject(&LineCore::compteur_objet,"LineCore"); + tempdlg->appendObject(&server::compteur_objet,"server"); + tempdlg->appendObject(&machine::compteur_objet,"machine"); + tempdlg->appendObject(&user::compteur_objet,"user"); + tempdlg->appendObject(&service::compteur_objet,"service"); + tempdlg->appendObject(&smbstatus::compteur_objet,"smbstatus"); + tempdlg->show(); + } + app.connect (&app, SIGNAL(quitMyApp()),&fenetre_principale,SLOT(beforeQuit())); fenetre_principale.show(); - int value_return=a.exec(); + int value_return=app.exec(); // for debug only debugQt("\n\n ___________ OBJECTS _________________"); - debugQt("ClientSocket : "+QString::number(ClientSocket::compteur_objet)); - debugQt("ClientSSL : "+QString::number(ClientSSL::compteur_objet)); debugQt("LineCore : "+QString::number(LineCore::compteur_objet)); debugQt("server : "+QString::number(server::compteur_objet)); debugQt("machine : "+ QString::number(machine::compteur_objet)); debugQt("user : "+ QString::number(user::compteur_objet)); debugQt("service : "+ QString::number(service::compteur_objet)); debugQt("smbstatus : "+ QString::number(smbstatus::compteur_objet)); - if ((ClientSocket::compteur_objet+ClientSSL::compteur_objet+LineCore::compteur_objet+server::compteur_objet + if ((LineCore::compteur_objet+server::compteur_objet +machine::compteur_objet+user::compteur_objet+service::compteur_objet+smbstatus::compteur_objet)==0) debugQt("\nDeleted objects : OK\n"); else debugQt("\nDeleted objects : Error !\n"); return value_return; diff -Nru qtsmbstatus-2.0.4/client/main_windows.cpp qtsmbstatus-2.1.1/client/main_windows.cpp --- qtsmbstatus-2.0.4/client/main_windows.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/main_windows.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -20,87 +20,59 @@ #include -#include + +#include "../common/core_syntax.h" #include "main_windows.h" -/** - \class MyApplication - \brief reimplementing QApplication::commitData() - \date 2007-07-26 - \version 1.0 - \author Daniel Rocher -*/ -MyApplication::MyApplication(int & argc, char ** argv ) : QApplication(argc,argv) { } +extern void writeToConsole(const QString & message); +extern QList QTreeWidgetItemList; + +//default value +QString host="127.0.0.1"; +QString username_login="root"; +QString passwd_login=""; +//! Autoconnect when qtsmbstatus start +bool autoconnect=false; -/** - reimplementing QApplication::commitData(). - This function deals with session management. It is invoked when the QSessionManager wants the application to commit all its data. -*/ -void MyApplication::commitData(QSessionManager& manager) -{ - debugQt("MyApplication::commitData()"); - if (manager.allowsInteraction()) - { - manager.release(); - emit quitMyApp(); - } -} /** \class main_windows - \brief Main Window - \date 2007-06-17 - \version 1.0 + \brief Main Window for QtSmbstatus Client + \date 2008-11-16 + \version 2.0 \author Daniel Rocher */ -main_windows::main_windows(QWidget *parent) : QMainWindow(parent) +main_windows::main_windows(QWidget *parent) : MainWindows(parent) { debugQt("main_windows::main_windows()"); - setupUi(this); - trayicon =new QSystemTrayIcon(QIcon (":/icons/trayicon.png"),this); - trayicon->setToolTip ( tr("QtSmbstatus Client") ); - QMenu * menu=new QMenu( this ); - connect_action= menu->addAction ( QIcon (":/icons/connect_no.png"),tr("Connect") ); - connect(connect_action,SIGNAL( triggered ()),this , SLOT(Slot_connect())); - menu->addSeparator (); - viewlog_action=menu->addAction ( tr("Show CIFS/SMB activities") ); - connect(viewlog_action,SIGNAL( triggered ()),this , SLOT(on_action_View_log_triggered())); - configure_action= menu->addAction ( QIcon (":/icons/configure.png"),tr("Configure") ); - connect(configure_action,SIGNAL( triggered ()),this , SLOT(ConfigureSlot())); - menu->addSeparator (); - restore_action=menu->addAction (tr("Minimize") ); - connect(restore_action,SIGNAL( triggered ()),this , SLOT(restore_minimize())); - QAction * exit_action=menu->addAction ( QIcon (":/icons/exit.png"),tr("Quit") ); - connect(exit_action,SIGNAL( triggered ()),this , SLOT(beforeQuit () )); - connect(action_Quit,SIGNAL( triggered ()),this , SLOT(beforeQuit () )); - connect(action_Connect,SIGNAL( triggered ()),this , SLOT(Slot_connect())); - trayicon->setContextMenu ( menu ); - connect(trayicon,SIGNAL(activated ( QSystemTrayIcon::ActivationReason ) ),this,SLOT(trayicon_activated(QSystemTrayIcon::ActivationReason))); - restoreWindowSize(); - this->setCaption ( "QtSmbstatus client "+version_qtsmbstatus); // forms title - // create statusBar - statusBar()->showMessage (tr("Impossible to know samba version")); //status bar + this->setWindowTitle ( "QtSmbstatus client "+version_qtsmbstatus); // forms title + qApp->setWindowIcon ( QIcon (":/icons/qtsmbstatus.png") ); + trayicon->setToolTip ( windowTitle ()); + trayicon->setIcon (qApp->windowIcon()); + + connect_action= new QAction ( QIcon (":/icons/connect_no.png"),tr("Connect"),menuApp ); + menuApp->insertAction ( viewlog_action, connect_action ); + menuApp->insertSeparator ( viewlog_action ); + connect(connect_action,SIGNAL( triggered ()),this , SLOT(on_pushButton_connect_clicked())); + connect(action_Connect,SIGNAL( triggered ()),this , SLOT(on_pushButton_connect_clicked())); + comboBox_hostaddr->setDuplicatesEnabled ( false ); // read the address history readHistoryFile(); + comboBox_hostaddr->setEditText (host); - comboBox_hostaddr->setCurrentText (host); - - //listview - listView->addColumn ( "",550); - - socketclosed(); - - // first time - configuration_changed(); - - // form view CIFS/SMB activities - logform = new LogForm(this); - connect(this ,SIGNAL(refreshviewlog(const type_message &)), logform,SLOT(append(const type_message &))); + // Socket SSL/TLS + connect(&sslSocket, SIGNAL( encrypted() ), this, SLOT(socketConnected() ) ); + connect(&sslSocket, SIGNAL( disconnected() ), this, SLOT(socketClosed() ) ); + connect(&sslSocket,SIGNAL(readyRead()), this, SLOT(core()) ); + connect(&sslSocket,SIGNAL( error ( QAbstractSocket::SocketError )),this,SLOT(error(QAbstractSocket::SocketError))); + connect(&sslSocket, SIGNAL(sslErrors ( const QList & )),this,SLOT(SslErrors(const QList &))); + // initial state + setWidgetState(); //autoconnect - if (autoconnect) Slot_connect(); + if (autoconnect) on_pushButton_connect_clicked(); } @@ -109,96 +81,9 @@ debugQt("main_windows::~main_windows()"); } -/** - Before quit qtsmbstatus-client -*/ -void main_windows::beforeQuit() -{ - debugQt("main_windows::beforeQuit()"); - trayicon->setVisible(false); - this->close(); -} /** - When user restore or minimize windows -*/ -void main_windows::restore_minimize() -{ - debugQt("main_windows::restore_minimize()"); - if ((this->isMinimized ()) || !(this->isVisible())) - { - this->setVisible(true); - this->showNormal (); - } - else - { - this->setVisible(false); - logform->setVisible(false); - } -} - -/** - Connected to signal when the user activates the system tray icon - \param reason describes the reason the system tray was activated - \sa restore_minimize -*/ -void main_windows::trayicon_activated(QSystemTrayIcon::ActivationReason reason) -{ - debugQt("main_windows::trayicon_activated()"); - if ((this->isMinimized ()) || !(this->isVisible())) - restore_action->setText(tr("Restore")); - else - restore_action->setText(tr("Minimize")); - - if (reason == QSystemTrayIcon::Trigger) - restore_minimize(); -} - -/** - restore window size - \sa saveWindowSize - - On startup, restore windows size. -*/ -void main_windows::restoreWindowSize() -{ - debugQt("main_windows::restoreWindowSize()"); - QSettings settings(QSettings::UserScope,"adella.org", "qtsmbstatus"); - settings.beginGroup("/MainWindow"); - settings.beginGroup("/Geometry"); - QRect rec= this->geometry (); - int left=settings.value( "left",20 ).toInt(); - int top=settings.value( "top", 20 ).toInt(); - int width=settings.value( "width",300 ).toInt(); - int height=settings.value( "height", 600 ).toInt(); - settings.endGroup(); - settings.endGroup(); - this->setGeometry(QRect( left, top, width, height )); -} - -/** - save window size - \sa restoreWindowSize - - Before quit, save window size -*/ -void main_windows::saveWindowSize() -{ - debugQt("main_windows::saveWindowSize()"); - QSettings settings(QSettings::UserScope,"adella.org", "qtsmbstatus"); - settings.beginGroup("/MainWindow"); - settings.beginGroup("/Geometry"); - QRect rec= this->geometry (); - settings.setValue( "left", rec.left () ); - settings.setValue( "top", rec.top () ); - settings.setValue( "width", rec.width () ); - settings.setValue( "height", rec.height () ); - settings.endGroup(); - settings.endGroup(); -} - -/** On close event. */ void main_windows::closeEvent(QCloseEvent *e) @@ -214,10 +99,10 @@ { // write address history writeHistoryFile(); + if (socketState()!=UnconnectedState) Disconnect(); //if connected, disconnect saveWindowSize(); logform->close(); logform->deleteLater(); - if (connected) clientsocket->Disconnect(); //if connected, disconnect QTimer::singleShot(800, qApp, SLOT(quit())); // wait before quit e->accept(); } @@ -230,13 +115,13 @@ void main_windows::writeHistoryFile() { debugQt ("main_windows::writeHistoryFile()"); - QSettings settings(QSettings::UserScope,"adella.org", "qtsmbstatus"); + QSettings settings; settings.beginGroup("/MainWindow"); settings.beginGroup("/History"); int index=0; while (indexcount ()) { - settings.setValue("recentAddress"+QString::number(index),comboBox_hostaddr->text(index) ); + settings.setValue("recentAddress"+QString::number(index),comboBox_hostaddr->itemText(index) ); index++; } settings.endGroup(); @@ -251,14 +136,14 @@ { debugQt ("main_windows::readHistoryFile()"); QString value; - QSettings settings(QSettings::UserScope,"adella.org", "qtsmbstatus"); + QSettings settings; settings.beginGroup("/MainWindow"); settings.beginGroup("/History"); for ( int i = 0; i < 20 ; ++i ) { value=settings.value( "recentAddress" +QString::number( i) ).toString(); if (!value.isEmpty()) - comboBox_hostaddr->insertItem( value ); + comboBox_hostaddr->addItem ( value ); } settings.endGroup(); settings.endGroup(); @@ -273,30 +158,30 @@ debugQt ("main_windows::comboBox_valid()"); int index=1; QString texte = comboBox_hostaddr->currentText (); - comboBox_hostaddr->insertItem (texte,0); + comboBox_hostaddr->insertItem (0,texte); while (indexcount ()) { - if ((comboBox_hostaddr->text(index) == texte) || (index > 19) ) + if ((comboBox_hostaddr->itemText(index) == texte) || (index > 19) ) comboBox_hostaddr->removeItem (index); else index++; } - comboBox_hostaddr->setCurrentItem(0); + comboBox_hostaddr->setCurrentIndex(0); } /** Slot connect. If connected, disconnect. */ -void main_windows::Slot_connect() +void main_windows::on_pushButton_connect_clicked() { - debugQt("main_windows::Slot_connect()"); - if (!connected) open_dialog_for_login(); // open authentication dialogbox - else clientsocket->Disconnect(); + debugQt("main_windows::on_pushButton_connect_clicked()"); + if (socketState()==UnconnectedState) open_dialog_for_login(); // open authentication dialogbox + else Disconnect(); } /** Open authentication dialogbox - \sa login_windows ClientSocket + \sa login_windows */ void main_windows::open_dialog_for_login() { @@ -304,453 +189,354 @@ login_windows * login_passwd = new login_windows(this); if (login_passwd->exec()==QDialog::Accepted) { - pushButton_connect->setPixmap( QPixmap(":/icons/connect_creating.png") ); - connect_action->setIcon ( QPixmap(":/icons/connect_creating.png") ); - action_Connect->setIcon ( QPixmap(":/icons/connect_creating.png") ); - host=comboBox_hostaddr->currentText (); - // new clientsocket - clientsocket = new ClientSocket(listView,this); - connect(clientsocket, SIGNAL( SignalConnected() ), this, SLOT(socketconnected() ) ); - connect(clientsocket, SIGNAL( SignalClosed() ), this, SLOT(socketclosed() ) ); - connect(clientsocket, SIGNAL( SignalErrorAuth()), this, SLOT(SignalErrorAuth())); - connect(clientsocket, SIGNAL( SignalShortMessage(const QString &) ), statusBar(), SLOT(showMessage (const QString & ))); - QTimer *timer = new QTimer(clientsocket); - connect(timer, SIGNAL(timeout()), this, SLOT(InfoSMB())); - firstTime=true; - timer->start(10000); + host=comboBox_hostaddr->currentText (); // clear form log logform->on_clearButton_clicked(); - clientsocket->connectionToServer(username_login, passwd_login); + + // now, try to connect ... + statusBar()->showMessage( tr("Connection in progress on %1").arg(host)); + sslSocket.connectToHostEncrypted(host,port_server); + sslSocket.ignoreSslErrors (); + setWidgetState(); } } /** - Slot connected. When client is connected to server - \sa Slot_connect ClientSocket + Slot connected. When client is connected to %server + \sa on_pushButton_connect_clicked */ -void main_windows::socketconnected() +void main_windows::socketConnected() { - debugQt("main_windows::socketconnected()"); - connected=true; + debugQt("main_windows::socketConnected()"); // server address is valid, add to combobox comboBox_valid(); + setWidgetState(); + permitDisconnectUser=false; // permit (or not) client to disconnect an user + permitSendMsg=false; // permit (or not) client to send popup messages + currentIndexOfListItem=0; + QString SearchTxt=""; + + firstTime=true; + timerinfoSmb.start(10000); - pushButton_connect->setPixmap(QPixmap(":/icons/connect_established.png") ); - connect_action->setIcon (QPixmap(":/icons/connect_established.png") ); - action_Connect->setIcon ( QPixmap(":/icons/connect_established.png") ); - connect_action->setText(tr("Disconnect")); - action_Connect->setText(tr("Disconnect")); - searchAll->setEnabled ( true ); - searchMachineAction->setEnabled ( true ); - searchUserAction->setEnabled ( true ); - searchShare_openAction->setEnabled ( true ); - searchFile_openAction->setEnabled ( true ); -} + statusBar()->showMessage( tr("Connected to host") ); -/** - Slot socketclosed. When client is disconnected - \sa ClientSocket -*/ -void main_windows::socketclosed() -{ - debugQt("main_windows::socketclosed()"); - - pushButton_connect->setPixmap( QPixmap(":/icons/connect_no.png") ); - connect_action->setIcon(QPixmap(":/icons/connect_no.png") ); - action_Connect->setIcon(QPixmap(":/icons/connect_no.png") ); - connect_action->setText(tr("Connect")); - action_Connect->setText(tr("Connect")); - connected=false; - searchAll->setEnabled ( false ); - searchMachineAction->setEnabled ( false ); - searchUserAction->setEnabled ( false ); - searchShare_openAction->setEnabled ( false ); - searchFile_openAction->setEnabled ( false ); - searchNextAction->setEnabled ( false ); + // create icon server on treeWidget + item_server = new server( treeWidget ); + + // who i am + sendToServer(whoiam,QString::number(int_qtsmbstatus_version),"QtSmbstatus client "+version_qtsmbstatus+" - "+date_qtsmbstatus); + + //Authentication + sendToServer(auth_rq,username_login,passwd_login); // send username and password to server } /** - When configuration changed - \sa configure_windows + Slot socketClosed. When client is disconnected */ -void main_windows::configuration_changed() +void main_windows::socketClosed() { - debugQt("main_windows::configuration_changed()"); - if (!iconize) this->setVisible(true); - action_View_log->setEnabled(log_activity); - viewlog_action->setEnabled(log_activity); - trayicon->setVisible(iconize); + debugQt("main_windows::socketClosed()"); + statusBar()->showMessage( tr("Connection closed") ); + smbstatus_rq_started=false; + ListSmbstatus.clear(); + // clear listview + treeWidget->clear(); + timerinfoSmb.stop(); + timerSmbRequest.stop(); + menuPopup->clear (); + setWidgetState(); } - /** - Bad login or bad password. - \sa ClientSocket::SignalErrorAuth + socket error + \param socketError */ -void main_windows::SignalErrorAuth() -{ - debugQt("main_windows::SignalErrorAuth()"); - QMessageBox::warning ( this, "QtSmbstatus",tr("Invalid login or password !")); - Slot_connect(); +void main_windows::error (QAbstractSocket::SocketError socketError) { + debugQt("main_windows::error()"); + statusBar()->showMessage(sslSocket.errorString()); + if (socketError!=QAbstractSocket::RemoteHostClosedError) + QMessageBox::warning ( this, "QtSmbstatus",sslSocket.errorString()); + qWarning() << sslSocket.errorString(); + Disconnect(); } /** - menu Help/helpAbout + SSL error */ -void main_windows::helpAbout() -{ - QMessageBox::about( this, "QtSmbstatus","QtSmbstatus : "+web_qtsmbstatus+"
Version: "+version_qtsmbstatus+"
"+date_qtsmbstatus+"
" - "Developer : "+auteur_qtsmbstatus+" "+mail_qtsmbstatus+"


" - ""+tr("Thanks to:")+"
" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "
Polish translation :Krzysztof Bzowski sh4dow4@gmail.com
Pawel Dyda
Spanish translation :Mauro
Italian translation :Naldini Paolo
German translation :Alex Djekic
Hungarian translation :Szenogradi Norbert Peter sevoir75@gmail.com
Russian and Ukrainian translation :Motsyo Gennadi drool@altlinux.ru
Swedish translation :Zirro
RPM packages for FC3 :CG (cyberkoa)
Second reading :Eric Bresson eric.public@wanadoo.fr


"+ - tr("This program is licensed to you under the terms of the GNU General Public License version 2")); +void main_windows::SslErrors (const QList & listErrors) { + debugQt("main_windows::SslErrors()"); + for (int i = 0; i < listErrors.size(); ++i) + qWarning() << listErrors.at(i).errorString (); } + /** - menu Help/helpAboutQt + Close TCP connection */ -void main_windows::helpAboutQt() +void main_windows::Disconnect() { - QMessageBox::aboutQt( this, "Qt Application" ); + debugQt("main_windows::Disconnect()"); + sendToServer(end); // inform server + sslSocket.close(); // close SSL/TCP connection + setWidgetState(); } + /** - Configure qtsmbstatus client (open form) - \sa configure_windows + Enabled/disabled widget when connected/unconnected/... + \sa socketState */ -void main_windows::ConfigureSlot() -{ - debugQt("main_windows::ConfigureSlot()"); - configure_windows * configurate = new configure_windows(this); - connect (configurate,SIGNAL(configuration_changed()),this, SLOT(configuration_changed())); - configurate->exec(); +void main_windows::setWidgetState() { + debugQt("main_windows::setWidgetState()"); + QPixmap pixmap; + QString label; + bool actionIsEnabled=false; + + switch (socketState()) { + case ConnectingState: + pixmap=QPixmap(":/icons/connect_creating.png") ; + label=tr("Disconnect"); + actionIsEnabled=false; + break; + case ConnectedState: + pixmap=QPixmap(QPixmap(":/icons/connect_established.png")); + label=tr("Disconnect"); + actionIsEnabled=true; + break; + default: + pixmap=QPixmap(":/icons/connect_no.png"); + label=tr("Connect"); + actionIsEnabled=false; + break; + } + pushButton_connect->setIcon(QIcon(pixmap)); + connect_action->setIcon(QIcon(pixmap)); + action_Connect->setIcon(QIcon(pixmap)); + connect_action->setText( label ); + action_Connect->setText( label ); + searchAll->setEnabled ( actionIsEnabled ); + searchMachineAction->setEnabled ( actionIsEnabled ); + searchUserAction->setEnabled ( actionIsEnabled ); + searchShare_openAction->setEnabled ( actionIsEnabled ); + searchFile_openAction->setEnabled ( actionIsEnabled ); + searchNextAction->setEnabled ( false ); } /** - View log - \sa LogForm -*/ -void main_windows::on_action_View_log_triggered () -{ - debugQt("main_windows::on_action_View_log_triggered ()"); - logform->show(); + Send data to %server. + \param cmd command + \param inputArg1 argument 1 + \param inputArg2 argument 2 + \sa command + \sa core_syntax +*/ +void main_windows::sendToServer(int cmd,const QString & inputArg1,const QString & inputArg2) +{ + debugQt("main_windows::sendToServer()"); + if (socketState()!=ConnectedState) return; // if unconnected + QString MyTxt; + if (!inputArg1.isEmpty()) MyTxt=addEscapeKeys(inputArg1); + if (!inputArg2.isEmpty()) MyTxt+=";"+addEscapeKeys(inputArg2); + QString send_txt="["+QString::number(cmd)+"]"+MyTxt+"\n"; + sslSocket.write(send_txt.toUtf8()); + debugQt(send_txt); } -/** - Find items - */ -void main_windows::AllSearchSlot() -{ - debugQt("main_windows::AllSearchSlot()"); - search(T_All,getSearchStr(tr("Find text"))); -} /** - Find a machine - + Bad login or bad password. */ -void main_windows::MachineSearchSlot() +void main_windows::errorAuth() { - debugQt("main_windows::MachineSearchSlot()"); - search(T_Machine,getSearchStr(tr("Search machine"))); + debugQt("main_windows::errorAuth()"); + QMessageBox::warning ( this, "QtSmbstatus",tr("Invalid login or password !")); + on_pushButton_connect_clicked(); } -/** - Find an user -*/ -void main_windows::UserSearchSlot() -{ - debugQt("main_windows::UserSearchSlot()"); - search(T_User,getSearchStr(tr("Search user"))); -} /** - Find a share + Return states in which a socket can be + \return state for socket + \sa socket_state */ -void main_windows::ShareSearchSlot() -{ - debugQt("main_windows::ShareSearchSlot()"); - search(T_Share,getSearchStr(tr("Search share"))); +short unsigned int main_windows::socketState() { + // connected and encrypted + if (sslSocket.state()==QAbstractSocket::ConnectedState && sslSocket.isEncrypted()) + return ConnectedState; + // unconnected + if (sslSocket.state()==QAbstractSocket::UnconnectedState) + return UnconnectedState; + // try to connect + return ConnectingState; } -/** - Find a file -*/ -void main_windows::FileSearchSlot() -{ - debugQt("main_windows::FileSearchSlot()"); - search(T_File,getSearchStr(tr("Search locked file"))); -} /** - Find next. - \sa AllSearchSlot MachineSearchSlot UserSearchSlot ShareSearchSlot FileSearchSlot + Slot %smbstatus timer + Request %smbstatus to %server */ -void main_windows::NextSlot() +void main_windows::slot_timer() { - debugQt("main_windows::NextSlot()"); - search(currentSearchItem,currentSearchStr,to_next); + debugQt("main_windows::slot_timer()"); + if (! smbstatus_rq_started) { + ListSmbstatus.clear(); + smbstatus_rq_started=true; + sendToServer(smb_rq); + } else writeToConsole("WARNING: smbstatus request is already started."); } - /** - input dialogbox. Find a machine, an user, ... - \param msg label of dialogbox - \return criteria of search - \sa AllSearchSlot MachineSearchSlot UserSearchSlot ShareSearchSlot FileSearchSlot + Receive informations from %server (right for current client) + \param text client's right: + \verbatim + 0000 0001 : permit client to disconnect an user + 0000 0010 : permit client to send popup messages (popupwindows) + \endverbatim */ -QString main_windows::getSearchStr(const QString & msg) +void main_windows::infoserver(const QString & text) { + debugQt("main_windows::infoserver()"); bool ok; - QString text = QInputDialog::getText( - "Search", msg+":", QLineEdit::Normal,QString::null, &ok, this ); - if ( ok && !text.isEmpty() ) - // user entered something and pressed OK - return text; - return ""; + permitDisconnectUser=false; + permitSendMsg=false; + int value = (text.mid(text.indexOf("]")+1)).toInt(&ok); + debugQt("Info Serveur : "+QString::number(value)); + if ( ok ) + { + if (value & 1) permitDisconnectUser=true; + if (value & 2) permitSendMsg=true; + } } /** - Select item and open parents (if it's possible) - \param item pointer on QListViewItem - \sa nextItem search + Protocol interpreter. + analyze the server's answers. + \sa core_syntax */ -void main_windows::selectItem(Q3ListViewItem *item) +void main_windows::core() { - debugQt("main_windows::selectItem()"); - Q3ListViewItem * parent; - // open parent, grandparent, ... - parent=item; - while (parent->parent() ) - { - parent=parent->parent(); - parent->setOpen ( true ); // open parent - } - listView->setSelected ( item, true ) ; - listView->ensureVisible ( 0, item->itemPos () ); -} + debugQt ("main_windows::core()"); + QString line; + QByteArray lineArray; + int reponse; + bool ok; + core_syntax stx; -/** - Find next item. - \param item pointer on item - \return pointer on next item - \sa selectItem search -*/ -Q3ListViewItem * main_windows::nextItem(Q3ListViewItem * item) -{ - debugQt("main_windows::nextItem()"); - Q3ListViewItem * tempNextItem; - Q3ListViewItem * parent; - Q3ListViewItem * tempItem=dynamic_cast(item); - // if item is incorrect - if (!tempItem) - return listView->firstChild (); - // first child of this item - tempNextItem=tempItem->firstChild(); - // if child exist - if (tempNextItem) + while (sslSocket.canReadLine ()) { - return tempNextItem; - } - else // no child - { - // next - tempNextItem=tempItem->nextSibling(); - // if next exist - if (tempNextItem) + lineArray = sslSocket.readLine(); + line=QString::fromUtf8( lineArray.data() ).trimmed (); + debugQt(line); + + stx.setValue(line); + if (stx.returnArg(0) != "") { - return tempNextItem; - } - else // if next doesn't exist - { - parent=tempItem; - // find next from parent - while (parent->parent() ) + reponse=(stx.returnArg(0)).toInt(&ok); + if (ok) // if txt to int conversion is ok { - parent=parent->parent(); - // find next - tempNextItem=parent->nextSibling(); - // find oncle - if (tempNextItem) return tempNextItem; + switch (reponse) + { + case auth_ack: // authentication ok + debugQt("["+QString::number(reponse)+"] auth_ack"); + slot_timer(); // first time + timerSmbRequest.start (interval*1000); + break; + case end: // end socket by server + debugQt("["+QString::number(reponse)+"] end"); + sslSocket.close(); + deleteLater(); + break; + case smb_data: // smbstatus datas + debugQt("["+QString::number(reponse)+"] smb_data"); + ListSmbstatus.append(stx.returnArg(1)); + break; + case end_smb_rq: // smbstatus command is finished + debugQt("["+QString::number(reponse)+"] end_smb_rq"); + AnalysisSmbstatus(ListSmbstatus); // interpret smbstatus reply + break; + case error_auth: // authentication error + debugQt("["+QString::number(reponse)+"] error_auth"); + // socketclient->closeConnection(); (don't close here, server will do it) + QTimer::singleShot(200,this,SLOT(errorAuth())); // don't block loop + break; + case error_command: // Command error ( the last command is not recognized) + debugQt("["+QString::number(reponse)+"] error_command"); + break; + case echo_request: // echo request from server + debugQt("["+QString::number(reponse)+"] echo_request"); + sendToServer(echo_reply); + break; + case echo_reply: // echo reply from server, reset echo timer + debugQt("["+QString::number(reponse)+"] echo_reply"); + // ignore it (for compatibility with qtsmbstatus =< 2.0.6) + break; + case error_obj: // Server wants to open a dialogbox to visualize an error + debugQt("["+QString::number(reponse)+"] error_obj"); + // QMessageBox::warning ( 0, "QtSmbstatus",stx.returnArg(1)); + msgError->showMessage ( stx.returnArg(1) ) ; + break; + case server_info: // informations from server + debugQt("["+QString::number(reponse)+"] server_info"); + infoserver(line); + break; + case whoiam: + debugQt("["+QString::number(reponse)+"] whoiam"); + break; + default: // not implemented + debugQt("["+QString::number(reponse)+"] not implemented"); + sendToServer(error_command,"["+QString::number(reponse)+"] not implemented"); + break; + } + } + else + { //conversion error string->int + debugQt("Command error !"); } - // nothing found } - } - // nothing found , return first child of listview - return listView->firstChild (); -} - -/** - Search item. - \param typeOfSearch see T_Item - \param str string to search - \param direction see T_direction - \sa T_Item T_direction selectItem -*/ -void main_windows::search(T_Item typeOfSearch,const QString & str,T_Direction direction) -{ - debugQt("main_windows::search()"); - if (str.isEmpty()) return; - searchNextAction->setEnabled ( true ); - currentSearchStr=str; - currentSearchItem=typeOfSearch; - service * currentItemService; - user * currentItemUser; - machine * currentItemMachine; - Q3PtrList list; - bool noText=false; - - if (direction==to_next) - { - // check if exist - FindItem=listView->currentItem(); - if (FindItem) - { - FindItem=nextItem(FindItem); // find next - if (!FindItem) return; + else + { // core_syntax sends an error + debugQt("Command error !"); } - else direction=to_first; // go to begin } +} - if (direction==to_first) - { - FindItem=dynamic_cast(listView->firstChild()); - if (!FindItem) return; // nothing - } - while (FindItem) - { - listView->setCurrentItem(FindItem); - // find string char - FindItem=listView->findItem ( str, 0,Q3ListView::Contains ); +/** + send message to an user + \sa MainWindows::slotSendMessage MainWindows::slotSendMessageAllUsers + */ +void main_windows::sendMessage(const QString & machine,const QString & message) { + debugQt("main_windows::sendMessage()"); + sendToServer(send_msg,machine,message); +} - if (!FindItem) noText=true; - if (!list.containsRef (FindItem)) - list.append(FindItem); - else noText=true; - if (noText==true) - { - listView->clearSelection (); - statusBar ()->showMessage ( tr("Text not found."), 2000 ); - QApplication::beep (); - searchNextAction->setEnabled ( false ); - return; - } - - switch (typeOfSearch) - { - case T_All: - selectItem(FindItem); - return; break; - case T_Machine: - currentItemMachine= dynamic_cast(FindItem); - if (currentItemMachine) - { - selectItem(currentItemMachine); - return; - } - break; - case T_User: - currentItemUser= dynamic_cast(FindItem); - if (currentItemUser) - { - selectItem(currentItemUser); - return; - } - break; - case T_Share: - currentItemService= dynamic_cast(FindItem); - if (currentItemService) - { - // if search share - if (currentItemService->TypeOfService==service::Tshare) - { - selectItem(currentItemService); - return; - } - } - break; - case T_File: - currentItemService= dynamic_cast(FindItem); - if (currentItemService) - { - // if search file - if (currentItemService->TypeOfService==service::Tlockedfile) - { - selectItem(currentItemService); - return; - } - } - break; - default: // nothing - return; break; - } - FindItem=nextItem(FindItem); // find next - } +/** + disconnect an user + \sa MainWindows::slotDisconnectUser + */ +void main_windows::disconnectUser(const QString & pid,const QString & user) { + debugQt("main_windows::disconnectUser()"); + sendToServer(kill_user,pid,user); } - /** - Info CIFS/SMB for log and balloon messages -*/ -void main_windows::InfoSMB() + Configure qtsmbstatus client (open form) + \sa configure_windows + */ +void main_windows::on_configureAction_triggered() { - debugQt("main_windows::InfoSMB()"); - QString user; - QString opened; - QString machine; - short unsigned int type_message=0; - QString message; - int occurence=0; - int nb_occurences=3; // number of occurences on "balloon messages" - server * item =dynamic_cast(listView->firstChild ()); - if (item) - { - while (!item->listMessages.isEmpty()) - { - occurence++; - if (occurence>1 && occurence<=nb_occurences) message+="\n"; // LineFeed - user=item->listMessages.first().user; - opened=item->listMessages.first().opened; - // limit size of text - if (opened.size()>60) opened=opened.left(7)+"..."+opened.right(50); - machine=item->listMessages.first().machine; - type_message=item->listMessages.first().type_message; - //view 3 occurences max - if (type_message==0 && occurence<=nb_occurences) message+=tr("User %1 has opened share %2 (%3)").arg(user).arg(opened).arg(machine); - if (type_message==1 && occurence<=nb_occurences) message+=tr("User %1 has opened file %2 (%3)").arg(user).arg(opened).arg(machine); - // log - if (log_activity) emit (refreshviewlog(item->listMessages.first())); - item->listMessages.removeFirst (); - } - if (occurence>nb_occurences) message+="\n ..."; // hide others datas - // refresh filter - if (occurence>0) logform->on_filterEdit_textChanged(); - // erase old log - logform->eraseOldLog(); - // just see 1 "balloon" (3 last occurences) if show_messages=true - if (!message.isEmpty() && show_messages && !firstTime) trayicon->showMessage ( tr("CIFS/SMB activities"), message, QSystemTrayIcon::Information ) ; - } - firstTime=false; + debugQt("main_windows::on_configureAction_triggered()"); + configure_windows * configurate = new configure_windows(this); + connect (configurate,SIGNAL(configuration_changed()),this, SLOT(configuration_changed())); + configurate->exec(); } - diff -Nru qtsmbstatus-2.0.4/client/mainwindows.cpp qtsmbstatus-2.1.1/client/mainwindows.cpp --- qtsmbstatus-2.0.4/client/mainwindows.cpp 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/client/mainwindows.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,748 @@ +/*************************************************************************** + * Copyright (C) 2008 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + + +#include +#include "mainwindows.h" + +extern void writeToConsole(const QString & message); +extern QList QTreeWidgetItemList; + +//default value +//! Interval, in seconds, between every request to %smbstatus +int interval=10; +//! View hidden shares (share$) +bool view_hidden_shares = true; +//! Iconize QtSmbstatus on system tray +bool iconize=true; +//! show status notification messages (balloon messages) +bool show_messages=true; +//! log SMB/CIFS activities +bool log_activity=false; +//! limit log (number of days) +int limitLog=1; +//! check for new release of qtsmbstatus +bool check_new_release=true; + + +/** + \class MyApplication + \brief reimplementing QApplication::commitData() + \date 2007-07-26 + \version 1.0 + \author Daniel Rocher + */ +MyApplication::MyApplication(int & argc, char ** argv ) : QApplication(argc,argv) { } + +/** + reimplementing QApplication::commitData(). + This function deals with session management. It is invoked when the QSessionManager wants the application to commit all its data. + */ +void MyApplication::commitData(QSessionManager& manager) +{ + debugQt("MyApplication::commitData()"); + if (manager.allowsInteraction()) + { + manager.release(); + emit quitMyApp(); + } +} + + +/** + \class MainWindows + \brief Main Window for QtSmbstatus Client et Light + \date 2008-11-16 + \version 2.1 + \author Daniel Rocher + */ +MainWindows::MainWindows(QWidget *parent) : QMainWindow(parent) +{ + debugQt("MainWindows::MainWindows()"); + setupUi(this); + if (check_new_release) checkForUpdateOfQtSmbstatus(); + + msgError=new QErrorMessage(this); // an error message display dialog + + trayicon =new QSystemTrayIcon(QIcon (":/icons/qtsmbstatus.png"),this); + menuApp=new QMenu( this ); + viewlog_action=menuApp->addAction ( tr("Show CIFS/SMB activities") ); + connect(viewlog_action,SIGNAL( triggered ()),this , SLOT(on_action_View_log_triggered())); + configure_action= menuApp->addAction ( QIcon (":/icons/configure.png"),tr("Configure") ); + connect(configure_action,SIGNAL( triggered ()),this , SLOT(on_configureAction_triggered())); + menuApp->addSeparator (); + restore_action=menuApp->addAction (tr("Minimize") ); + connect(restore_action,SIGNAL( triggered ()),this , SLOT(restore_minimize())); + QAction * exit_action=menuApp->addAction ( QIcon (":/icons/exit.png"),tr("Quit") ); + connect(exit_action,SIGNAL( triggered ()),this , SLOT(beforeQuit () )); + connect(action_Quit,SIGNAL( triggered ()),this , SLOT(beforeQuit () )); + + trayicon->setContextMenu ( menuApp ); + connect(trayicon,SIGNAL(activated ( QSystemTrayIcon::ActivationReason ) ),this,SLOT(trayicon_activated(QSystemTrayIcon::ActivationReason))); + restoreWindowSize(); + + // create statusBar + statusBar()->showMessage (""); //status bar + + smbstatus_rq_started=false; + + // treeWidget + treeWidget->setSortingEnabled ( true ); + treeWidget->setRootIsDecorated ( false ); + treeWidget->setHeaderLabel ( ""); + treeWidget->setContextMenuPolicy (Qt::CustomContextMenu ); + // create popup menu + menuPopup = new QMenu( treeWidget ); + connect(treeWidget, SIGNAL( customContextMenuRequested ( const QPoint & ) ), this, SLOT( slotPopupMenu( const QPoint & ) ) ); + + // first time + configuration_changed(); + + // form view CIFS/SMB activities + logform = new LogForm(this); + connect(this ,SIGNAL(refreshviewlog(const type_message &)), logform,SLOT(append(const type_message &))); + + connect(&timerinfoSmb, SIGNAL(timeout()), this, SLOT(InfoSMB())); + connect(&timerSmbRequest, SIGNAL(timeout()), this, SLOT(slot_timer())); +} + +MainWindows::~MainWindows() +{ + debugQt("MainWindows::~MainWindows()"); +} + +/** + Before quit qtsmbstatus + */ +void MainWindows::beforeQuit() +{ + debugQt("MainWindows::beforeQuit()"); + trayicon->setVisible(false); + this->close(); +} + + + +/** + When %user restore or minimize windows + */ +void MainWindows::restore_minimize() +{ + debugQt("MainWindows::restore_minimize()"); + if ((this->isMinimized ()) || !(this->isVisible())) + { + this->setVisible(true); + this->showNormal (); + } + else + { + this->setVisible(false); + logform->setVisible(false); + } +} + +/** + Connected to signal when the %user activates the system tray icon + \param reason describes the reason the system tray was activated + \sa restore_minimize + */ +void MainWindows::trayicon_activated(QSystemTrayIcon::ActivationReason reason) +{ + debugQt("MainWindows::trayicon_activated()"); + if ((this->isMinimized ()) || !(this->isVisible())) + restore_action->setText(tr("Restore")); + else + restore_action->setText(tr("Minimize")); + + if (reason == QSystemTrayIcon::Trigger) + restore_minimize(); +} + +/** + restore window size + \sa saveWindowSize + + On startup, restore windows size. + */ +void MainWindows::restoreWindowSize() +{ + debugQt("MainWindows::restoreWindowSize()"); + QSettings settings; + settings.beginGroup("/MainWindow"); + settings.beginGroup("/Geometry"); + QRect rec= this->geometry (); + int left=settings.value( "left",20 ).toInt(); + int top=settings.value( "top", 20 ).toInt(); + int width=settings.value( "width",300 ).toInt(); + int height=settings.value( "height", 600 ).toInt(); + settings.endGroup(); + settings.endGroup(); + this->setGeometry(QRect( left, top, width, height )); +} + +/** + save window size + \sa restoreWindowSize + + Before quit, save window size + */ +void MainWindows::saveWindowSize() +{ + debugQt("MainWindows::saveWindowSize()"); + QSettings settings; + settings.beginGroup("/MainWindow"); + settings.beginGroup("/Geometry"); + QRect rec= this->geometry (); + settings.setValue( "left", rec.left () ); + settings.setValue( "top", rec.top () ); + settings.setValue( "width", rec.width () ); + settings.setValue( "height", rec.height () ); + settings.endGroup(); + settings.endGroup(); +} + + +/** + When configuration changed + \sa configure_windows + */ +void MainWindows::configuration_changed() +{ + debugQt("MainWindows::configuration_changed()"); + if (!iconize) this->setVisible(true); + action_View_log->setEnabled(log_activity); + viewlog_action->setEnabled(log_activity); + trayicon->setVisible(iconize); + timerSmbRequest.setInterval(interval*1000); +} + + + +/** + menu Help/helpAbout + */ +void MainWindows::helpAbout() +{ + QMessageBox::about( this, "QtSmbstatus","QtSmbstatus : "+web_qtsmbstatus+"
Version: "+version_qtsmbstatus+"
"+date_qtsmbstatus+"
" + "Developer : "+auteur_qtsmbstatus+" "+mail_qtsmbstatus+"


" + ""+tr("Thanks to:")+"
" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "
Polish translation Krzysztof Bzowski sh4dow4@gmail.com
Pawel Dyda
Spanish translation Mauro
Italian translation Naldini Paolo
German translation Alex Djekic
Hungarian translation Szenogradi Norbert Peter sevoir75@gmail.com
Russian and Ukrainian translation Motsyo Gennadi drool@altlinux.ru
Swedish translation Zirro
Brazilian Portuguese translation Rafael Porto Rodrigues rafporto@gmail.com
Dutch translation Robert Wubs wubsieonline@gmail.com
RPM packages for FC3 CG (cyberkoa)
Second reading Eric Bresson eric.public@wanadoo.fr


"+ + tr("This program is licensed to you under the terms of the GNU General Public License version 2")); +} + +/** + menu Help/helpAboutQt + */ +void MainWindows::helpAboutQt() +{ + QMessageBox::aboutQt( this, "Qt Application" ); +} + + +/** + View log + \sa LogForm + */ +void MainWindows::on_action_View_log_triggered () +{ + debugQt("MainWindows::on_action_View_log_triggered ()"); + logform->show(); +} + + +/** + Find items + \sa search NextSlot + */ +void MainWindows::AllSearchSlot() +{ + debugQt("MainWindows::AllSearchSlot()"); + bool ok; + currentIndexOfListItem=0; + QString txt = QInputDialog::getText(this,"Search", tr("Find text")+":", QLineEdit::Normal,QString::null, &ok ); + if ( ok && !txt.isEmpty() ) { + SearchTxt=txt; + search(); + } +} + + +/** + Find next. + \sa AllSearchSlot + */ +void MainWindows::NextSlot() +{ + debugQt("MainWindows::NextSlot()"); + search(to_next); +} + + +/** + Select item + \param item pointer on QListViewItem + \sa NextSlot search + */ +void MainWindows::selectItem(QTreeWidgetItem *item) +{ + debugQt("MainWindows::selectItem()"); + treeWidget->setCurrentItem(item); +} + + +/** + Search item. + \param direction + \sa T_Direction selectItem + */ +void MainWindows::search(T_Direction direction) +{ + debugQt("MainWindows::search()"); + + QList listItemFound=treeWidget->findItems (SearchTxt, Qt::MatchContains | Qt::MatchRecursive); + + if (direction==to_next) + currentIndexOfListItem++; + + if (direction==to_first || currentIndexOfListItem>=listItemFound.size()) + currentIndexOfListItem=0; + + if (listItemFound.size()==0) + { + treeWidget->clearSelection (); + statusBar ()->showMessage ( tr("Text not found."), 2000 ); + QApplication::beep (); + searchNextAction->setEnabled ( false ); + } else { + QTreeWidgetItem *FindItem=listItemFound.at(currentIndexOfListItem); + selectItem(FindItem); + searchNextAction->setEnabled ( true ); + } +} + + +/** + Info CIFS/SMB for log and balloon messages + */ +void MainWindows::InfoSMB() +{ + debugQt("MainWindows::InfoSMB()"); + QString user; + QString opened; + QString machine; + short unsigned int type_message=0; + QString message; + int occurence=0; + int nb_occurences=3; // number of occurences on "balloon messages" + server * item =dynamic_cast(treeWidget->topLevelItem(0)); + if (item) + { + while (!item->listMessages.isEmpty()) + { + occurence++; + if (occurence>1 && occurence<=nb_occurences) message+="\n"; // LineFeed + user=item->listMessages.first().user; + opened=item->listMessages.first().opened; + // limit size of text + if (opened.size()>60) opened=opened.left(7)+"..."+opened.right(50); + machine=item->listMessages.first().machine; + type_message=item->listMessages.first().type_message; + //view 3 occurences max + if (type_message==0 && occurence<=nb_occurences) message+=tr("User %1 has opened share %2 (%3)").arg(user).arg(opened).arg(machine); + if (type_message==1 && occurence<=nb_occurences) message+=tr("User %1 has opened file %2 (%3)").arg(user).arg(opened).arg(machine); + // log + if (log_activity) emit (refreshviewlog(item->listMessages.first())); + item->listMessages.removeFirst (); + } + if (occurence>nb_occurences) message+="\n ..."; // hide others datas + // refresh filter + if (occurence>0) logform->on_filterEdit_textChanged(); + // erase old log + logform->eraseOldLog(); + // just see 1 "balloon" (3 last occurences) if show_messages=true + if (!message.isEmpty() && show_messages && !firstTime) trayicon->showMessage ( tr("CIFS/SMB activities"), message, QSystemTrayIcon::Information ) ; + } + firstTime=false; +} + + +/** + Interpret %smbstatus reply. + \param listSmbstatus a QStringList + \sa smbstatus + */ +void MainWindows::AnalysisSmbstatus(const QStringList & listSmbstatus) +{ + debugQt("MainWindows::AnalysisSmbstatus()"); + // mark items of listview first + item_server->mark_childs(); + smbstatus * InstanceSmbstatus = new smbstatus(listSmbstatus,this); + + // InstanceSmbstatus sends samba version + connect (InstanceSmbstatus,SIGNAL(sambaVersion (const QString &)),this,SLOT(setSambaVersion (const QString &))); + // InstanceSmbstatus has found a share + connect (InstanceSmbstatus,SIGNAL(add_share(const QString &,const QString &,const QString &)),this,SLOT(add_share(const QString &,const QString &,const QString &))); + // InstanceSmbstatus has found an user + connect (InstanceSmbstatus,SIGNAL(add_user (const QString &,const QString &,const QString &,const QString &,const QString &)),this,SLOT(add_user (const QString &,const QString &,const QString &,const QString &,const QString &))); + // InstanceSmbstatus has found a file opened (locked file) + connect (InstanceSmbstatus,SIGNAL(add_lockedfile(const QString &,const QString &,const QString &,const QString &,const QString &,const QString &)),this,SLOT(add_lockedfile(const QString &,const QString &,const QString &,const QString &,const QString &,const QString &))); + // InstanceSmbstatus has finished his work + connect (InstanceSmbstatus,SIGNAL(destroyed ()),this,SLOT(AnalysisSmbDestroyed())); + // Start analysis + InstanceSmbstatus->RQ_smbstatus(); +} + +/** + InstanceSmbstatus has finished his work + \sa smbstatus + */ +void MainWindows::AnalysisSmbDestroyed () +{ + debugQt("MainWindows::AnalysisSmbDestroyed ()"); + item_server->refresh_childs(); // erase items obsoleted + smbstatus_rq_started=false; +} + + +/** + InstanceSmbstatus sends samba version. + \param version_samba samba version + \sa smbstatus + */ +void MainWindows::setSambaVersion (const QString & version_samba) +{ + debugQt("MainWindows::setSambaVersion ()"); + item_server->setSambaVersion(version_samba); +} + +/** + InstanceSmbstatus has found an %user + \param strPid PID + \param strUser User name + \param strGroup Group name + \param strMachineName Machine name + \param strMachineIP IP address + \sa smbstatus + **/ +void MainWindows::add_user (const QString & strPid,const QString & strUser,const QString & strGroup,const QString & strMachineName,const QString & strMachineIP) +{ + debugQt("MainWindows::add_user ()"); + item_server->add_user(strPid,strUser,strGroup,strMachineName,strMachineIP); +} + +/** + InstanceSmbstatus has found a %share + \param strPid PID + \param strShare Share name + \param strConnected date + \sa smbstatus + */ +void MainWindows::add_share(const QString & strPid ,const QString & strShare,const QString & strConnected) +{ + debugQt("MainWindows::add_share ()"); + // if hidden shares + if (!view_hidden_shares && (strShare.indexOf(QRegExp("\\$$"))!=-1)) return; + item_server->add_share(strPid,strShare,strConnected); +} + +/** + InstanceSmbstatus has found a file opened (locked file) + \param strPid PID + \param strName File name + \param strMode Mode + \param strRW RW + \param strOplock Oplock + \param strDateOpen date + \sa smbstatus + */ +void MainWindows::add_lockedfile(const QString & strPid,const QString & strName,const QString & strMode,const QString & strRW,const QString & strOplock,const QString & strDateOpen) +{ + debugQt("MainWindows::add_lockedfile ()"); + item_server->add_lockedfile(strPid,strName,strMode,strRW,strOplock,strDateOpen); + +} + + + +/** + send out messages (popupwindows) to all users + \sa slotPopupMenu + */ +void MainWindows::slotSendMessageAllUsers() { + machine* Item; + bool ok; + QString message = QInputDialog::getText(this, + "QtSmbstatus", tr("Message to send")+":", QLineEdit::Normal, + QString::null, &ok); + + if ( !ok || message.isEmpty() ) return; + + for (int i=0; i < item_server->childCount () ; ++i ) + { + Item= dynamic_cast(item_server->child (i) ); + if (!Item) break; + // if object is dead + if (!QTreeWidgetItemList.contains(Item)) break; + sendMessage(Item->machine_name,message); + } +} + +/** + send out messages (popupwindows) to one %user + \sa slotPopupMenu + */ +void MainWindows::slotSendMessage() { + bool ok; + // if object is dead + if (!QTreeWidgetItemList.contains(currentPopupMenuItem)) return; + + machine* Item=dynamic_cast(currentPopupMenuItem); + if (!Item) return; + + QString message = QInputDialog::getText(this, + "QtSmbstatus", tr("Message to send to %1:").arg(Item->machine_name), QLineEdit::Normal, + QString::null, &ok); + if ( ok && !message.isEmpty() ) + { + // user entered something and pressed OK + // if object is dead + if (!QTreeWidgetItemList.contains(currentPopupMenuItem)) return; + sendMessage(Item->machine_name,message); + } +} + +/** + Disconnect an %user + \sa slotPopupMenu + */ +void MainWindows::slotDisconnectUser() { + + QString username; + QString pid; + // if object is dead + if (!QTreeWidgetItemList.contains(currentPopupMenuItem)) return; + + user* Item=dynamic_cast(currentPopupMenuItem); + if (!Item) return; + // get PID + pid=Item->pid; + + // get user name + username=Item->username; + + if ( !QMessageBox::information(this,"QtSmbstatus", + tr("Do you really want to disconnect user %1 ?").arg(username), + tr("&Yes"), tr("&No"),QString::null, 1, 1 ) ) + { + // if object is dead + if (!QTreeWidgetItemList.contains(currentPopupMenuItem)) return; + disconnectUser(pid,username); + } +} + + + + +/** + popup menu + */ +void MainWindows::slotPopupMenu( const QPoint & point ) +{ + currentPopupMenuItem = treeWidget->itemAt ( point ); + // if object is dead + if (!QTreeWidgetItemList.contains(currentPopupMenuItem)) return; + + if( currentPopupMenuItem ) + { + // create popup menu + menuPopup->clear(); + + if (currentPopupMenuItem==item_server) // if a server item + { + menuPopup->addAction ( tr( "Properties"),this,SLOT(InfoServer() ) ); + QAction * action=menuPopup->addAction ( tr( "Send out message to all users"),this,SLOT(slotSendMessageAllUsers() ) ); + action->setEnabled(permitSendMsg); + menuPopup->exec( QCursor::pos() ); + return; + } + if (currentPopupMenuItem->parent()==item_server) // if a machine item + { + machine * myItem=dynamic_cast(currentPopupMenuItem); + if (!myItem) return; + menuPopup->addAction ( tr( "Properties"),this,SLOT(InfoMachine() ) ); + QAction * action=menuPopup->addAction ( tr( "Send out message to")+ " " + myItem->machine_name,this,SLOT(slotSendMessage() ) ); + action->setEnabled(permitSendMsg); // if client can send popup messages + menuPopup->exec( QCursor::pos() ); + return; + } + if (currentPopupMenuItem->parent()->parent()==item_server) // if an user item + { + user * myItem=dynamic_cast(currentPopupMenuItem); + if (!myItem) return; + menuPopup->addAction ( tr( "Properties"),this,SLOT(InfoUser() ) ); + QAction * action=menuPopup->addAction ( tr( "Disconnect user")+ " " + myItem->username,this,SLOT(slotDisconnectUser() ) ); + action->setEnabled(permitDisconnectUser); // if client can disconnect an user + menuPopup->exec( QCursor::pos() ); + return; + } + // it's a locked file or share + menuPopup->addAction ( tr( "Properties"),this,SLOT(InfoService() ) ); + menuPopup->exec( QCursor::pos() ); + } +} + +/** + View samba version + \sa slotPopupMenu + \sa server::ViewInfoServer + */ +void MainWindows::InfoServer() +{ + // if object is dead + if (!QTreeWidgetItemList.contains(currentPopupMenuItem)) return; + QString message=item_server->ViewInfoServer(); + QMessageBox::information(this, "QtSmbstatus",message,QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton); +} + +/** + View %user informations + \sa slotPopupMenu + \sa server::ViewInfoUser + */ +void MainWindows::InfoUser() +{ + // if object is dead + if (!QTreeWidgetItemList.contains(currentPopupMenuItem)) return; + QString message=item_server->ViewInfoUser(currentPopupMenuItem); + QMessageBox::information(this, "QtSmbstatus",message,QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton); +} + +/** + View %service informations (locked file or %share) + \sa slotPopupMenu + \sa server::ViewInfoService + */ +void MainWindows::InfoService() +{ + // if object is dead + if (!QTreeWidgetItemList.contains(currentPopupMenuItem)) return; + QString message=item_server->ViewInfoService(currentPopupMenuItem); + QMessageBox::information(this, "QtSmbstatus",message,QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton); +} + +/** + View %machine informations + \sa slotPopupMenu + \sa server::ViewInfoMachine + */ +void MainWindows::InfoMachine() +{ + // if object is dead + if (!QTreeWidgetItemList.contains(currentPopupMenuItem)) return; + QString message=item_server->ViewInfoMachine(currentPopupMenuItem); + QMessageBox::information(this, "QtSmbstatus",message,QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton); +} + + +/** + Check for update of qtsmbstatus + \sa requestHtmlFinished + */ +void MainWindows::checkForUpdateOfQtSmbstatus () { + debugQt("MainWindows::checkForUpdateOfQtSmbstatus ()"); + QSettings settings; + settings.beginGroup("/Configuration"); + QDateTime dateTimeForlastCheck=settings.value("dateTimeForlastCheck").toDateTime (); + QString uuid=settings.value("uuid").toString().remove(QRegExp("[{}]")); + settings.endGroup(); + if (dateTimeForlastCheck.isValid()) { + if (dateTimeForlastCheck>QDateTime::currentDateTime().addDays(-1)) + return; // wait 1 day + } + http = new QHttp(this); + connect(http, SIGNAL(done(bool)), this, SLOT(requestHtmlFinished ( bool ))); + http->setHost("qtsmbstatus.free.fr"); + http->get("/last_version.php?uuid="+uuid+"&app="+qApp->applicationName ()); +} + +/** + request HTML finished + \sa checkForUpdateOfQtSmbstatus + */ +void MainWindows::requestHtmlFinished ( bool error ) { + debugQt("MainWindows::requestHtmlFinished ()"); + if (!error) { + bool ok; + uint available_release=QString(http->readAll()).simplified().toUInt (&ok); + if (ok) { + debugQt("Available release: "+QString::number(available_release)); + QSettings settings; + settings.beginGroup("/Configuration"); + uint last_known_release=settings.value("lastKnownRelease",int_qtsmbstatus_version).toUInt(); + settings.setValue("lastKnownRelease",available_release); + settings.setValue("dateTimeForlastCheck",QDateTime::currentDateTime()); + if (available_release>last_known_release) + { + debugQt("A new release is available :-)"); + // New version available + QDialog * dialog= new QDialog(this); + dialog->setAttribute(Qt::WA_DeleteOnClose); + QDialogButtonBox * dialogButton=new QDialogButtonBox ( QDialogButtonBox::Ok, Qt::Horizontal,dialog); + dialog->setWindowTitle ( tr("Update is available")); + QGridLayout *layout = new QGridLayout(dialog); + QLabel * label= new QLabel("

"+ + tr("A new release of %1 is available").arg("qtsmbstatus")+ + ".

"+ + tr("You can download it here: %1").arg("
"+web_qtsmbstatus)+ + "


",dialog); + label->setTextFormat (Qt::RichText); + label->setTextInteractionFlags (Qt::LinksAccessibleByMouse); + label->setOpenExternalLinks (true); + QLabel * labelPixmap= new QLabel(dialog); + labelPixmap->setPixmap(qApp->windowIcon().pixmap(QSize (32,32)) ); + layout->addWidget(labelPixmap, 0, 0, 5, 1); + layout->addWidget(label, 0, 1, 5, 1); + layout->addWidget(dialogButton, 6, 0, 1, 2, Qt::AlignHCenter); + dialog->setLayout(layout); + connect(dialogButton,SIGNAL(accepted ()),dialog,SLOT(accept())); + dialog->show(); + } else debugQt("No new release"); + settings.endGroup(); + } else writeToConsole("impossible to convert release number"); + } else writeToConsole("impossible to check for update"); + http->deleteLater(); +} + + + + + diff -Nru qtsmbstatus-2.0.4/client/main_windows.h qtsmbstatus-2.1.1/client/main_windows.h --- qtsmbstatus-2.0.4/client/main_windows.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/main_windows.h 2009-04-12 14:46:48.000000000 +0200 @@ -22,97 +22,62 @@ #ifndef MAIN_WINDOWS_H #define MAIN_WINDOWS_H -#include -#include -#include +#include -#include "ui_form_smbstatus.h" -#include "clientsocket.h" #include "login_windows.h" #include "configure_windows.h" -#include "log.h" +#include "mainwindows.h" -extern void debugQt(const QString & message); extern bool autoconnect; -extern QString version_qtsmbstatus; -extern QString date_qtsmbstatus; -extern QString mail_qtsmbstatus; -extern QString auteur_qtsmbstatus; -extern QString web_qtsmbstatus; -extern bool debug_qtsmbstatus; - -class MyApplication : public QApplication -{ - Q_OBJECT -public: - MyApplication (int & argc, char ** argv ); - virtual void commitData(QSessionManager& manager); -signals: - void quitMyApp(); -}; -class main_windows : public QMainWindow, public Ui::form_smbstatus { + +class main_windows : public MainWindows { Q_OBJECT public: main_windows(QWidget *parent=0); virtual ~main_windows(); -public slots: - void beforeQuit(); -signals: - void refreshviewlog(const type_message &); private slots: // Private slots - virtual void helpAbout(); - virtual void helpAboutQt(); - virtual void ConfigureSlot(); - virtual void MachineSearchSlot(); - virtual void UserSearchSlot(); - virtual void ShareSearchSlot(); - virtual void FileSearchSlot(); - virtual void AllSearchSlot(); - virtual void NextSlot(); - virtual void Slot_connect(); - virtual void socketconnected(); - virtual void socketclosed(); - virtual void SignalErrorAuth(); - void on_action_View_log_triggered (); - void trayicon_activated(QSystemTrayIcon::ActivationReason reason); - void restore_minimize(); - void configuration_changed(); - //! Info CIFS/SMB for log and balloon messages - void InfoSMB(); + virtual void slot_timer(); + virtual void on_pushButton_connect_clicked(); + virtual void sendMessage(const QString & machine,const QString & message); + virtual void disconnectUser(const QString & pid,const QString & user); + virtual void on_configureAction_triggered(); + void socketConnected(); + void socketClosed(); + void core(); + void error(QAbstractSocket::SocketError); + void SslErrors (const QList &); + void errorAuth(); private: // Private attributes - bool connected; - ClientSocket * clientsocket; - Q3ListViewItem * FindItem; - //! type of search (a machine, an user, ...) - enum T_Item{T_All,T_Machine,T_User,T_Share,T_File}; - //! direction of search - enum T_Direction {to_first,to_preview,to_next}; - QString currentSearchStr; - T_Item currentSearchItem; - QAction * configure_action; - QAction * restore_action; + QStringList ListSmbstatus; + QSslSocket sslSocket; QAction * connect_action; - QAction * viewlog_action; - QSystemTrayIcon * trayicon; - bool firstTime; - LogForm * logform; + /** + These enums describe connection state. + \sa setWidgetState socketState + */ + enum socket_state {UnconnectedState,ConnectingState,ConnectedState}; + /** + These enums describe protocol between %server and client. + \sa core_syntax + */ + enum command {auth_rq,auth_ack,end,kill_user,send_msg,smb_rq,smb_data,end_smb_rq,whoiam, + server_info,error_auth,error_command,error_obj,echo_request,echo_reply}; protected: virtual void closeEvent(QCloseEvent *e); private: // Private methods + void infoserver(const QString & text); + void setWidgetState(); + void Disconnect(); + void sendToServer(int cmd,const QString & inputArg1="",const QString & inputArg2=""); + short unsigned int socketState(); void writeHistoryFile(); void readHistoryFile(); void comboBox_valid(); void open_dialog_for_login(); - void search(T_Item typeOfSearch,const QString & str,T_Direction direction=to_first); - void selectItem(Q3ListViewItem *item); - QString getSearchStr(const QString & msg); - Q3ListViewItem * nextItem(Q3ListViewItem * item); - void restoreWindowSize(); - void saveWindowSize(); - }; #endif + diff -Nru qtsmbstatus-2.0.4/client/mainwindows.h qtsmbstatus-2.1.1/client/mainwindows.h --- qtsmbstatus-2.0.4/client/mainwindows.h 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/client/mainwindows.h 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,136 @@ +/*************************************************************************** + * Copyright (C) 2008 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + + + +#ifndef MAINWINDOWS_H +#define MAINWINDOWS_H + + +#include +#include +#include +#include +#include +#include +#include + +#include "build/ui/ui_form_smbstatus.h" +#include "log.h" +#include "server.h" +#include "smbstatus.h" +#include "../common/core_syntax.h" + +extern void debugQt(const QString & message); + +extern QString version_qtsmbstatus; +extern uint int_qtsmbstatus_version; +extern QString date_qtsmbstatus; +extern QString mail_qtsmbstatus; +extern QString auteur_qtsmbstatus; +extern QString web_qtsmbstatus; +extern bool debug_qtsmbstatus; + +class MyApplication : public QApplication +{ + Q_OBJECT +public: + MyApplication (int & argc, char ** argv ); + virtual void commitData(QSessionManager& manager); +signals: + void quitMyApp(); +}; + + +class MainWindows : public QMainWindow, public Ui::form_smbstatus { + Q_OBJECT +public: + MainWindows(QWidget *parent=0); + virtual ~MainWindows(); +signals: + void refreshviewlog(const type_message &); +public slots: + void beforeQuit(); +protected slots: + virtual void slot_timer() = 0; + virtual void sendMessage(const QString & machine,const QString & message) = 0; + virtual void disconnectUser(const QString & pid,const QString & user) = 0; + virtual void on_configureAction_triggered()=0; + virtual void on_pushButton_connect_clicked() {printf ("not implemented here.\n");} + void AnalysisSmbstatus(const QStringList & listSmbstatus); +private slots: // Private slots + void helpAbout(); + void helpAboutQt(); + void on_action_View_log_triggered (); + void AllSearchSlot(); + void NextSlot(); + void requestHtmlFinished ( bool error ); + void trayicon_activated(QSystemTrayIcon::ActivationReason reason); + void restore_minimize(); + void configuration_changed(); + void setSambaVersion (const QString &); + void add_user (const QString &,const QString &,const QString &,const QString &,const QString &); + void add_share(const QString &,const QString &,const QString &); + void add_lockedfile(const QString &,const QString &,const QString &,const QString &,const QString &,const QString &); + void AnalysisSmbDestroyed(); + void InfoSMB(); + void InfoServer(); + void InfoUser(); + void InfoService(); + void InfoMachine(); + void slotPopupMenu(const QPoint &); + void slotSendMessage(); + void slotSendMessageAllUsers(); + void slotDisconnectUser(); +protected: // protected attributes + QMenu * menuApp; + bool permitDisconnectUser; + bool permitSendMsg; + server * item_server; + QHttp * http; + QErrorMessage * msgError; + QSystemTrayIcon * trayicon; + QAction * configure_action; + QAction * restore_action; + QAction * viewlog_action; + QMenu* menuPopup; + QTreeWidgetItem* currentPopupMenuItem; + /** + direction of search + \sa search + */ + enum T_Direction {to_first,to_preview,to_next}; + QString SearchTxt; + int currentIndexOfListItem; + QTimer timerSmbRequest; + QTimer timerinfoSmb; + bool smbstatus_rq_started; + bool firstTime; + LogForm * logform; +protected: // Protected methods + void restoreWindowSize(); + void saveWindowSize(); + void search(T_Direction direction=to_first); + void selectItem(QTreeWidgetItem *item); + void checkForUpdateOfQtSmbstatus (); +}; + +#endif + Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/client/qtsmbstatus.7.gz et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/client/qtsmbstatus.7.gz sont différents. diff -Nru qtsmbstatus-2.0.4/client/server.cpp qtsmbstatus-2.1.1/client/server.cpp --- qtsmbstatus-2.0.4/client/server.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/server.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -23,8 +23,8 @@ /** \class server \brief Class of server items - \date 2007-07-05 - \version 1.1 + \date 2008-11-08 + \version 2.0 \author Daniel Rocher \sa machine user service @@ -35,20 +35,27 @@ #include "server.h" +// know instancies +QList QTreeWidgetItemList; + +extern void debugQt(const QString & message); + int server::compteur_objet=0; -server::server(Q3ListView * parent) : Q3ListViewItem(parent) +server::server(QTreeWidget * parent) : QTreeWidgetItem(parent) { debugQt("Object server : "+QString::number(++compteur_objet)); - Q3ListViewItemList.append(this); + QTreeWidgetItemList.append(this); SambaVersion=""; - this->setPixmap( 0, QPixmap(":/icons/server.png") ); //icon - this->setOpen( TRUE ); // Sets item to be open + QIcon icon; + icon.addPixmap(QPixmap(":/icons/server.png"), QIcon::Normal, QIcon::Off); + this->setIcon( 0, icon ); //icon + this->setExpanded ( true ); // Sets item to be open } server::~server() { debugQt("Object server : "+QString::number(--compteur_objet)); - Q3ListViewItemList.removeAll (this); + QTreeWidgetItemList.removeAll (this); } /** @@ -58,24 +65,22 @@ void server::refresh_childs() { debugQt("server::refresh_childs()"); - machine * item_temp; - machine * Child= dynamic_cast(this->firstChild()); - while ( Child ) + for (int i=0; i < this->childCount (); ++i ) { + machine * Child= dynamic_cast(this->child (i) ); + if (!Child) break; + // if child doesn't exist any more if (!Child->mark) { - // delete child - item_temp= Child; - Child = dynamic_cast(Child->nextSibling()); // next - delete item_temp; // delete item and his children + delete Child; // delete item and his children + --i; continue; } // if child exist Child->refresh_childs(); - Child = dynamic_cast(Child->nextSibling()); } - this->setOpen( TRUE ); // Sets item to be open + this->setExpanded ( true ); // Sets item to be open } /** @@ -87,12 +92,12 @@ void server::mark_childs() { debugQt("server::mark_childs()"); - machine * Child= dynamic_cast(this->firstChild()); - while ( Child ) + for (int i=0; i < this->childCount (); ++i ) { + machine * Child= dynamic_cast(this->child (i) ); + if (!Child) break; Child->mark=false; Child->mark_childs(); - Child = dynamic_cast(Child->nextSibling()); } } @@ -102,10 +107,11 @@ */ void server::add_user(const QString & PID,const QString & Name,const QString & Group,const QString & MachineName,const QString & MachineIP) { - machine * Child= dynamic_cast(this->firstChild()); bool exist=false; - while ( Child ) + for (int i=0; i < this->childCount (); ++i ) { + machine * Child= dynamic_cast(this->child (i) ); + if (!Child) break; // if child exist if (Child->machine_name==MachineName) { @@ -115,7 +121,6 @@ Child->append_user(PID,Name,Group); return; // exit loop } - Child = dynamic_cast(Child->nextSibling()); } // if not exist add machine if (!exist) new machine (this,PID,Name,Group,MachineName,MachineIP); @@ -127,12 +132,15 @@ **/ void server::add_share(const QString & PID,const QString & Share,const QString & DateOpen) { - machine * Child= dynamic_cast(this->firstChild()); - while ( Child ) + for (int i=0; i < this->childCount (); ++i ) { - user * grandChildren = dynamic_cast(Child->firstChild()); - while (grandChildren) + machine * Child= dynamic_cast(this->child (i) ); + if (!Child) break; + for (int j=0; j < Child->childCount (); ++j ) { + user * grandChildren = dynamic_cast(Child->child (j)); + if (!grandChildren) break; + // if child exist if (grandChildren->pid==PID) { @@ -151,9 +159,7 @@ } return; // exit loop } - grandChildren = dynamic_cast(grandChildren->nextSibling()); } - Child = dynamic_cast(Child->nextSibling()); } } @@ -163,12 +169,14 @@ **/ void server::add_lockedfile(const QString & PID,const QString & File,const QString & DenyMode,const QString & RW,const QString & Oplock,const QString & DateOpen) { - machine * Child= dynamic_cast(this->firstChild()); - while ( Child ) + for (int i=0; i < this->childCount (); ++i ) { - user * grandChildren = dynamic_cast(Child->firstChild()); - while (grandChildren) + machine * Child= dynamic_cast(this->child (i) ); + if (!Child) break; + for (int j=0; j < Child->childCount (); ++j ) { + user * grandChildren = dynamic_cast(Child->child (j)); + if (!grandChildren) break; // if child exist if (grandChildren->pid==PID) { @@ -187,14 +195,12 @@ } return; // exit loop } - grandChildren = dynamic_cast(grandChildren->nextSibling()); } - Child = dynamic_cast(Child->nextSibling()); } } /** - Return server informations + \return %server informations \sa ClientSocket::InfoServer */ QString server::ViewInfoServer() @@ -204,10 +210,10 @@ } /** - Return user informations + \return %user informations \sa ClientSocket::InfoUser */ -QString server::ViewInfoUser(Q3ListViewItem* Item) +QString server::ViewInfoUser(QTreeWidgetItem* Item) { debugQt("server::ViewInfoUser()"); QString message; @@ -223,10 +229,10 @@ } /** - Return machine informations + \return %machine informations \sa ClientSocket::InfoMachine */ -QString server::ViewInfoMachine(Q3ListViewItem* Item) +QString server::ViewInfoMachine(QTreeWidgetItem* Item) { debugQt("server::ViewInfoMachine()"); QString message; @@ -241,11 +247,11 @@ } /** - Return service informations (locked file or share) + \return %service informations (locked file or share) \sa ClientSocket::InfoService \sa TypeService */ -QString server::ViewInfoService(Q3ListViewItem* Item) +QString server::ViewInfoService(QTreeWidgetItem* Item) { debugQt("server::ViewInfoService()"); QString message; @@ -276,7 +282,8 @@ } /** - Set samba version + set samba version + \param sambaversion samba version */ void server::setSambaVersion(const QString & sambaversion) { @@ -284,7 +291,7 @@ } /** - Return samba version + \return samba version */ QString server::getSambaVersion() { diff -Nru qtsmbstatus-2.0.4/client/server.h qtsmbstatus-2.1.1/client/server.h --- qtsmbstatus-2.0.4/client/server.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/server.h 2009-04-12 14:46:48.000000000 +0200 @@ -22,15 +22,10 @@ #define SERVER_H #include -#include -#include +#include #include "machine.h" - -extern void debugQt(const QString & message); -extern QList Q3ListViewItemList; - struct type_message { QString date; @@ -42,9 +37,9 @@ short unsigned int type_message; }; -class server : public Q3ListViewItem { +class server : public QTreeWidgetItem { public: - server(Q3ListView * parent); + server(QTreeWidget * parent); virtual ~server(); void refresh_childs(); void mark_childs(); @@ -54,9 +49,9 @@ void setSambaVersion (const QString &); QString getSambaVersion(); QString ViewInfoServer(); - QString ViewInfoUser(Q3ListViewItem* Item); - QString ViewInfoService(Q3ListViewItem* Item); - QString ViewInfoMachine(Q3ListViewItem* Item); + QString ViewInfoUser(QTreeWidgetItem* Item); + QString ViewInfoService(QTreeWidgetItem* Item); + QString ViewInfoMachine(QTreeWidgetItem* Item); static int compteur_objet; QList listMessages; private: //private attributes diff -Nru qtsmbstatus-2.0.4/client/service.cpp qtsmbstatus-2.1.1/client/service.cpp --- qtsmbstatus-2.0.4/client/service.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/service.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -22,30 +22,38 @@ /** \class service \brief Class of service items (share or locked file) - \date 2007-07-05 - \version 1.1 + \date 2008-11-08 + \version 2.0 \author Daniel Rocher \sa machine user server 'service' is child of 'user' */ +#include + #include "service.h" + +extern void debugQt(const QString & message); +extern QList QTreeWidgetItemList; + int service::compteur_objet=0; /** Constructor of share */ -service::service(Q3ListViewItem * parent,const QString & PID,const QString & Share,const QString & DateOpen ) : Q3ListViewItem(parent) { +service::service(QTreeWidgetItem * parent,const QString & PID,const QString & Share,const QString & DateOpen ) : QTreeWidgetItem(parent) { debugQt("Object service : "+QString::number(++compteur_objet)); - Q3ListViewItemList.append(this); + QTreeWidgetItemList.append(this); mark=true; pid=PID; share=Share; dateopen=DateOpen; this->setText ( 0, Share) ; - this->setPixmap( 0, QPixmap(":/icons/folder_open.png") ); //icon + QIcon icon; + icon.addPixmap(QPixmap(":/icons/folder_open.png"), QIcon::Normal, QIcon::Off); + this->setIcon( 0, icon ); //icon // define object type TypeOfService=Tshare; } @@ -53,9 +61,9 @@ /** Constructor of locked file */ -service::service(Q3ListViewItem * parent,const QString & PID,const QString & FileName,const QString & DenyMode,const QString & RW,const QString & Oplock,const QString & DateOpen): Q3ListViewItem(parent) { +service::service(QTreeWidgetItem * parent,const QString & PID,const QString & FileName,const QString & DenyMode,const QString & RW,const QString & Oplock,const QString & DateOpen): QTreeWidgetItem(parent) { debugQt("Object service : "+QString::number(++compteur_objet)); - Q3ListViewItemList.append(this); + QTreeWidgetItemList.append(this); mark=true; pid=PID; filename=FileName; @@ -64,13 +72,15 @@ oplock=Oplock; dateopen=DateOpen; this->setText ( 0, FileName) ; - this->setPixmap( 0, QPixmap(":/icons/document.png") ); //icon + QIcon icon; + icon.addPixmap(QPixmap(":/icons/document.png"), QIcon::Normal, QIcon::Off); + this->setIcon( 0, icon ); //icon // define object type TypeOfService=Tlockedfile; } service::~service(){ debugQt("Object service : "+QString::number(--compteur_objet)); - Q3ListViewItemList.removeAll (this); + QTreeWidgetItemList.removeAll (this); } diff -Nru qtsmbstatus-2.0.4/client/service.h qtsmbstatus-2.1.1/client/service.h --- qtsmbstatus-2.0.4/client/service.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/service.h 2009-04-12 14:46:48.000000000 +0200 @@ -22,16 +22,12 @@ #define SERVICE_H #include -#include +#include - -extern void debugQt(const QString & message); -extern QList Q3ListViewItemList; - -class service : public Q3ListViewItem { +class service : public QTreeWidgetItem { public: - service(Q3ListViewItem * parent,const QString & PID,const QString & Share,const QString & DateOpen); - service(Q3ListViewItem * parent,const QString & PID,const QString & FileName,const QString & DenyMode,const QString & RW,const QString & Oplock,const QString & DateOpen); + service(QTreeWidgetItem * parent,const QString & PID,const QString & Share,const QString & DateOpen); + service(QTreeWidgetItem * parent,const QString & PID,const QString & FileName,const QString & DenyMode,const QString & RW,const QString & Oplock,const QString & DateOpen); virtual ~service(); static int compteur_objet; bool mark; diff -Nru qtsmbstatus-2.0.4/client/smbstatus.cpp qtsmbstatus-2.1.1/client/smbstatus.cpp --- qtsmbstatus-2.0.4/client/smbstatus.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/smbstatus.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -20,15 +20,17 @@ /** \class smbstatus - \brief Analyse smbstatus reply - \date 2007-06-16 - \version 1.0 + \brief Parse %smbstatus reply + \date 2008-11-11 + \version 1.2 \author Daniel Rocher \sa LineCore - \param stringlist smbstatus reply + \param stringlist %smbstatus reply \param parent pointer to parent for this object */ +#include + #include "smbstatus.h" int smbstatus::compteur_objet=0; @@ -68,6 +70,7 @@ QString strMachineName; QString strMachineIP; QString strName; + int idName=0; QString strConnected; QString strDateOpen; @@ -77,18 +80,18 @@ for ( QStringList::Iterator it = ListSmbstatus.begin(); it != ListSmbstatus.end(); ++it ) { ligne = *it; // one line // ------------- get samba version -------------------- - if ((ligne.contains("samba version",false)) && (version_samba==unknown)) + if ((ligne.contains("samba version",Qt::CaseInsensitive)) && (version_samba==unknown)) { - ligne=ligne.simplifyWhiteSpace (); - if (ligne.contains("version 2.2",false) ) version_samba=version2; - if (ligne.contains("version 3.",false) ) version_samba=version3; - emit setSambaVersion(ligne); + ligne=ligne.simplified (); + if (ligne.contains("version 2.2",Qt::CaseInsensitive) ) version_samba=version2; + if (ligne.contains("version 3.",Qt::CaseInsensitive) ) version_samba=version3; + emit sambaVersion(ligne); } // inspired of ksmbstatus and updated for samba V3 // --------------- CONNECTIONS -------------------------- - if ((readingpart==header_connexions) && ligne.contains("machine",false)) + if ((readingpart==header_connexions) && ligne.contains("machine",Qt::CaseInsensitive)) { linecore->InitHeader(ligne); //version samba 3 @@ -109,30 +112,30 @@ } } - if ((readingpart==connexions) && (ligne.simplifyWhiteSpace ().isEmpty ()==false)) + if ((readingpart==connexions) && (ligne.simplified ().isEmpty ()==false)) { linecore->Analysis(ligne); if ((version_samba==version3) || (version_samba==version2 ) ) { // version 2 and version 3 of samba strPid=linecore->ReturnElement("pid"); strMachineName=linecore->ReturnElement("machine"); - iMachineIP=strMachineName.find("("); - iConnected=strMachineName.find(")",iMachineIP)+1; - strMachineIP=(strMachineName.mid(iMachineIP+1,iConnected-iMachineIP-2)).stripWhiteSpace(); + iMachineIP=strMachineName.indexOf("("); + iConnected=strMachineName.indexOf(")",iMachineIP)+1; + strMachineIP=(strMachineName.mid(iMachineIP+1,iConnected-iMachineIP-2)).trimmed(); } if (version_samba==version3 ) { //version samba 3 strUser=linecore->ReturnElement("username"); strGroup=linecore->ReturnElement("group"); - strMachineName=(strMachineName.mid(0,iMachineIP)).stripWhiteSpace(); + strMachineName=(strMachineName.mid(0,iMachineIP)).trimmed(); } if (version_samba==version2 ) { //version samba 2.2 strUser=linecore->ReturnElement("uid"); strGroup=linecore->ReturnElement("gid"); strShare=linecore->ReturnElement("Service"); - strConnected=(strMachineName.mid(iConnected)).stripWhiteSpace(); - strMachineName=(strMachineName.mid(0,iMachineIP)).stripWhiteSpace(); + strConnected=(strMachineName.mid(iConnected)).trimmed(); + strMachineName=(strMachineName.mid(0,iMachineIP)).trimmed(); } emit add_user(strPid,strUser,strGroup,strMachineName,strMachineIP); if (version_samba==version2 ) @@ -143,7 +146,7 @@ } // --------------- SERVICES --------------------------------------------- - if ((readingpart==header_services) && ligne.contains("Service",false)) + if ((readingpart==header_services) && ligne.contains("Service",Qt::CaseInsensitive)) { // only samba 3.0 linecore->InitHeader(ligne); linecore->InitElement("pid"); @@ -152,7 +155,7 @@ linecore->InitElement("Machine"); } - if ((readingpart==services) && (ligne.simplifyWhiteSpace ().isEmpty ()==false) && (ligne.contains("locked files",false)==false)) + if ((readingpart==services) && (ligne.simplified ().isEmpty ()==false) && (ligne.contains("locked files",Qt::CaseInsensitive)==false)) // shares { linecore->Analysis(ligne); @@ -165,7 +168,7 @@ } // --------------- LOCKED FILES --------------------------------------------- - if ((readingpart==header_locked_files) && ligne.contains("pid",false)) + if ((readingpart==header_locked_files) && ligne.contains("pid",Qt::CaseInsensitive)) { linecore->InitHeader(ligne); // samba 2 and 3 @@ -174,33 +177,36 @@ linecore->InitElement("Access"); linecore->InitElement("R/W"); linecore->InitElement("Oplock"); + QRegExp exp1("SharePath\\s*Name\\s*Time",Qt::CaseInsensitive); + QRegExp exp2("SharePath\\s*Name",Qt::CaseInsensitive); // for samba >3.0.20 - if (ligne.contains("SharePath Name Time",false)) + if (ligne.contains(exp1)) { - linecore->InitElement("SharePath Name Time"); + int start=ligne.indexOf(exp1); + int end=ligne.indexOf("Time")+4; + idName=linecore->InitElement(ligne.mid(start,end-start)); } - else if (ligne.contains("SharePath Name",false)) + else if (ligne.contains(exp2)) { - linecore->InitElement("SharePath Name"); + int start=ligne.indexOf(exp2); + int end=ligne.indexOf("Name")+4; + idName=linecore->InitElement(ligne.mid(start,end-start)); } else - linecore->InitElement("Name"); + idName=linecore->InitElement("Name"); } - if ((readingpart==locked_files) && (ligne.simplifyWhiteSpace ().isEmpty ()==false)) + if ((readingpart==locked_files) && (ligne.simplified ().isEmpty ()==false)) // locked files { linecore->Analysis(ligne); strPid=linecore->ReturnElement("pid"); - strName=linecore->ReturnElement("Name"); - // for samba >3.0.20 - if (strName.isEmpty()) strName=linecore->ReturnElement("SharePath Name Time"); - if (strName.isEmpty()) strName=linecore->ReturnElement("SharePath Name"); + strName=linecore->ReturnElement(idName); strMode=linecore->ReturnElement("DenyMode"); strRW=linecore->ReturnElement("R/W"); strOplock=linecore->ReturnElement("Oplock"); - strDateOpen=(strName.mid(strName.length()-24)).stripWhiteSpace(); - strName=(strName.mid(0,strName.length()-24)).stripWhiteSpace(); + strDateOpen=(strName.mid(strName.length()-24)).trimmed(); + strName=(strName.mid(0,strName.length()-24)).trimmed(); emit add_lockedfile(strPid,strName,strMode,strRW,strOplock,strDateOpen); } what_part(ligne); // find section @@ -211,21 +217,21 @@ } /** - Find section of smbstatus + Find section of %smbstatus \sa readingpart Sections: header_connexions, connexions, header_services, services, header_locked_files, locked_files */ void smbstatus::what_part(QString part) { - if ((readingpart==header_connexions) && (part.contains("----",false))) + if ((readingpart==header_connexions) && (part.contains("----",Qt::CaseInsensitive))) // end header, start connection { readingpart=connexions; debugQt("header_connexions->connexions"); } - if ((readingpart==connexions) && (part.simplifyWhiteSpace ().isEmpty ()==true)) + if ((readingpart==connexions) && (part.simplified ().isEmpty ()==true)) // and connection { if (version_samba==version3 ) @@ -241,21 +247,21 @@ } } - if ((readingpart==header_services) && (part.contains("----",false))) + if ((readingpart==header_services) && (part.contains("----",Qt::CaseInsensitive))) // end header_services, start services { readingpart=services; debugQt("header_services->services"); } - if ((readingpart==services) && (part.contains("Locked files",false))) + if ((readingpart==services) && (part.contains("Locked files",Qt::CaseInsensitive))) // end services, start header_locked_files { readingpart=header_locked_files; debugQt("services->header_locked_files"); } - if ((readingpart==header_locked_files) && (part.contains("----",false))) + if ((readingpart==header_locked_files) && (part.contains("----",Qt::CaseInsensitive))) // end header_locked_files, start locked_files { readingpart=locked_files; diff -Nru qtsmbstatus-2.0.4/client/smbstatus.h qtsmbstatus-2.1.1/client/smbstatus.h --- qtsmbstatus-2.0.4/client/smbstatus.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/smbstatus.h 2009-04-12 14:46:48.000000000 +0200 @@ -42,10 +42,29 @@ void RQ_smbstatus(); static int compteur_objet; signals: - void setSambaVersion (const QString &); - void add_user (const QString &,const QString &,const QString &,const QString &,const QString &); - void add_share(const QString &,const QString &,const QString &); - void add_lockedfile(const QString &,const QString &,const QString &,const QString &,const QString &,const QString &); + /** Samba version + \param version_samba samba version */ + void sambaVersion (const QString & version_samba); + /** Informations for an %user + \param strPid PID + \param strUser User name + \param strGroup Group name + \param strMachineName Machine name + \param strMachineIP IP address **/ + void add_user (const QString & strPid,const QString & strUser,const QString & strGroup,const QString & strMachineName,const QString & strMachineIP); + /** Informations for a %share + \param strPid PID + \param strShare Share name + \param strConnected date */ + void add_share(const QString & strPid ,const QString & strShare,const QString & strConnected); + /** Informations for a file opened (locked file) + \param strPid PID + \param strName File name + \param strMode Mode + \param strRW RW + \param strOplock Oplock + \param strDateOpen date */ + void add_lockedfile(const QString & strPid,const QString & strName,const QString & strMode,const QString & strRW,const QString & strOplock,const QString & strDateOpen); private: // Private methods void what_part(QString part); Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/client/tr/qtsmbstatus_de.qm et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/client/tr/qtsmbstatus_de.qm sont différents. diff -Nru qtsmbstatus-2.0.4/client/tr/qtsmbstatus_de.ts qtsmbstatus-2.1.1/client/tr/qtsmbstatus_de.ts --- qtsmbstatus-2.0.4/client/tr/qtsmbstatus_de.ts 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/tr/qtsmbstatus_de.ts 2009-04-12 14:46:48.000000000 +0200 @@ -1,31 +1,31 @@ - + ClientSSL Connected to host - Verbunden mit Host + Verbunden mit Host Socket error - Socketfehler + Socketfehler Connection closed - Verbindung getrennt + Verbindung getrennt Host not found ! - Host nicht gefunden ! + Host nicht gefunden ! Connection in progress on %1 - Verbindung wird aufgebaut bei %1 + Verbindung wird aufgebaut bei %1 @@ -33,199 +33,342 @@ Properties - Eigenschaften + Eigenschaften Send out message to all users - Sende Nachricht an alle Benutzer + Sende Nachricht an alle Benutzer Send out message to - Sende Nachricht an + Sende Nachricht an Disconnect user - Schliesse Verbindung von User + Schliesse Verbindung von User &Yes - &Ja + &Ja &No - &Nein + &Nein Message to send - Nachricht zum Senden + Nachricht zum Senden Message to send to %1: - nachricht zu %1 senden: + nachricht zu %1 senden: Do you really want to disconnect user %1 ? - Möchten Sie wirklich die Verbindung von User %1 beenden? + Möchten Sie wirklich die Verbindung von User %1 beenden? Host not found ! - Host nicht gefunden ! + Host nicht gefunden ! LogForm - + Date Datum - + Machine Maschine - + User User - + Service Dienst - + Open File Öffne Datei - + Type Belegungstyp + MainWindows + + + QtSmbstatus Client + QtSmbstatus Client + + + + Show CIFS/SMB activities + Zeige CIFS/SMB aktivitäten + + + + Configure + Einrichten + + + + Minimize + Minimieren + + + + Quit + beenden + + + + Restore + Wiederherstellen + + + + Thanks to: + Dank an: + + + + This program is licensed to you under the terms of the GNU General Public License version 2 + This program is licensed to you under the terms of the GNU General Public License version 2 + + + + Find text + Text suchen + + + + Text not found. + Text nicht gefunden + + + + User %1 has opened share %2 (%3) + Benutzer %1 hat die Datei(en) %2 (%3) geöffnet + + + + User %1 has opened file %2 (%3) + Benutzer %1 hat dei Datei(en) %2 (%3) geöffnet + + + + CIFS/SMB activities + CIFS/SMB aktivitäten + + + + Message to send + Nachricht zum Senden + + + + Message to send to %1: + nachricht zu %1 senden: + + + + Do you really want to disconnect user %1 ? + Möchten Sie wirklich die Verbindung von User %1 beenden? + + + + &Yes + &Ja + + + + &No + &Nein + + + + Properties + Eigenschaften + + + + Send out message to all users + Sende Nachricht an alle Benutzer + + + + Send out message to + Sende Nachricht an + + + + Disconnect user + Schliesse Verbindung von User + + + + Update is available + + + + + A new release of %1 is available + + + + + You can download it here: %1 + + + + configure - + Configure Einrichten - + Autoconnect Automatisches Verbinden - + <p align="right">Default host address:</p> <p align="right">Standart Rechner Adresse:</p> - + <p align="right">Default Username:</p> <p align="right">Standart Username:</p> - + Host Address Rechneradresse - + <p align="right">Interval:</p> <p align="right">Interval:</p> - + Cancel Abbrechen - + OK OK - + Username (default : username = root) Benutzername - + Log SMB/CIFS activities Logge SMB/CIFS tätigkeiten - + Status notification messages Status Benachrichtigung - + Notifications and log Benachrichten und loggen - + Limit log: Begrenzter Log: - + days Tage - + Iconize QtSmbstatus in system tray Erschaffe QtSmbstatus Icon im System menu - + Smbstatus Smbstatus - + Interval between smbstatus requests in seconds, (interval > 2) Intervall zwischen smbstatus anfragen in Sekunden, (intervall >2) - + Show hidden shares (share$) - Zeige verstecke Anteile (&anteile) + Zeige verstecke Anteile (share$) - + Show hidden shares Zeige verstecke Anteile - + Connection Verbindung - + Autoconnect on qtsmbstatus startup Automatische Verbindung bei qtsmbstatus start - + Show activities in "balloon messages" Zeige Aktivität in "Ballon Nachrichten" + + + Misc + + + + + Automatically Check for updates + + + + + A new release is available + + form_smbstatus @@ -235,147 +378,147 @@ qtsmbstatus - + &Help Hilfe - + &About QtSmbstatus &Über QtSmbstatus - + About &Qt Über &Qt - + Connect/Disconnect Verbinden/Trennen - + Host: Host: - + &Configure client &Einstellungen Client - + &Search &Suche - + &Machine &Maschine - + &User &Benutzer - + Share &open Teilen &öffenen - + &Locked file &verschlossene File - + &Next &weiter - + F3 F3 - + &Find text &Finde Text - + F5 F5 - + &File &Datei - + About Qt Über Qt - + Configure QtSmbstatus client Einstellung QtSmbstatus Clients - + Search machine Suche Maschine - + Search user Suche User - + Search share open Suche geöffnete Anteile - + Search file open Suche geöffnete Datei - + Next Nächstes - + Find text Text suchen - + &Quit &beenden - + Quit QtSmbstatus Beende QtSmbstatus - + Co&nnect Verbi&nde - + &Show CIFS/SMB activities &Zeige CIFS/SMB aktivitäten - + About QtSmbstatus Über QtSmbstatus @@ -421,32 +564,32 @@ login_dialog - + login Anmelden - + exit Beenden - + Username Username - + root root - + Password Passwort - + Connect to qtsmbstatus server Verbinde zum qtsmbstatus Server @@ -454,109 +597,169 @@ main_windows - + This program is licensed to you under the terms of the GNU General Public License version 2 - This program is licensed to you under the terms of the GNU General Public License version 2 + This program is licensed to you under the terms of the GNU General Public License version 2 - + Search share - Suche Anteile + Suche Anteile - + Search locked file - Suche gesperrte Dateien + Suche gesperrte Dateien - + Text not found. - Text nicht gefunden + Text nicht gefunden - + QtSmbstatus Client - QtSmbstatus Client + QtSmbstatus Client - + Connect Verbunden. - + Minimize - Minimieren + Minimieren - + Quit - beenden + beenden - + Restore - Wiederherstellen + Wiederherstellen - + Disconnect Getrennt - + User %1 has opened share %2 (%3) - Benutzer %1 hat die Datei(en) %2 (%3) geöffnet + Benutzer %1 hat die Datei(en) %2 (%3) geöffnet - + User %1 has opened file %2 (%3) - Benutzer %1 hat dei Datei(en) %2 (%3) geöffnet + Benutzer %1 hat dei Datei(en) %2 (%3) geöffnet - + Show CIFS/SMB activities - Zeige CIFS/SMB aktivitäten + Zeige CIFS/SMB aktivitäten - + Impossible to know samba version - Unmöglich die Samba Version zukennen + Unmöglich die Samba Version zukennen - + Invalid login or password ! Falscher Login oder Passwort - + CIFS/SMB activities - CIFS/SMB aktivitäten + CIFS/SMB aktivitäten - + Thanks to: - Dank an: + Dank an: - + Configure - Einrichten + Einrichten - + Find text - Text suchen + Text suchen - + Search machine - Suche Maschine + Suche Maschine - + Search user - Suche User + Suche User + + + + Connection in progress on %1 + Verbindung wird aufgebaut bei %1 + + + + Connected to host + Verbunden mit Host + + + + Connection closed + Verbindung getrennt + + + + Properties + Eigenschaften + + + + Send out message to all users + Sende Nachricht an alle Benutzer + + + + Send out message to + Sende Nachricht an + + + + Disconnect user + Schliesse Verbindung von User + + + + Message to send + Nachricht zum Senden + + + + Message to send to %1: + nachricht zu %1 senden: + + + + Do you really want to disconnect user %1 ? + Möchten Sie wirklich die Verbindung von User %1 beenden? + + + + &Yes + &Ja + + + + &No + &Nein Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/client/tr/qtsmbstatus_es.qm et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/client/tr/qtsmbstatus_es.qm sont différents. diff -Nru qtsmbstatus-2.0.4/client/tr/qtsmbstatus_es.ts qtsmbstatus-2.1.1/client/tr/qtsmbstatus_es.ts --- qtsmbstatus-2.0.4/client/tr/qtsmbstatus_es.ts 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/tr/qtsmbstatus_es.ts 2009-04-12 14:46:48.000000000 +0200 @@ -1,231 +1,288 @@ - + - ClientSSL + LogForm - - Connected to host + + Date - - Socket error + + Machine - - Connection closed + + User - - Host not found ! + + Service - - Connection in progress on %1 + + Open File + + + + + Type - ClientSocket + MainWindows - - Host not found ! + + Show CIFS/SMB activities - - Properties + + Configure - - Send out message to all users + + Minimize - - Send out message to + + Quit - - Disconnect user + + Restore - - &Yes + + Thanks to: - - &No + + This program is licensed to you under the terms of the GNU General Public License version 2 + Este programa esta licenciado a usted bajo los terminos de la Licencia General Publica GNU version 2 + + + + Find text - + + Text not found. + + + + + User %1 has opened share %2 (%3) + + + + + User %1 has opened file %2 (%3) + + + + + CIFS/SMB activities + + + + Message to send - + Message to send to %1: - + Do you really want to disconnect user %1 ? - - - LogForm - - Date + + &Yes - - Machine + + &No - - User + + Properties - - Service + + Send out message to all users - - Open File + + Send out message to - - Type + + Disconnect user + + + + + Update is available + + + + + A new release of %1 is available + + + + + You can download it here: %1 configure - + Configure - + Username (default : username = root) - + Autoconnect - + <p align="right">Default host address:</p> - + <p align="right">Default Username:</p> - + Host Address - + <p align="right">Interval:</p> - + Cancel - + OK - + Log SMB/CIFS activities - + Status notification messages - + Notifications and log - + Limit log: - + days - + Iconize QtSmbstatus in system tray - + Smbstatus - + Interval between smbstatus requests in seconds, (interval > 2) - + Show hidden shares (share$) - + Show hidden shares - + Connection - + Autoconnect on qtsmbstatus startup - + Show activities in "balloon messages" + + + Misc + + + + + Automatically Check for updates + + + + + A new release is available + + form_smbstatus @@ -235,147 +292,147 @@ - + Connect/Disconnect - + Host: - + &Help - + &About QtSmbstatus - + About &Qt - + &Configure client - + &Search - + &Machine - + &User - + Share &open - + &Locked file - + &Next - + F3 - + &Find text - + F5 - + &File - + About Qt - + Configure QtSmbstatus client - + Search machine - + Search user - + Search share open - + Search file open - + Next - + Find text - + &Quit - + Quit QtSmbstatus - + Co&nnect - + &Show CIFS/SMB activities - + About QtSmbstatus @@ -421,32 +478,32 @@ login_dialog - + login - + exit - + Username - + root - + Password - + Connect to qtsmbstatus server @@ -454,108 +511,38 @@ main_windows - + This program is licensed to you under the terms of the GNU General Public License version 2 - Este programa esta licenciado a usted bajo los terminos de la Licencia General Publica GNU version 2 - - - - Find text - - - - - Search machine - - - - - Search user - - - - - Search share - - - - - Search locked file - - - - - Text not found. - - - - - QtSmbstatus Client - + Este programa esta licenciado a usted bajo los terminos de la Licencia General Publica GNU version 2 - + Connect - - Configure - - - - - Minimize - - - - - Quit - - - - - Restore - - - - + Disconnect - - User %1 has opened share %2 (%3) - - - - - User %1 has opened file %2 (%3) - - - - - Show CIFS/SMB activities - - - - - Impossible to know samba version + + Invalid login or password ! - - Invalid login or password ! + + Connection in progress on %1 - - CIFS/SMB activities + + Connected to host - - Thanks to: + + Connection closed Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/client/tr/qtsmbstatus_fr.qm et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/client/tr/qtsmbstatus_fr.qm sont différents. diff -Nru qtsmbstatus-2.0.4/client/tr/qtsmbstatus_fr.ts qtsmbstatus-2.1.1/client/tr/qtsmbstatus_fr.ts --- qtsmbstatus-2.0.4/client/tr/qtsmbstatus_fr.ts 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/tr/qtsmbstatus_fr.ts 2009-04-12 14:46:48.000000000 +0200 @@ -1,31 +1,31 @@ - + ClientSSL Connected to host - Connecté au serveur + Connecté au serveur Socket error - Erreur de Socket + Erreur de Socket Connection closed - Connexion fermé + Connexion fermé Host not found ! - Hôte introuvable ! + Hôte introuvable ! Connection in progress on %1 - Connexion en cours sur %1 + Connexion en cours sur %1 @@ -33,199 +33,342 @@ Host not found ! - Hôte introuvable ! + Hôte introuvable ! Properties - Propriétés + Propriétés Send out message to all users - Envoyer un message à tous les utilisateurs + Envoyer un message à tous les utilisateurs Send out message to - Envoyer un message à + Envoyer un message à Disconnect user - Déconnecter l'utilisateur + Déconnecter l'utilisateur &Yes - &Oui + &Oui &No - &Non + &Non Message to send - Message à envoyer + Message à envoyer Message to send to %1: - Message à envoyer à %1: + Message à envoyer à %1: Do you really want to disconnect user %1 ? - Voulez-vous vraiment déconnecter l'utilisateur %1 ? + Voulez-vous vraiment déconnecter l'utilisateur %1 ? LogForm - + Date Date - + Machine Machine - + User Utilisateur - + Service Service - + Open File Fichier ouvert - + Type Type + MainWindows + + + QtSmbstatus Client + QtSmbstatus Client + + + + Show CIFS/SMB activities + Visualiser les activités CIFS/SMB + + + + Configure + Configure + + + + Minimize + Réduire + + + + Quit + Quitter + + + + Restore + Restaurer + + + + Thanks to: + Merci à: + + + + This program is licensed to you under the terms of the GNU General Public License version 2 + Ce programme est distribué selon les termes de la General Public License version 2 + + + + Find text + Rechercher un texte + + + + Text not found. + Texte non trouvé. + + + + User %1 has opened share %2 (%3) + Utilisateur %1 a ouvert le partage %2 (%3) + + + + User %1 has opened file %2 (%3) + Utilisateur %1 a ouvert le fichier %2 (%3) + + + + CIFS/SMB activities + Activités CIFS/SMB + + + + Message to send + Message à envoyer + + + + Message to send to %1: + Message à envoyer à %1: + + + + Do you really want to disconnect user %1 ? + Voulez-vous vraiment déconnecter l'utilisateur %1 ? + + + + &Yes + &Oui + + + + &No + &Non + + + + Properties + Propriétés + + + + Send out message to all users + Envoyer un message à tous les utilisateurs + + + + Send out message to + Envoyer un message à + + + + Disconnect user + Déconnecter l'utilisateur + + + + Update is available + Mise à jour disponible + + + + A new release of %1 is available + Une nouvelle version de %1 est disponible + + + + You can download it here: %1 + Vous pouvez la télécharger ici: %1 + + + configure - + Configure Configure - + Autoconnect Autoconnexion - + <p align="right">Default host address:</p> <p align="right">Adresse par défaut du serveur:</p> - + <p align="right">Default Username:</p> <p align="right">Utilisateur par défaut:</p> - + Host Address Adresse du serveur - + <p align="right">Interval:</p> <p align="right">Intervalle:</p> - + Cancel Annuler - + OK OK - + Username (default : username = root) Nom de l'utilisateur ( defaut : username = root) - + Log SMB/CIFS activities Journal des activités SMB/CIFS - + Status notification messages Messages de notification d'état - + Notifications and log Notifications et journal - + Limit log: Limiter le journal: - + days jours - + Iconize QtSmbstatus in system tray - Afficher QtSmbstatus dans la barre à miniatures + Afficher QtSmbstatus dans la boite à miniatures - + Smbstatus Smbstatus - + Interval between smbstatus requests in seconds, (interval > 2) Intervalle, en secondes, entre deux requêtes à smbstatus (intervalle > 2) - + Show hidden shares (share$) Voir les partages cachés (share$) - + Show hidden shares Voir les partages cachés - + Connection Connexion - + Autoconnect on qtsmbstatus startup Autoconnexion au démarrage de qtsmbstatus - + Show activities in "balloon messages" Voir les activités dans des info-bulles + + + Misc + Divers + + + + Automatically Check for updates + Rechercher automatiquement des mises à jour + + + + A new release is available + Une nouvelle version est disponible + form_smbstatus @@ -235,147 +378,147 @@ qtsmbstatus - + &Help &Aide - + &About QtSmbstatus &A propos de QtSmbstatus - + About &Qt A propos de &Qt - + Connect/Disconnect Connexion/Déconnexion - + Host: Hôte: - + &Configure client &Configure client - + &Search &Rechercher - + &Machine &Machine - + &User &Utilisateur - + Share &open Partage &ouvert - + &Locked file &Fichier ouvert - + &Next &Suivant - + F3 F3 - + &Find text &Rechercher un texte - + F5 F5 - + &File &Fichier - + About Qt A propos de Qt - + Configure QtSmbstatus client Configure QtSmbstatus client - + Search machine Rechercher une machine - + Search user Rechercher un utilisateur - + Search share open Rechercher un partage ouvert - + Search file open Rechercher un fichier ouvert - + Next Suivant - + Find text Rechercher un texte - + &Quit &Quitter - + Quit QtSmbstatus Quitter QtSmbstatus - + Co&nnect Co&nnexion - + &Show CIFS/SMB activities &Visualiser les activités CIFS/SMB - + About QtSmbstatus A propos de QtSmbstatus @@ -421,142 +564,217 @@ login_dialog - + login login - + exit Annuler - + Username Nom - + root root - + Password Mot de passe - + Connect to qtsmbstatus server - Connexion au server + Connexion au serveur main_windows - + This program is licensed to you under the terms of the GNU General Public License version 2 - Ce programme est distribué selon les termes de la General Public License version 2 + Ce programme est distribué selon les termes de la General Public License version 2 - + Find text - Rechercher un texte + Rechercher un texte - + Search machine - Rechercher une machine + Rechercher une machine - + Search user - Rechercher un utilisateur + Rechercher un utilisateur - + Search share - Rechercher un partage + Rechercher un partage - + Search locked file - Rechercher un fichier ouvert + Rechercher un fichier ouvert - + Text not found. - Texte non trouvé. + Texte non trouvé. - + QtSmbstatus Client - QtSmbstatus Client + QtSmbstatus Client - + Connect Connexion - + Configure - Configure + Configure - + Minimize - Réduire + Réduire - + Quit - Quitter + Quitter - + Restore - Restaurer + Restaurer - + Disconnect Déconnexion - + User %1 has opened share %2 (%3) - Utilisateur %1 a ouvert le partage %2 (%3) + Utilisateur %1 a ouvert le partage %2 (%3) - + User %1 has opened file %2 (%3) - Utilisateur %1 a ouvert le fichier %2 (%3) + Utilisateur %1 a ouvert le fichier %2 (%3) - + Show CIFS/SMB activities - Visualiser les activités CIFS/SMB + Visualiser les activités CIFS/SMB - + Impossible to know samba version - Impossible de connaitre la version de samba + Impossible de connaitre la version de samba - + Invalid login or password ! Mauvais login ou mauvais mot de passe ! - + CIFS/SMB activities - Activités CIFS/SMB + Activités CIFS/SMB - + Thanks to: - Merci à: + Merci à: + + + + Connection in progress on %1 + Connexion en cours sur %1 + + + + Connected to host + Connecté au serveur + + + + Connection closed + Connexion fermé + + + + Properties + Propriétés + + + + Send out message to all users + Envoyer un message à tous les utilisateurs + + + + Send out message to + Envoyer un message à + + + + Disconnect user + Déconnecter l'utilisateur + + + + Message to send + Message à envoyer + + + + Message to send to %1: + Message à envoyer à %1: + + + + Do you really want to disconnect user %1 ? + Voulez-vous vraiment déconnecter l'utilisateur %1 ? + + + + &Yes + &Oui + + + + &No + &Non + + + + Update is available + Mise à jour disponible + + + + A new release of %1 is available + Une nouvelle version de %1 est disponible + + + + You can download it here: %1 + Vous pouvez la télécharger ici: %1 Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/client/tr/qtsmbstatus_hu.qm et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/client/tr/qtsmbstatus_hu.qm sont différents. diff -Nru qtsmbstatus-2.0.4/client/tr/qtsmbstatus_hu.ts qtsmbstatus-2.1.1/client/tr/qtsmbstatus_hu.ts --- qtsmbstatus-2.0.4/client/tr/qtsmbstatus_hu.ts 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/tr/qtsmbstatus_hu.ts 2009-04-12 14:46:48.000000000 +0200 @@ -1,32 +1,31 @@ - - + ClientSSL Connected to host - Csatlakoztatva a hoszthoz + Csatlakoztatva a hoszthoz Socket error - Foglalathiba + Foglalathiba Connection closed - Kapcsolat lezárva + Kapcsolat lezárva Host not found ! - Hoszt nem található ! + Hoszt nem található ! Connection in progress on %1 - Csatlakozás folyamatban %1 + Csatlakozás folyamatban %1 @@ -34,199 +33,342 @@ Properties - Tulajdonságok + Tulajdonságok Send out message to all users - Üzenet küldése minden felhasználónak + Üzenet küldése minden felhasználónak Send out message to - Üzenet küldése + Üzenet küldése Disconnect user - Felhasználó lecsatlakoztatása + Felhasználó lecsatlakoztatása &Yes - &Igen + &Igen &No - &Nem + &Nem Message to send - Üzenet küldése + Üzenet küldése Message to send to %1: - Üzenet küldése ide : %1: + Üzenet küldése ide : %1: Do you really want to disconnect user %1 ? - Valóban le akarja csatlakoztatni a következő felhasználót: %1 ? + Valóban le akarja csatlakoztatni a következő felhasználót: %1 ? Host not found ! - Hoszt nem található ! + Hoszt nem található ! LogForm - + Date Dátum - + Machine Gép - + User Felhasználó - + Service Szolgáltatás - + Open File Fájl megnyitása - + Type Tipus + MainWindows + + + QtSmbstatus Client + QtSmbstatus kliens + + + + Show CIFS/SMB activities + CIFS/SMB tevékenységek mutatása + + + + Configure + Beállítás + + + + Minimize + Minimalizálás + + + + Quit + Kilépés + + + + Restore + Helyreállítás + + + + Thanks to: + Köszönetnyilvánítás: + + + + This program is licensed to you under the terms of the GNU General Public License version 2 + + + + + Find text + Szöveg kereése + + + + Text not found. + Szöveg nem található. + + + + User %1 has opened share %2 (%3) + %1 felhasználó megnyitotta a(z) %2 (%3) megosztást + + + + User %1 has opened file %2 (%3) + %1 felhasználó megnyitotta a(z) %2 (%3) fájlt + + + + CIFS/SMB activities + CIFS/SMB tevékenységek + + + + Message to send + Üzenet küldése + + + + Message to send to %1: + Üzenet küldése ide : %1: + + + + Do you really want to disconnect user %1 ? + Valóban le akarja csatlakoztatni a következő felhasználót: %1 ? + + + + &Yes + &Igen + + + + &No + &Nem + + + + Properties + Tulajdonságok + + + + Send out message to all users + Üzenet küldése minden felhasználónak + + + + Send out message to + Üzenet küldése + + + + Disconnect user + Felhasználó lecsatlakoztatása + + + + Update is available + + + + + A new release of %1 is available + + + + + You can download it here: %1 + + + + configure - + Configure Beállítás - + Autoconnect Autocsatlakozás - + <p align="right">Default host address:</p> <p align="right">Alapértelmezett hoszt cím:</p> - + <p align="right">Default Username:</p> <p align="right">Alapértelmezett felhasználónév:</p> - + Host Address Hoszt cím - + <p align="right">Interval:</p> <p align="right">Időtartam:</p> - + Cancel Mégsem - + OK OK - + Username (default : username = root) Felhasználónév (alapértelmezett : felhasználónév = root) - + Log SMB/CIFS activities SMB/CIFS tevékenységek tárolása - + Status notification messages Állapot figyelmeztető üzenetek - + Notifications and log Figyelmeztetések és log - + Limit log: Log korlát: - + days napok - + Iconize QtSmbstatus in system tray QtSmbstatus ikon méretűre a rendszertálcára. - + Smbstatus Smbstatus - + Interval between smbstatus requests in seconds, (interval > 2) Az smbstatus lekérdezések időtartama között másodpercben. (időtartam > 2) - + Show hidden shares (share$) Mutasd a rejtett megosztásokat (share$) - + Show hidden shares A rejtett megosztások megjelenítése - + Connection Kapcsolat - + Autoconnect on qtsmbstatus startup Automatikus kapcsolódás a QtSmbstatus indulásakor - + Show activities in "balloon messages" Tevékenységek mutatása "buborék-üzenetekben" + + + Misc + + + + + Automatically Check for updates + + + + + A new release is available + + form_smbstatus @@ -236,147 +378,147 @@ qtsmbstatus - + &Help &Súgó - + &About QtSmbstatus QtSmbst&atus névjegy - + About &Qt &Qt névjegy - + Connect/Disconnect Kapcsolódás/Bontás - + Host: Kiszolgáló: - + &Configure client Kliens &beállítása - + &Search Keresé&s - + &Machine &Gép - + &User Fel&használó - + Share &open Megosztás &megnyitása - + &Locked file &Zárolt fájlok - + &Next &Következő - + F3 F3 - + &Find text &Szöveg keresése - + F5 F5 - + &File &Fájl - + About Qt Qt névjegy - + Configure QtSmbstatus client QtSmbstatus kliens beállítása - + Search machine Gép keresése - + Search user Felhasználó keresése - + Search share open Megosztás nyitás keresése - + Search file open Fájl nyitás keresése - + Next Következő - + Find text Szöveg kereése - + &Quit &Kilépés - + Quit QtSmbstatus Kilépés a QtSmbstatus -ból - + Co&nnect Cs&atlakozás - + &Show CIFS/SMB activities CIFS/SMB tevékenységek &mutatása - + About QtSmbstatus QtSmbstatus névjegy @@ -422,32 +564,32 @@ login_dialog - + login bejelentkezés - + exit kilépés - + Username Felhasználónév - + root root - + Password Jelszó - + Connect to qtsmbstatus server Csatlakozás a qtsmbstatus szerverhez @@ -455,109 +597,164 @@ main_windows - - This program is licensed to you under the terms of the GNU General Public License version 2 - - - - + Search share - Megosztás keresése + Megosztás keresése - + Search locked file - Zárolt fájl keresése + Zárolt fájl keresése - + Text not found. - Szöveg nem található. + Szöveg nem található. - + QtSmbstatus Client - QtSmbstatus kliens + QtSmbstatus kliens - + Connect Kapcsolat - + Minimize - Minimalizálás + Minimalizálás - + Quit - Kilépés + Kilépés - + Restore - Helyreállítás + Helyreállítás - + Disconnect Kapcsolat bontása - + User %1 has opened share %2 (%3) - %1 felhasználó megnyitotta a(z) %2 (%3) megosztást + %1 felhasználó megnyitotta a(z) %2 (%3) megosztást - + User %1 has opened file %2 (%3) - %1 felhasználó megnyitotta a(z) %2 (%3) fájlt + %1 felhasználó megnyitotta a(z) %2 (%3) fájlt - + Show CIFS/SMB activities - CIFS/SMB tevékenységek mutatása + CIFS/SMB tevékenységek mutatása - + Impossible to know samba version - Samba verzió lekérdezése lehetetlen + Samba verzió lekérdezése lehetetlen - + Invalid login or password ! Érvénytelen felhasználónév vagy jelszó ! - + CIFS/SMB activities - CIFS/SMB tevékenységek + CIFS/SMB tevékenységek - + Thanks to: - Köszönetnyilvánítás: + Köszönetnyilvánítás: - + Configure - + Beállítás - + Find text - + Szöveg kereése - + Search machine - + Gép keresése - + Search user - + Felhasználó keresése + + + + Connection in progress on %1 + Csatlakozás folyamatban %1 + + + + Connected to host + Csatlakoztatva a hoszthoz + + + + Connection closed + Kapcsolat lezárva + + + + Properties + Tulajdonságok + + + + Send out message to all users + Üzenet küldése minden felhasználónak + + + + Send out message to + Üzenet küldése + + + + Disconnect user + Felhasználó lecsatlakoztatása + + + + Message to send + Üzenet küldése + + + + Message to send to %1: + Üzenet küldése ide : %1: + + + + Do you really want to disconnect user %1 ? + Valóban le akarja csatlakoztatni a következő felhasználót: %1 ? + + + + &Yes + &Igen + + + + &No + &Nem Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/client/tr/qtsmbstatus_it.qm et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/client/tr/qtsmbstatus_it.qm sont différents. diff -Nru qtsmbstatus-2.0.4/client/tr/qtsmbstatus_it.ts qtsmbstatus-2.1.1/client/tr/qtsmbstatus_it.ts --- qtsmbstatus-2.0.4/client/tr/qtsmbstatus_it.ts 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/tr/qtsmbstatus_it.ts 2009-04-12 14:46:48.000000000 +0200 @@ -5,27 +5,22 @@ Connected to host - Connesso all'host + Connesso all'host Socket error - Errore del socket + Errore del socket Connection closed - Connessione terminata + Connessione terminata Host not found ! - Host non trovto ! - - - - Connection in progress on %1 - + Host non trovto ! @@ -33,199 +28,342 @@ Properties - Proprieta' + Proprieta' Send out message to all users - Spedire il messaggio a tutti gli utenti + Spedire il messaggio a tutti gli utenti Send out message to - Spedire il messaggio a + Spedire il messaggio a Disconnect user - Disconnettere utente + Disconnettere utente &Yes - &Si + &Si &No - &No + &No Message to send - Messaggio da inviare + Messaggio da inviare Message to send to %1: - Messaggio da inviare a %1: + Messaggio da inviare a %1: Do you really want to disconnect user %1 ? - Si vuole davvero disconnettere l'utente %1 ? + Si vuole davvero disconnettere l'utente %1 ? Host not found ! - Host non trovto ! + Host non trovto ! LogForm - + Date Data - + Machine Macchina - + User Utente - + Service Servizio - + Open File Apri il file - + Type + MainWindows + + + QtSmbstatus Client + Client QtSmbstatus + + + + Show CIFS/SMB activities + + + + + Configure + Configura + + + + Minimize + Minimizza + + + + Quit + Chiudi + + + + Restore + Ripristina + + + + Thanks to: + Ringraziamenti a: + + + + This program is licensed to you under the terms of the GNU General Public License version 2 + + + + + Find text + Trova testo + + + + Text not found. + Testo non trovato. + + + + User %1 has opened share %2 (%3) + + + + + User %1 has opened file %2 (%3) + L'utente %1 ha aperto il file %2 (%3) + + + + CIFS/SMB activities + + + + + Message to send + Messaggio da inviare + + + + Message to send to %1: + Messaggio da inviare a %1: + + + + Do you really want to disconnect user %1 ? + Si vuole davvero disconnettere l'utente %1 ? + + + + &Yes + &Si + + + + &No + &No + + + + Properties + Proprieta' + + + + Send out message to all users + Spedire il messaggio a tutti gli utenti + + + + Send out message to + Spedire il messaggio a + + + + Disconnect user + Disconnettere utente + + + + Update is available + + + + + A new release of %1 is available + + + + + You can download it here: %1 + + + + configure - + Configure Configura - + Autoconnect - + <p align="right">Default host address:</p> <p align="right">Indirizzio dell'host predefinito:</p> - + <p align="right">Default Username:</p> <p align="right">Nome utente predefinito:</p> - + Host Address Indirizzo dell'host - + <p align="right">Interval:</p> <p align="right">Intervallo:</p> - + Cancel Cancella - + OK Ok - + Username (default : username = root) Nome utente (predefinito : nome utente = root) - + Log SMB/CIFS activities - + Status notification messages Stato messaggi di notifica - + Notifications and log Notifiche e log - + Limit log: - + days giorni - + Iconize QtSmbstatus in system tray - + Smbstatus - + Interval between smbstatus requests in seconds, (interval > 2) - + Show hidden shares (share$) - + Show hidden shares - + Connection Connessione - + Autoconnect on qtsmbstatus startup - + Show activities in "balloon messages" + + + Misc + + + + + Automatically Check for updates + + + + + A new release is available + + form_smbstatus @@ -235,147 +373,147 @@ - + &Help &Aiuto - + &About QtSmbstatus - + About &Qt Informazioni su &Qt - + Connect/Disconnect Connetti/Disconnetti - + Host: - + &Configure client &Configura client - + &Search &Cerca - + &Machine &Macchina - + &User &Utente - + Share &open - + &Locked file - + &Next &Avanti - + F3 F3 - + &Find text &Trova testo - + F5 F5 - + &File &File - + About Qt Informazioni su Qt - + Configure QtSmbstatus client - + Search machine Cerca macchina - + Search user Cerca utente - + Search share open - + Search file open - + Next Avanti - + Find text Trova testo - + &Quit &Esci - + Quit QtSmbstatus - + Co&nnect Co&nnetti - + &Show CIFS/SMB activities - + About QtSmbstatus Informazioni su QtSmbstatus @@ -421,32 +559,32 @@ login_dialog - + login accedi - + exit esci - + Username Nome utente - + root root - + Password Password - + Connect to qtsmbstatus server Connettiti al server qtsmbstatus @@ -454,109 +592,139 @@ main_windows - - This program is licensed to you under the terms of the GNU General Public License version 2 - - - - - Search share - - - - - Search locked file - - - - + Text not found. - Testo non trovato. + Testo non trovato. - + QtSmbstatus Client - Client QtSmbstatus + Client QtSmbstatus - + Connect Connettiti - + Minimize - Minimizza + Minimizza - + Quit - Chiudi + Chiudi - + Restore - Ripristina + Ripristina - + Disconnect Disconetti - - User %1 has opened share %2 (%3) - - - - + User %1 has opened file %2 (%3) - L'utente %1 ha aperto il file %2 (%3) - - - - Show CIFS/SMB activities - + L'utente %1 ha aperto il file %2 (%3) - + Impossible to know samba version - Impossibile conoscere la versione di samba + Impossibile conoscere la versione di samba - + Invalid login or password ! - - CIFS/SMB activities - - - - + Thanks to: - Ringraziamenti a: + Ringraziamenti a: - + Configure - Configura + Configura - + Find text - Trova testo + Trova testo - + Search machine - Cerca macchina + Cerca macchina - + Search user - Cerca utente + Cerca utente + + + + Connection in progress on %1 + + + + + Connected to host + Connesso all'host + + + + Connection closed + Connessione terminata + + + + Properties + Proprieta' + + + + Send out message to all users + Spedire il messaggio a tutti gli utenti + + + + Send out message to + Spedire il messaggio a + + + + Disconnect user + Disconnettere utente + + + + Message to send + Messaggio da inviare + + + + Message to send to %1: + Messaggio da inviare a %1: + + + + Do you really want to disconnect user %1 ? + Si vuole davvero disconnettere l'utente %1 ? + + + + &Yes + &Si + + + + &No + &No Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/client/tr/qtsmbstatus_nl.qm et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/client/tr/qtsmbstatus_nl.qm sont différents. diff -Nru qtsmbstatus-2.0.4/client/tr/qtsmbstatus_nl.ts qtsmbstatus-2.1.1/client/tr/qtsmbstatus_nl.ts --- qtsmbstatus-2.0.4/client/tr/qtsmbstatus_nl.ts 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/client/tr/qtsmbstatus_nl.ts 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,765 @@ + + + + ClientSSL + + + Connected to host + Verbonden met host + + + + Socket error + Socketfout + + + + Connection closed + Verbinding verbroken + + + + Host not found ! + Host niet gevbnden ! + + + + Connection in progress on %1 + Verbinding maken bezig op %1 + + + + ClientSocket + + + Properties + Eigenschappen + + + + Send out message to all users + Verzend bericht naar alle gebruikers + + + + Send out message to + Verzend bericht naar + + + + Disconnect user + Verbinding gebruiker verbreken + + + + &Yes + &Ja + + + + &No + &Nee + + + + Message to send + Te versturen bericht + + + + Message to send to %1: + Te versturen berciht naar %1: + + + + Do you really want to disconnect user %1 ? + Weet je zeker dat je de verbinding van gebruiker %1 wil verbreken ? + + + + Host not found ! + Host niet gevbnden ! + + + + LogForm + + + Date + Datum + + + + Machine + Machine + + + + User + Gebruiker + + + + Service + Service + + + + Open File + Bestand openen + + + + Type + Type + + + + MainWindows + + + QtSmbstatus Client + QtSmbstatus Client + + + + Show CIFS/SMB activities + Laat CIFS/SMB activitieten zien + + + + Configure + Configureren + + + + Minimize + Minimaliseren + + + + Quit + Afsluiten + + + + Restore + Herstellen + + + + Thanks to: + Met dank aan: + + + + This program is licensed to you under the terms of the GNU General Public License version 2 + Dit programma is gelicenseerd onder de termen van de GNU General Public License versie 2 + + + + Find text + Tekst zoeken + + + + Text not found. + Tekst niet gevonden. + + + + User %1 has opened share %2 (%3) + Gebruiker %1 heeft share %2 (%3) geopend + + + + User %1 has opened file %2 (%3) + Gebruiker %1 heeft bestand %2 (%3) geopend + + + + CIFS/SMB activities + CIFS/SMB activitieten + + + + Message to send + Te versturen bericht + + + + Message to send to %1: + Te versturen berciht naar %1: + + + + Do you really want to disconnect user %1 ? + Weet je zeker dat je de verbinding van gebruiker %1 wil verbreken ? + + + + &Yes + &Ja + + + + &No + &Nee + + + + Properties + Eigenschappen + + + + Send out message to all users + Verzend bericht naar alle gebruikers + + + + Send out message to + Verzend bericht naar + + + + Disconnect user + Verbinding gebruiker verbreken + + + + Update is available + + + + + A new release of %1 is available + + + + + You can download it here: %1 + + + + + configure + + + Configure + Configureren + + + + Autoconnect + Automatisch verbinden + + + + <p align="right">Default host address:</p> + <p align="right">Standaard host adres:</p> + + + + <p align="right">Default Username:</p> + <p align="right">Standaard Gebruikersnaam:</p> + + + + Host Address + Hostadres + + + + <p align="right">Interval:</p> + <p align="right">Interval:</p> + + + + Cancel + Annuleren + + + + OK + OK + + + + Username (default : username = root) + Gebruikersnaam (standaard: gebruikersnaam = root) + + + + Log SMB/CIFS activities + Log SMB/CIFS activiteiten + + + + Status notification messages + Status notificatie berichten + + + + Notifications and log + Notificaties en log + + + + Limit log: + Limiet log: + + + + days + dagen + + + + Iconize QtSmbstatus in system tray + Laat icoon zien QtSmbstatus in de systeembalk + + + + Smbstatus + Smbstatus + + + + Interval between smbstatus requests in seconds, (interval > 2) + Interval tussen smbstatus verzoeken in seconden, (interval > 2) + + + + Show hidden shares (share$) + Laat verborgen shares zien (share$) + + + + Show hidden shares + Laat verborgen shares zien + + + + Connection + Verbinding + + + + Autoconnect on qtsmbstatus startup + Verbind automatisch bij het opstarten van qtsmbstatus + + + + Show activities in "balloon messages" + Laat activiteiten zien in "ballon berichten" + + + + Misc + + + + + Automatically Check for updates + + + + + A new release is available + + + + + form_smbstatus + + + qtsmbstatus + qtsmbstatus + + + + &Help + &Help + + + + &About QtSmbstatus + &Over QtSmbstatus + + + + About &Qt + Over &Qt + + + + Connect/Disconnect + Verbinden / Verbinding verbreken + + + + Host: + Host: + + + + &Configure client + &Configureer client + + + + &Search + &Zoeken + + + + &Machine + &Machine + + + + &User + &Gebruiker + + + + Share &open + Share &open + + + + &Locked file + &Geblokkeerd bestand + + + + &Next + &Volgende + + + + F3 + F3 + + + + &Find text + &Vind volgende + + + + F5 + F5 + + + + &File + &Bestand + + + + About Qt + Over Qt + + + + Configure QtSmbstatus client + Configureer QtSmbstatus client + + + + Search machine + Zoek machine + + + + Search user + Zoek gebruiker + + + + Search share open + Zoek share open + + + + Search file open + Zoek bestand open + + + + Next + Volgende + + + + Find text + Tekst zoeken + + + + &Quit + &Afsluiten + + + + Quit QtSmbstatus + Sluit QtSmbstatus + + + + Co&nnect + Verbi&nden + + + + &Show CIFS/SMB activities + &Laat CIFS/SMB activiteiten zien + + + + About QtSmbstatus + Over QtSmbstatus + + + + logform + + + View Activities + Laat Acitiviteiten Zien + + + + View/hide shares + Bekijk / Verberg shares + + + + View/hide files + Bekijk / verberg bestanden + + + + Filter: + Filter: + + + + Clear + Wissen + + + + Close + Sluiten + + + + Save log + Log opslaan + + + + login_dialog + + + login + aanmelden + + + + exit + afsluiten + + + + Username + Gebruikersnaam + + + + root + root + + + + Password + Wachtwoord + + + + Connect to qtsmbstatus server + Verbind naar qtsmbstatus server + + + + main_windows + + + This program is licensed to you under the terms of the GNU General Public License version 2 + Dit programma is gelicenseerd onder de termen van de GNU General Public License versie 2 + + + + Search share + Zoek een share + + + + Search locked file + Zoek een geblokkeerd bestand + + + + Text not found. + Tekst niet gevonden. + + + + QtSmbstatus Client + QtSmbstatus Client + + + + Connect + Verbinden + + + + Minimize + Minimaliseren + + + + Quit + Afsluiten + + + + Restore + Herstellen + + + + Disconnect + Verbinding verbreken + + + + User %1 has opened share %2 (%3) + Gebruiker %1 heeft share %2 (%3) geopend + + + + User %1 has opened file %2 (%3) + Gebruiker %1 heeft bestand %2 (%3) geopend + + + + Show CIFS/SMB activities + Laat CIFS/SMB activitieten zien + + + + Impossible to know samba version + Onmogelijk om de samba versie te herkennen + + + + Invalid login or password ! + Ongeldig gebruikersnaam of wachtwoord ! + + + + CIFS/SMB activities + CIFS/SMB activitieten + + + + Thanks to: + Met dank aan: + + + + Configure + Configureren + + + + Find text + Tekst zoeken + + + + Search machine + Zoek machine + + + + Search user + Zoek gebruiker + + + + Connection in progress on %1 + Verbinding maken bezig op %1 + + + + Connected to host + Verbonden met host + + + + Connection closed + Verbinding verbroken + + + + Properties + Eigenschappen + + + + Send out message to all users + Verzend bericht naar alle gebruikers + + + + Send out message to + Verzend bericht naar + + + + Disconnect user + Verbinding gebruiker verbreken + + + + Message to send + Te versturen bericht + + + + Message to send to %1: + Te versturen berciht naar %1: + + + + Do you really want to disconnect user %1 ? + Weet je zeker dat je de verbinding van gebruiker %1 wil verbreken ? + + + + &Yes + &Ja + + + + &No + &Nee + + + Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/client/tr/qtsmbstatus_pl.qm et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/client/tr/qtsmbstatus_pl.qm sont différents. diff -Nru qtsmbstatus-2.0.4/client/tr/qtsmbstatus_pl.ts qtsmbstatus-2.1.1/client/tr/qtsmbstatus_pl.ts --- qtsmbstatus-2.0.4/client/tr/qtsmbstatus_pl.ts 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/tr/qtsmbstatus_pl.ts 2009-04-12 14:46:48.000000000 +0200 @@ -5,27 +5,27 @@ Connected to host - Połączono z hostem + Połączono z hostem Socket error - Błąd połączenia + Błąd połączenia Connection closed - Połączenie zakończone + Połączenie zakończone Host not found ! - Nie znaleziono hosta! + Nie znaleziono hosta! Connection in progress on %1 - Trwa łączenie z %1 + Trwa łączenie z %1 @@ -33,199 +33,342 @@ Properties - Właściwości + Właściwości Send out message to all users - Wyślij wiadomość do wszystkich użytkowników + Wyślij wiadomość do wszystkich użytkowników Send out message to - Wyślij wiadomość do + Wyślij wiadomość do Disconnect user - Odłącz użytkownika + Odłącz użytkownika &Yes - &Tak + &Tak &No - &Nie + &Nie Message to send - Wiadomość do wysłania + Wiadomość do wysłania Message to send to %1: - Wiadomość do wysłania do %1: + Wiadomość do wysłania do %1: Do you really want to disconnect user %1 ? - Czy na pewno odłączyć użytkownika %1? + Czy na pewno odłączyć użytkownika %1? Host not found ! - Nie znaleziono hosta! + Nie znaleziono hosta! LogForm - + Date Data - + Machine Komputer - + User Użytkownik - + Service Zasób - + Open File Otwórz plik - + Type Typ + MainWindows + + + QtSmbstatus Client + Klient QtSmbstatus + + + + Show CIFS/SMB activities + Pokaż dziennik zdarzeń CIFS/SMB + + + + Configure + Konfiguracja + + + + Minimize + Minimalizuj + + + + Quit + Zakończ + + + + Restore + Przywróć + + + + Thanks to: + Podziękowania: + + + + This program is licensed to you under the terms of the GNU General Public License version 2 + Ten program jest licencjonowany na zasadach GNU General Public License wersja 2 + + + + Find text + Znajdź tekst + + + + Text not found. + Nie odnaleziono tekstu. + + + + User %1 has opened share %2 (%3) + Użytkownik %1 otworzył udział %2 (%3) + + + + User %1 has opened file %2 (%3) + Użytkownik %1 otworzył plik %2 (%3) + + + + CIFS/SMB activities + Zdarzenia CIFS/SMB + + + + Message to send + Wiadomość do wysłania + + + + Message to send to %1: + Wiadomość do wysłania do %1: + + + + Do you really want to disconnect user %1 ? + Czy na pewno odłączyć użytkownika %1? + + + + &Yes + &Tak + + + + &No + &Nie + + + + Properties + Właściwości + + + + Send out message to all users + Wyślij wiadomość do wszystkich użytkowników + + + + Send out message to + Wyślij wiadomość do + + + + Disconnect user + Odłącz użytkownika + + + + Update is available + + + + + A new release of %1 is available + + + + + You can download it here: %1 + + + + configure - + Configure Konfiguracja - + Autoconnect Łącz automatycznie - + <p align="right">Default host address:</p> <p align="right">Domyślny adres hosta:</p> - + <p align="right">Default Username:</p> <p align="right">Domyślna nazwa użytkownika:</p> - + Host Address Adres Hosta - + <p align="right">Interval:</p> <p align="right">Odstęp czasu:</p> - + Cancel Anuluj - + OK OK - + Username (default : username = root) Użytkownik (domyślnie: username = root) - + Log SMB/CIFS activities Rejestruj aktywne połączenia SMB/CIFS - + Status notification messages Powiadomienia o zmianie stanu - + Notifications and log Powiadomienia i rejestrowanie - + Limit log: Ograniczenie wielkości dziennika: - + days dni - + Iconize QtSmbstatus in system tray Minimalizuj na tackę systemową - + Smbstatus Smbstatus - + Interval between smbstatus requests in seconds, (interval > 2) Odstęp między kolejnymi połączeniami (s, co najmniej 2) - + Show hidden shares (share$) Pokaż ukryte udziały (share$) - + Show hidden shares Pokaż ukryte udziały - + Connection Połączenie - + Autoconnect on qtsmbstatus startup Łącz automatycznie podczas uruchamiania - + Show activities in "balloon messages" Pokazuj wykonywane czynności w podpowiedziach + + + Misc + + + + + Automatically Check for updates + + + + + A new release is available + + form_smbstatus @@ -235,147 +378,147 @@ qtsmbstatus - + &Help &Pomoc - + &About QtSmbstatus &O QtSmbstatus - + About &Qt O &Qt - + Connect/Disconnect Połącz/Rozłącz - + Host: Host: - + &Configure client &Konfiguracja klienta - + &Search &Znajdź - + &Machine &Komputer - + &User &Użytkownik - + Share &open &Otwarty udział - + &Locked file &Zablokowany plik - + &Next &Znajdź następne - + F3 F3 - + &Find text Znajdź &tekst - + F5 F5 - + &File &Plik - + About Qt O Qt - + Configure QtSmbstatus client Konfiguracja QtSmbstatus - + Search machine Znajdź komputer - + Search user Znajdź użytkownika - + Search share open Znajdź otwarty udział - + Search file open Znajdź otwarty plik - + Next Dalej - + Find text Znajdź tekst - + &Quit Za&kończ - + Quit QtSmbstatus Zakończ QtSmbstatus - + Co&nnect &Połącz - + &Show CIFS/SMB activities P&okaż dziennik zdarzeń CIFS/SMB - + About QtSmbstatus O QtSmbstatus @@ -421,32 +564,32 @@ login_dialog - + login Login - + exit Wyjście - + Username Użytkownik - + root root - + Password Hasło - + Connect to qtsmbstatus server Połącz z serwerem @@ -454,109 +597,169 @@ main_windows - + This program is licensed to you under the terms of the GNU General Public License version 2 - Ten program jest licencjonowany na zasadach GNU General Public License wersja 2 + Ten program jest licencjonowany na zasadach GNU General Public License wersja 2 - + Search share - Znajdź udział + Znajdź udział - + Search locked file - Znajdź zablokowany plik + Znajdź zablokowany plik - + Text not found. - Nie odnaleziono tekstu. + Nie odnaleziono tekstu. - + QtSmbstatus Client - Klient QtSmbstatus + Klient QtSmbstatus - + Connect Połącz - + Minimize - Minimalizuj + Minimalizuj - + Quit - Zakończ + Zakończ - + Restore - Przywróć + Przywróć - + Disconnect Rozłącz - + User %1 has opened share %2 (%3) - Użytkownik %1 otworzył udział %2 (%3) + Użytkownik %1 otworzył udział %2 (%3) - + User %1 has opened file %2 (%3) - Użytkownik %1 otworzył plik %2 (%3) + Użytkownik %1 otworzył plik %2 (%3) - + Show CIFS/SMB activities - Pokaż dziennik zdarzeń CIFS/SMB + Pokaż dziennik zdarzeń CIFS/SMB - + Impossible to know samba version - Nie można ustalić wersji Samby + Nie można ustalić wersji Samby - + Invalid login or password ! Nieprawidłowa nazwa użytkownika lub hasło! - + CIFS/SMB activities - Zdarzenia CIFS/SMB + Zdarzenia CIFS/SMB - + Thanks to: - Podziękowania: + Podziękowania: - + Configure - Konfiguracja + Konfiguracja - + Find text - Znajdź tekst + Znajdź tekst - + Search machine - Znajdź komputer + Znajdź komputer - + Search user - Znajdź użytkownika + Znajdź użytkownika + + + + Connection in progress on %1 + Trwa łączenie z %1 + + + + Connected to host + Połączono z hostem + + + + Connection closed + Połączenie zakończone + + + + Properties + Właściwości + + + + Send out message to all users + Wyślij wiadomość do wszystkich użytkowników + + + + Send out message to + Wyślij wiadomość do + + + + Disconnect user + Odłącz użytkownika + + + + Message to send + Wiadomość do wysłania + + + + Message to send to %1: + Wiadomość do wysłania do %1: + + + + Do you really want to disconnect user %1 ? + Czy na pewno odłączyć użytkownika %1? + + + + &Yes + &Tak + + + + &No + &Nie Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/client/tr/qtsmbstatus_pt_BR.qm et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/client/tr/qtsmbstatus_pt_BR.qm sont différents. diff -Nru qtsmbstatus-2.0.4/client/tr/qtsmbstatus_pt_BR.ts qtsmbstatus-2.1.1/client/tr/qtsmbstatus_pt_BR.ts --- qtsmbstatus-2.0.4/client/tr/qtsmbstatus_pt_BR.ts 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/client/tr/qtsmbstatus_pt_BR.ts 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,765 @@ + + + + ClientSSL + + + Connected to host + Conectado ao host + + + + Socket error + Erro de soquete + + + + Connection closed + Conexão fechada + + + + Host not found ! + Host não encontrado ! + + + + Connection in progress on %1 + Conecção em progresso em %1 + + + + ClientSocket + + + Properties + Propriedades + + + + Send out message to all users + Enviar mensagens para todos usuários + + + + Send out message to + Enviar mensagem para + + + + Disconnect user + Desconectar usuário + + + + &Yes + &Sim + + + + &No + &Não + + + + Message to send + Mensagem para enviar + + + + Message to send to %1: + Mensagem para enviar para %1 + + + + Do you really want to disconnect user %1 ? + Você realmente quer desconectar o usuário %1? + + + + Host not found ! + Host não encontrado ! + + + + LogForm + + + Date + Data + + + + Machine + Máquina + + + + User + Usuário + + + + Service + Serviço + + + + Open File + Abrir Arquivo + + + + Type + Tipo + + + + MainWindows + + + QtSmbstatus Client + Cliente QtSmbstatus + + + + Show CIFS/SMB activities + Mostrar atividades CIFS/SMB + + + + Configure + Configurar + + + + Minimize + Minimizar + + + + Quit + Sair + + + + Restore + Restaurar + + + + Thanks to: + Obrigado a: + + + + This program is licensed to you under the terms of the GNU General Public License version 2 + O programa é licensiado pelos termos do GNU Licensa Pública Geral versão 2 + + + + Find text + Encontrar texto + + + + Text not found. + Texto não encontrado. + + + + User %1 has opened share %2 (%3) + Usuário %1 abriu compartilhamento %2 (%3) + + + + User %1 has opened file %2 (%3) + Usuário %1 abriu arquivo %2 (%3) + + + + CIFS/SMB activities + Atividades CIFS/SMB + + + + Message to send + Mensagem para enviar + + + + Message to send to %1: + + + + + Do you really want to disconnect user %1 ? + Você realmente quer desconectar o usuário %1? + + + + &Yes + &Sim + + + + &No + &Não + + + + Properties + Propriedades + + + + Send out message to all users + Enviar mensagens para todos usuários + + + + Send out message to + Enviar mensagem para + + + + Disconnect user + Desconectar usuário + + + + Update is available + + + + + A new release of %1 is available + + + + + You can download it here: %1 + + + + + configure + + + Configure + Configurar + + + + Autoconnect + Auto-conectar + + + + <p align="right">Default host address:</p> + <p align="right">Endereço do host padrão:</p> + + + + <p align="right">Default Username:</p> + <p align="right">Nome do usuário padrão:</p> + + + + Host Address + Endereço do Host + + + + <p align="right">Interval:</p> + <p align="right">Intervalo:</p> + + + + Cancel + Cancelar + + + + OK + OK + + + + Username (default : username = root) + Nome do usuário (padrão: nome do usuário = root) + + + + Log SMB/CIFS activities + Log SMB/CIFS ativos + + + + Status notification messages + Estado da mensagem de notificação + + + + Notifications and log + Notificações e log + + + + Limit log: + Log limite: + + + + days + dias + + + + Iconize QtSmbstatus in system tray + + + + + Smbstatus + Smbstatus + + + + Interval between smbstatus requests in seconds, (interval > 2) + + + + + Show hidden shares (share$) + + + + + Show hidden shares + Mostrar compartilhamentos ocultos + + + + Connection + Conexão + + + + Autoconnect on qtsmbstatus startup + Conectar automaticamente ao iniciar qtsmbstatus + + + + Show activities in "balloon messages" + Mostrar atividades no "balão de mensagens" + + + + Misc + + + + + Automatically Check for updates + + + + + A new release is available + + + + + form_smbstatus + + + qtsmbstatus + qtsmbstatus + + + + &Help + &Ajuda + + + + &About QtSmbstatus + &Sobre QtSmbstatus + + + + About &Qt + Sobre &Qt + + + + Connect/Disconnect + Conectar/Desconectar + + + + Host: + Host: + + + + &Configure client + &Configurar clientes + + + + &Search + &Procurar + + + + &Machine + &Máquina + + + + &User + &Usuário + + + + Share &open + &Abrir compartilhamento + + + + &Locked file + &Travar arquivo + + + + &Next + &Próximo + + + + F3 + F3 + + + + &Find text + &Procurar texto + + + + F5 + F5 + + + + &File + &Arquivo + + + + About Qt + Sobre a Qt + + + + Configure QtSmbstatus client + Configurar cliente QtSmbstatus + + + + Search machine + Procurar máquina + + + + Search user + Procurar usuário + + + + Search share open + Procurar compartilhamento aberto + + + + Search file open + Procurar arquivo aberto + + + + Next + Próximo + + + + Find text + Encontrar texto + + + + &Quit + &Sair + + + + Quit QtSmbstatus + Sair do QtSmbstatus + + + + Co&nnect + Co&nectar + + + + &Show CIFS/SMB activities + &Mostrar atividades CIFS/SMB + + + + About QtSmbstatus + Sobre QtSmbstatus + + + + logform + + + View Activities + Visualizar atividades + + + + View/hide shares + Visualizar/esconder compartilhamento + + + + View/hide files + Visualizar/esconder arquivos + + + + Filter: + Filtro: + + + + Clear + Limpar + + + + Close + Fechar + + + + Save log + Salvar registro + + + + login_dialog + + + login + conectar + + + + exit + sair + + + + Username + Nome de Usuário + + + + root + root + + + + Password + Senha + + + + Connect to qtsmbstatus server + Conectar ao servidor qtsmbstatus + + + + main_windows + + + This program is licensed to you under the terms of the GNU General Public License version 2 + O programa é licensiado pelos termos do GNU Licensa Pública Geral versão 2 + + + + Search share + Procurar compartilhamento + + + + Search locked file + Procurar arquivo travado + + + + Text not found. + Texto não encontrado. + + + + QtSmbstatus Client + Cliente QtSmbstatus + + + + Connect + Conectar + + + + Minimize + Minimizar + + + + Quit + Sair + + + + Restore + Restaurar + + + + Disconnect + Desconectar + + + + User %1 has opened share %2 (%3) + Usuário %1 abriu compartilhamento %2 (%3) + + + + User %1 has opened file %2 (%3) + Usuário %1 abriu arquivo %2 (%3) + + + + Show CIFS/SMB activities + Mostrar atividades CIFS/SMB + + + + Impossible to know samba version + Impossível reconhecer a versão do samba + + + + Invalid login or password ! + Login ou senha inválida! + + + + CIFS/SMB activities + Atividades CIFS/SMB + + + + Thanks to: + Obrigado a: + + + + Configure + Configurar + + + + Find text + Encontrar texto + + + + Search machine + Procurar máquina + + + + Search user + Procurar usuário + + + + Connection in progress on %1 + Conecção em progresso em %1 + + + + Connected to host + Conectado ao host + + + + Connection closed + Conexão fechada + + + + Properties + Propriedades + + + + Send out message to all users + Enviar mensagens para todos usuários + + + + Send out message to + Enviar mensagem para + + + + Disconnect user + Desconectar usuário + + + + Message to send + Mensagem para enviar + + + + Message to send to %1: + Mensagem para enviar para %1: + + + + Do you really want to disconnect user %1 ? + Você realmente quer desconectar o usuário %1? + + + + &Yes + &Sim + + + + &No + &Não + + + Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/client/tr/qtsmbstatus_ru.qm et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/client/tr/qtsmbstatus_ru.qm sont différents. diff -Nru qtsmbstatus-2.0.4/client/tr/qtsmbstatus_ru.ts qtsmbstatus-2.1.1/client/tr/qtsmbstatus_ru.ts --- qtsmbstatus-2.0.4/client/tr/qtsmbstatus_ru.ts 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/tr/qtsmbstatus_ru.ts 2009-04-12 14:46:48.000000000 +0200 @@ -1,231 +1,288 @@ - ClientSSL + LogForm - - Connection in progress on %1 - Процесс соединения на %1 + + Date + Дата - - Host not found ! - Хост не найден! + + Machine + Компьютер - - Connected to host - Соединено с хостом + + User + Пользователь - - Socket error - Ошибка сокета + + Service + Сервис - - Connection closed - Соединение закрыто + + Type + Тип + + + + Open File + Открытие файла - ClientSocket + MainWindows - - Host not found ! - Хост не найден! + + Show CIFS/SMB activities + Показать активность SMB/CIFS - - Properties - Свойства + + Configure + Настройка - - Send out message to all users - Сообщение всем пользователям + + Minimize + Минимизировать - - Send out message to - Сообщение для + + Quit + Выход - - Disconnect user - Отсоединить пользователя + + Restore + Восстановить + + + + Thanks to: + Благодарности: + + + + This program is licensed to you under the terms of the GNU General Public License version 2 + Эта программа распространяется под лицензией GNU General Public License версии 2 - + + Find text + Найти текст + + + + Text not found. + Текст не найден. + + + + User %1 has opened share %2 (%3) + Пользователь %1 открыл ресурс %2 (%3) + + + + User %1 has opened file %2 (%3) + Пользователь %1 открыл файл %2 (%3) + + + + CIFS/SMB activities + Активность SMB/CIFS + + + Message to send Сообщение - + Message to send to %1: Сообщение для %1: - + Do you really want to disconnect user %1 ? Вы хотите отсоединить пользователя %1 ? - + &Yes &Да - + &No &Нет - - - LogForm - - Date - Дата + + Properties + Свойства - - Machine - Компьютер + + Send out message to all users + Сообщение всем пользователям - - User - Пользователь + + Send out message to + Сообщение для - - Service - Сервис + + Disconnect user + Отсоединить пользователя - - Type - Тип + + Update is available + Доступно обновление - - Open File - Открытие файла + + A new release of %1 is available + Доступен новый релиз %1 + + + + You can download it here: %1 + Вы можете загрузить здесь: %1 configure - + Configure Настройка - + Notifications and log Уведомления и отчет - + Limit log: Лимит отчета: - + days дней - + Iconize QtSmbstatus in system tray Иконка QtSmbstatus в лотке - + Show activities in "balloon messages" Активность в "плавающих сообщениях" - + Status notification messages Уведомление статуса - + Log SMB/CIFS activities Отчет активности SMB/CIFS - + Smbstatus Smbstatus - + <p align="right">Interval:</p> <p align="right">Интервал:</p> - + Interval between smbstatus requests in seconds, (interval > 2) Интервал между запросами smbstatus в секундах (интервал > 2) - + Show hidden shares (share$) Показать скрытые ресурсы (share$) - + Show hidden shares Показать скрытые ресурсы - + Connection Соединение - + <p align="right">Default Username:</p> <p align="right">Пользователь по умолчанию:</p> - + Autoconnect on qtsmbstatus startup Автоконнект при старте qtsmbstatus - + Autoconnect Автоконнект - + <p align="right">Default host address:</p> <p align="right">Хост по умолчанию:</p> - + Username (default : username = root) Пользователь (по умолчанию : пользователь = root) - + Host Address Адрес хоста - + OK ДА - + Cancel Отмена + + + Misc + Разное + + + + Automatically Check for updates + Автоматически проверять обновления + + + + A new release is available + Доступен новый релиз + form_smbstatus @@ -235,147 +292,147 @@ qtsmbstatus - + Connect/Disconnect Коннект/Дисконнект - + Host: Хост: - + &File &Файл - + &Search &Поиск - + &Help &Справка - + &About QtSmbstatus &О QtSmbstatus - + About QtSmbstatus О QtSmbstatus - + About &Qt О &Qt - + About Qt О Qt - + &Configure client &Конфигурация клиента - + Configure QtSmbstatus client Конфигурация QtSmbstatus клиента - + &Machine &Компьютер - + Search machine Поиск компьютера - + &User &Пользователь - + Search user Поиск пользователя - + Share &open &Открытые ресурсы - + Search share open Поиск открытых ресурсов - + &Locked file &Блокированные файлы - + Search file open Поиск открытых файлов - + &Next &Дальше - + Next Дальше - + F3 F3 - + &Find text &Найти текст - + Find text Найти текст - + F5 F5 - + &Quit &Выход - + Quit QtSmbstatus Выйти из QtSmbstatus - + &Show CIFS/SMB activities &Показать активность SMB/CIFS - + Co&nnect Со&единение @@ -421,32 +478,32 @@ login_dialog - + Connect to qtsmbstatus server Соединение с сервером qtsmbstatus - + Username Пользователь - + login логин - + exit выход - + root root - + Password Пароль @@ -454,109 +511,34 @@ main_windows - - QtSmbstatus Client - Клиент QtSmbstatus - - - + Connect Соединение - - Show CIFS/SMB activities - Показать активность SMB/CIFS - - - - Configure - Настройка - - - - Minimize - Минимизировать - - - - Quit - Выход - - - - Impossible to know samba version - Не могу узнать версию samba - - - - Restore - Восстановить - - - + Disconnect Дисконнект - + Invalid login or password ! Неправильный логин или пароль! - - Thanks to: - Благодарности: - - - - This program is licensed to you under the terms of the GNU General Public License version 2 - Эта программа распространяется под лицензией GNU General Public License версии 2 - - - - Find text - Найти текст - - - - Search machine - Поиск компьютера - - - - Search user - Поиск пользователя - - - - Search share - Поиск ресурсов - - - - Search locked file - Поиск блокированных файлов - - - - Text not found. - Текст не найден. - - - - User %1 has opened share %2 (%3) - Пользователь %1 открыл ресурс %2 (%3) + + Connection in progress on %1 + Процесс соединения на %1 - - User %1 has opened file %2 (%3) - Пользователь %1 открыл файл %2 (%3) + + Connected to host + Соединено с хостом - - CIFS/SMB activities - Активность SMB/CIFS + + Connection closed + Соединение закрыто Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/client/tr/qtsmbstatus_sv.qm et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/client/tr/qtsmbstatus_sv.qm sont différents. diff -Nru qtsmbstatus-2.0.4/client/tr/qtsmbstatus_sv.ts qtsmbstatus-2.1.1/client/tr/qtsmbstatus_sv.ts --- qtsmbstatus-2.0.4/client/tr/qtsmbstatus_sv.ts 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/tr/qtsmbstatus_sv.ts 2009-04-12 14:46:48.000000000 +0200 @@ -1,32 +1,21 @@ - - + ClientSSL Connected to host - Ansluten till värd - - - - Socket error - + Ansluten till värd Connection closed - Anslutning stängd + Anslutning stängd Host not found ! - Värden hittades inte! - - - - Connection in progress on %1 - + Värden hittades inte! @@ -34,199 +23,337 @@ Properties - Egenskaper + Egenskaper Send out message to all users - Skicka ut medelande till alla användare + Skicka ut medelande till alla användare Send out message to - Skicka ut medelande till + Skicka ut medelande till Disconnect user - Koppla ner användaren + Koppla ner användaren &Yes - &Ja + &Ja &No - &Nej + &Nej Message to send - Medelande att skicka + Medelande att skicka Message to send to %1: - Medelande att skicka till %1: + Medelande att skicka till %1: Do you really want to disconnect user %1 ? - Vill du verkligen koppla ner användare %1? + Vill du verkligen koppla ner användare %1? Host not found ! - Värden hittades inte! + Värden hittades inte! LogForm - + Date Datum - + Machine - + User Användare - + Service Tjänst - + Open File Öppna fil - + Type Typ + MainWindows + + + Show CIFS/SMB activities + Visa CIFS/SMB aktiviteter + + + + Configure + Konfigurera + + + + Minimize + Minimera + + + + Quit + + + + + Restore + Återställ + + + + Thanks to: + Tack till: + + + + This program is licensed to you under the terms of the GNU General Public License version 2 + + + + + Find text + Sök text + + + + Text not found. + Texten hittades inte. + + + + User %1 has opened share %2 (%3) + + + + + User %1 has opened file %2 (%3) + + + + + CIFS/SMB activities + CIFS/SMB aktiviteter + + + + Message to send + Medelande att skicka + + + + Message to send to %1: + Medelande att skicka till %1: + + + + Do you really want to disconnect user %1 ? + Vill du verkligen koppla ner användare %1? + + + + &Yes + &Ja + + + + &No + &Nej + + + + Properties + Egenskaper + + + + Send out message to all users + Skicka ut medelande till alla användare + + + + Send out message to + Skicka ut medelande till + + + + Disconnect user + Koppla ner användaren + + + + Update is available + + + + + A new release of %1 is available + + + + + You can download it here: %1 + + + + configure - + Configure Konfigurera - + Autoconnect Auto anslut - + <p align="right">Default host address:</p> - + <p align="right">Default Username:</p> - + Host Address Värdadress - + <p align="right">Interval:</p> - + Cancel Avbryt - + OK OK - + Username (default : username = root) - + Log SMB/CIFS activities - + Status notification messages - + Notifications and log - + Limit log: - + days dagar - + Iconize QtSmbstatus in system tray - + Smbstatus Smbstatus - + Interval between smbstatus requests in seconds, (interval > 2) - + Show hidden shares (share$) - + Show hidden shares - + Connection Anslutning - + Autoconnect on qtsmbstatus startup - + Show activities in "balloon messages" + + + Misc + + + + + Automatically Check for updates + + + + + A new release is available + + form_smbstatus @@ -236,147 +363,147 @@ qtsmbstatus - + &Help &Hjälp - + &About QtSmbstatus &Om QrSmbstatus - + About &Qt Om &Qt - + Connect/Disconnect Anslut/Koppla ner - + Host: Värd: - + &Configure client - + &Search &Sök - + &Machine - + &User &Användare - + Share &open - + &Locked file - + &Next &Nästa - + F3 F3 - + &Find text &Sök text - + F5 F5 - + &File &Fil - + About Qt Om Qt - + Configure QtSmbstatus client - + Search machine - + Search user - + Search share open - + Search file open - + Next Nästa - + Find text Sök text - + &Quit &Avsluta - + Quit QtSmbstatus Avsluta QtSmbstatus - + Co&nnect A&nslut - + &Show CIFS/SMB activities - + About QtSmbstatus Om QtSmbstatus @@ -422,32 +549,32 @@ login_dialog - + login logga in - + exit avsluta - + Username Användarnamn - + root - + Password Lösenord - + Connect to qtsmbstatus server Anslut till qtsmbstatus server @@ -455,109 +582,119 @@ main_windows - - This program is licensed to you under the terms of the GNU General Public License version 2 - + + Text not found. + Texten hittades inte. - - Search share - + + Connect + Anslut - - Search locked file - + + Minimize + Minimera - - Text not found. - Texten hittades inte. + + Restore + Återställ - - QtSmbstatus Client - + + Disconnect + Koppla ner - - Connect - Anslut + + Show CIFS/SMB activities + Visa CIFS/SMB aktiviteter - - Minimize - Minimera + + Invalid login or password ! + Ogiltigt användarnamn eller lösenord! - - Quit - + + CIFS/SMB activities + CIFS/SMB aktiviteter - - Restore - Återställ + + Thanks to: + Tack till: - - Disconnect - Koppla ner + + Configure + Konfigurera - - User %1 has opened share %2 (%3) - + + Find text + Sök text - - User %1 has opened file %2 (%3) + + Connection in progress on %1 - - Show CIFS/SMB activities - Visa CIFS/SMB aktiviteter + + Connected to host + Ansluten till värd - - Impossible to know samba version - + + Connection closed + Anslutning stängd - - Invalid login or password ! - Ogiltigt användarnamn eller lösenord! + + Properties + Egenskaper - - CIFS/SMB activities - CIFS/SMB aktiviteter + + Send out message to all users + Skicka ut medelande till alla användare - - Thanks to: - Tack till: + + Send out message to + Skicka ut medelande till - - Configure - Konfigurera + + Disconnect user + Koppla ner användaren - - Find text - Sök text + + Message to send + Medelande att skicka - - Search machine - + + Message to send to %1: + Medelande att skicka till %1: - - Search user - + + Do you really want to disconnect user %1 ? + Vill du verkligen koppla ner användare %1? + + + + &Yes + &Ja + + + + &No + &Nej Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/client/tr/qtsmbstatus_uk.qm et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/client/tr/qtsmbstatus_uk.qm sont différents. diff -Nru qtsmbstatus-2.0.4/client/tr/qtsmbstatus_uk.ts qtsmbstatus-2.1.1/client/tr/qtsmbstatus_uk.ts --- qtsmbstatus-2.0.4/client/tr/qtsmbstatus_uk.ts 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/tr/qtsmbstatus_uk.ts 2009-04-12 14:46:48.000000000 +0200 @@ -1,231 +1,288 @@ - ClientSSL + LogForm - - Connection in progress on %1 - Процес з'єднання з %1 + + Date + Дата - - Host not found ! - Хост не знайдено! + + Machine + Комп'ютер - - Connected to host - З'єднано з хостом + + User + Користувач - - Socket error - Помилка сокета + + Service + Сервіс - - Connection closed - З'єднання закрите + + Type + Тип + + + + Open File + Відкриття файла - ClientSocket + MainWindows - - Host not found ! - Хост не знайдено! + + Show CIFS/SMB activities + Показати активність SMB/CIFS - - Properties - Властивості + + Configure + Налаштування - - Send out message to all users - Повідомлення всім користувачам + + Minimize + Мінімізувати - - Send out message to - Повідомлення для + + Quit + Вихід - - Disconnect user - Від'єднати користувача + + Restore + Відновити - + + Thanks to: + Подяки: + + + + This program is licensed to you under the terms of the GNU General Public License version 2 + Ця программа розповсюджується під ліцензією GNU General Public License версії 2 + + + + Find text + Найти текст + + + + Text not found. + Текст не знайдено. + + + + User %1 has opened share %2 (%3) + Користувач %1 відкрив ресурс %2 (%3) + + + + User %1 has opened file %2 (%3) + Користувач %1 відкрив файл %2 (%3) + + + + CIFS/SMB activities + Активність SMB/CIFS + + + Message to send Повідомлення - + Message to send to %1: Повідомлення для %1: - + Do you really want to disconnect user %1 ? Ви бажаєте від'єднати користувача %1 ? - + &Yes &Так - + &No &Ні - - - LogForm - - Date - Дата + + Properties + Властивості - - Machine - Комп'ютер + + Send out message to all users + Повідомлення всім користувачам - - User - Користувач + + Send out message to + Повідомлення для - - Service - Сервіс + + Disconnect user + Від'єднати користувача - - Type - Тип + + Update is available + Доступне оновлення - - Open File - Відкриття файла + + A new release of %1 is available + Доступна нова версія %1 + + + + You can download it here: %1 + Ви можете завантажити тут: %1 configure - + Configure Налаштування - + Notifications and log Повідомлення та звіт - + Limit log: Ліміт звіту: - + days днів - + Iconize QtSmbstatus in system tray Іконка QtSmbstatus в треї - + Show activities in "balloon messages" Активність в "плаваючих повідомленнях" - + Status notification messages Повідомлення статусу - + Log SMB/CIFS activities Звіт активності SMB/CIFS - + Smbstatus Smbstatus - + <p align="right">Interval:</p> <p align="right">Інтервал:</p> - + Interval between smbstatus requests in seconds, (interval > 2) Інтервал між запитами smbstatus в секундах (інтервал > 2) - + Show hidden shares (share$) Показати приховані ресурси (share$) - + Show hidden shares Показати приховані ресурси - + Connection З'єднання - + <p align="right">Default Username:</p> <p align="right">Користувач за умовчанням:</p> - + Autoconnect on qtsmbstatus startup Автоз'єднання при старті qtsmbstatus - + Autoconnect Автоз'єднання - + <p align="right">Default host address:</p> <p align="right">Хост за умовчанням:</p> - + Username (default : username = root) Користувач (за умовчанням : користувач = root) - + Host Address Адреса хоста - + OK ТАК - + Cancel Відміна + + + Misc + + + + + Automatically Check for updates + + + + + A new release is available + + form_smbstatus @@ -235,147 +292,147 @@ qtsmbstatus - + Connect/Disconnect З'єднання/Від'єднання - + Host: Хост: - + &File &Файл - + &Search &Пошук - + &Help &Довідка - + &About QtSmbstatus &Про QtSmbstatus - + About QtSmbstatus Про QtSmbstatus - + About &Qt Про &Qt - + About Qt Про Qt - + &Configure client &Конфігурування клієнта - + Configure QtSmbstatus client Конфігурування QtSmbstatus клієнта - + &Machine &Комп'ютер - + Search machine Пошук комп'ютера - + &User &Користувач - + Search user Пошук користувача - + Share &open &Відкриті ресурси - + Search share open Пошук відкритих ресурсів - + &Locked file &Блоковані файли - + Search file open Пошук відкритих файлів - + &Next &Далі - + Next Далі - + F3 F3 - + &Find text &Найти текст - + Find text Найти текст - + F5 F5 - + &Quit &Вихід - + Quit QtSmbstatus Вийти з QtSmbstatus - + &Show CIFS/SMB activities &Показати активність SMB/CIFS - + Co&nnect З'&єднання @@ -421,32 +478,32 @@ login_dialog - + Connect to qtsmbstatus server З'єднання з сервером qtsmbstatus - + Username Користувач - + login логін - + exit вихід - + root root - + Password Пароль @@ -454,109 +511,34 @@ main_windows - - QtSmbstatus Client - Клієнт QtSmbstatus - - - + Connect З'єднання - - Show CIFS/SMB activities - Показати активність SMB/CIFS - - - - Configure - Налаштування - - - - Minimize - Мінімізувати - - - - Quit - Вихід - - - - Impossible to know samba version - Не можу взнати версію samba - - - - Restore - Відновити - - - + Disconnect Від'єднання - + Invalid login or password ! Неправильний логін чи пароль! - - Thanks to: - Подяки: - - - - This program is licensed to you under the terms of the GNU General Public License version 2 - Ця программа розповсюджується під ліцензією GNU General Public License версії 2 - - - - Find text - Знайти текст - - - - Search machine - Пошук комп'ютера - - - - Search user - Пошук користувача - - - - Search share - Пошук ресурсів - - - - Search locked file - Пошук блокованих файлів - - - - Text not found. - Текст не знайдено. - - - - User %1 has opened share %2 (%3) - Користувач %1 відкрив ресурс %2 (%3) + + Connection in progress on %1 + Процес з'єднання з %1 - - User %1 has opened file %2 (%3) - Користувач %1 відкрив файл %2 (%3) + + Connected to host + З'єднано з хостом - - CIFS/SMB activities - Активність SMB/CIFS + + Connection closed + З'єднання закрите diff -Nru qtsmbstatus-2.0.4/client/user.cpp qtsmbstatus-2.1.1/client/user.cpp --- qtsmbstatus-2.0.4/client/user.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/user.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -21,33 +21,40 @@ /** \class user \brief Class of user items - \date 2007-07-05 - \version 1.1 + \date 2008-11-08 + \version 2.0 \author Daniel Rocher \sa server machine service 'user' is parent of 'service' and child of 'machine' */ +#include + #include "user.h" +extern void debugQt(const QString & message); +extern QList QTreeWidgetItemList; + int user::compteur_objet=0; -user::user(Q3ListViewItem * parent,const QString & PID,const QString & Username, const QString & Group) : Q3ListViewItem(parent) +user::user(QTreeWidgetItem * parent,const QString & PID,const QString & Username, const QString & Group) : QTreeWidgetItem(parent) { debugQt("Object user : "+QString::number(++compteur_objet)); - Q3ListViewItemList.append(this); + QTreeWidgetItemList.append(this); mark=true; username=Username; pid=PID; group=Group; - this->setPixmap( 0,QPixmap(":/icons/user.png") ); //icon + QIcon icon; + icon.addPixmap(QPixmap(":/icons/user.png"), QIcon::Normal, QIcon::Off); + this->setIcon( 0, icon ); //icon this->setText ( 0, Username) ; } user::~user(){ debugQt("Object user : "+QString::number(--compteur_objet)); - Q3ListViewItemList.removeAll (this); + QTreeWidgetItemList.removeAll (this); } /** @@ -58,9 +65,10 @@ bool user::append_share(const QString & PID,const QString & Share,const QString & DateOpen) { bool exist=false; - service * Child = dynamic_cast(this->firstChild()); - while ( Child ) + for (int i=0; i < this->childCount (); ++i ) { + service * Child= dynamic_cast(this->child (i) ); + if (!Child) break; // if child exist if ((Child->pid==PID) && (Child->share==Share) ) { @@ -69,7 +77,6 @@ Child->mark=true; return true; // exit loop } - Child = dynamic_cast(Child->nextSibling()); } // if not exist add it if (!exist) new service (this,PID,Share,DateOpen); @@ -84,9 +91,10 @@ bool user::append_lockedfile(const QString & PID,const QString & File,const QString & DenyMode,const QString & RW,const QString & Oplock,const QString & DateOpen) { bool exist=false; - service * Child = dynamic_cast(this->firstChild()); - while ( Child ) + for (int i=0; i < this->childCount (); ++i ) { + service * Child= dynamic_cast(this->child (i) ); + if (!Child) break; // if child exist if ((Child->pid==PID) && (Child->filename==File) && (Child->denymode==DenyMode) && (Child->rw==RW) && (Child->oplock==Oplock) && (Child->dateopen==DateOpen) ) { @@ -95,7 +103,6 @@ Child->mark=true; return true; // exit loop } - Child = dynamic_cast(Child->nextSibling()); } // if not exist add it if (!exist) new service (this,PID,File,DenyMode,RW,Oplock,DateOpen); @@ -108,20 +115,17 @@ */ void user::refresh_childs() { - service * item_temp; - service * Child= dynamic_cast(this->firstChild()); - while ( Child ) + for (int i=0; i < this->childCount (); ++i ) { + service * Child= dynamic_cast(this->child (i) ); + if (!Child) break; // if child doesn't exist any more if (!Child->mark) { - // delete child - item_temp= Child; - Child = dynamic_cast(Child->nextSibling()); // next - delete item_temp; // delete item and his children + delete Child; // delete item and his children + --i; continue; } - Child = dynamic_cast(Child->nextSibling()); } } @@ -134,10 +138,10 @@ */ void user::mark_childs() { - service * Child= dynamic_cast(this->firstChild()); - while ( Child ) + for (int i=0; i < this->childCount (); ++i ) { + service * Child= dynamic_cast(this->child (i) ); + if (!Child) break; Child->mark=false; - Child = dynamic_cast(Child->nextSibling()); } } diff -Nru qtsmbstatus-2.0.4/client/user.h qtsmbstatus-2.1.1/client/user.h --- qtsmbstatus-2.0.4/client/user.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/client/user.h 2009-04-12 14:46:48.000000000 +0200 @@ -22,17 +22,13 @@ #define USER_H #include -#include +#include #include "service.h" - -extern void debugQt(const QString & message); -extern QList Q3ListViewItemList; - -class user : public Q3ListViewItem { +class user : public QTreeWidgetItem { public: - user(Q3ListViewItem * parent,const QString & PID,const QString & Username, const QString & Group); + user(QTreeWidgetItem * parent,const QString & PID,const QString & Username, const QString & Group); virtual ~user(); bool append_share(const QString & PID,const QString & Share,const QString & DateOpen); bool append_lockedfile(const QString & PID,const QString & File,const QString & DenyMode,const QString & RW,const QString & Oplock,const QString & DateOpen); diff -Nru qtsmbstatus-2.0.4/common/common.cpp qtsmbstatus-2.1.1/common/common.cpp --- qtsmbstatus-2.0.4/common/common.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/common/common.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -18,29 +18,35 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -// include SSL -#include -#include - //include Qt #include -#include +#include +#include /** \mainpage QtSmbstatus + \image html samba.png \section Introduction Introduction - QtSmbstatus is a GUI (graphical user interface) for smbstatus. + QtSmbstatus is a GUI (graphical %user interface) for %smbstatus. + + QtSmbstatus was designed as a client/server system secured with SSL. A login and password is required to log on to %server (PAM). qtsmbstatus-server (qtsmbstatusd) ought to be installed on host where SAMBA executes. + + To use QtSmbstatus only locally (without qtsmbstatus-server), see qtsmbstatusl. qtsmbstatusl only works locally (no remote access). - QtSmbstatus was designed as a client/server system secured with SSL. A login and password is required to log on to server (PAM). Qtsmbstatusd ought to be installed on host where SAMBA executes. + Commands: + - qtsmbstatus client of qtsmbstatus + - qtsmbstatusd %server of qtsmbstatus + - qtsmbstatusl qtsmbstatus light + \endverbatim This program is licensed to you under the terms of the GNU General Public License version 2 */ // variables environnements -QString version_qtsmbstatus="2.0.4"; -uint int_qtsmbstatus_version=204; -QString date_qtsmbstatus="2008-05-08"; +QString version_qtsmbstatus="2.1.1"; +uint int_qtsmbstatus_version=211; +QString date_qtsmbstatus="2009-04-03"; QString auteur_qtsmbstatus="Daniel Rocher"; QString mail_qtsmbstatus="daniel.rocher@adella.org"; QString web_qtsmbstatus="http://qtsmbstatus.free.fr"; @@ -49,17 +55,30 @@ //! view debug messages bool debug_qtsmbstatus=false; //! TCP port -Q_UINT16 port_server=4443; +quint16 port_server=4443; + +/** + detect text encodings for locale + \sa writeToConsole debugQt +*/ +QTextEncoder * encoder=QTextCodec::codecForLocale()->makeEncoder(); /** - view debug messages. The message is printed to stderr. + Write to console. The message is printed to stderr. */ -void debugQt(const QString & message) {if (debug_qtsmbstatus) qDebug ("%s",message.latin1()); } +void writeToConsole (const QString & message) { qDebug("%s",encoder->fromUnicode ( message ).data()); } + + +/** + view debug messages. The message is printed to stderr only if debug is enabled. +*/ +void debugQt(const QString & message) {if (debug_qtsmbstatus) writeToConsole(message); } + //! command line error -void unsupported_options(char *erreur, const QString & usage) +void unsupported_options(char *error, const QString & usage) { - qDebug("\n Unsupported option : %s \n"+ usage , erreur); + writeToConsole(QString("\n Unsupported option : %1 \n%2").arg(error).arg(usage)); } /** @@ -68,7 +87,7 @@ */ bool StrToBool(QString & value) { - if (value.lower()=="true") return true; + if (value.toLower()=="true") return true; return false; } @@ -93,89 +112,9 @@ { if ((port < 1024) || (port > 49151)) { - qDebug ( "available port : > 1023 and < 49152"); + writeToConsole ( "available port : > 1023 and < 49152"); return false; } return true; } -/** - Print to stderr, QSocketDevice error - \param errorcode code error - \sa SSL_print_error -*/ -void Socket_print_error (int errorcode) -{ - switch (errorcode) { - case 0: - return; - break; - case Q3SocketDevice::AlreadyBound: - qDebug ("The device is already bound, according to bind().") ; - break; - case Q3SocketDevice::Inaccessible: - qDebug ( "The operating system or firewall prohibited the action.") ; - break; - case Q3SocketDevice::NoResources: - qDebug ( " The operating system ran out of a resource. ") ; - break; - case Q3SocketDevice::InternalError: - qDebug ( "An internal error occurred in QSocketDevice.") ; - break; - case Q3SocketDevice::Impossible: - qDebug ( "An attempt was made to do something which makes no sense") ; - break; - case Q3SocketDevice::NoFiles: - qDebug ( "The operating system will not let QSocketDevice open another file.") ; - break; - case Q3SocketDevice::ConnectionRefused: - qDebug ( " A connection attempt was rejected by the peer.") ; - break; - case Q3SocketDevice::NetworkFailure: - qDebug ( " There is a network failure. " ); - break; - case Q3SocketDevice::UnknownError: - qDebug ( " The operating system did something unexpected. ") ; - break; - default: - qDebug ( "Socket error"); - } -} - -/** - Print to stderr, TLS/SSL error - \param errorcode code error - \sa Socket_print_error -*/ -void SSL_print_error(int errorcode) -{ - switch (errorcode) { - case SSL_ERROR_NONE: - qDebug ( "SSL Operation successful"); - break; - case SSL_ERROR_ZERO_RETURN: - qDebug ( "SSL socket shutdown cleanly") ; - break; - case SSL_ERROR_WANT_READ: - qDebug ( "SSL want read") ; - break; - case SSL_ERROR_WANT_WRITE: - qDebug ( "SSL want write") ; - break; - case SSL_ERROR_WANT_CONNECT: - qDebug ( "SSL want connect") ; - break; - case SSL_ERROR_WANT_X509_LOOKUP: - qDebug ( "SSL want x509 lookup" ); - break; - case SSL_ERROR_SYSCALL: - qDebug ( "SSL io error") ; - break; - case SSL_ERROR_SSL: - qDebug ( "SSL protocol error" ); - break; - default: - qDebug ( "SSL Unknown error"); - } -} - diff -Nru qtsmbstatus-2.0.4/common/core_syntax.cpp qtsmbstatus-2.1.1/common/core_syntax.cpp --- qtsmbstatus-2.0.4/common/core_syntax.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/common/core_syntax.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -25,12 +25,12 @@ /** \class core_syntax - \brief This class manage the dialog between client and server - \date 2007-11-08 - \version 1.1 + \brief This class manage the dialog between client and %server + \date 2008-11-06 + \version 1.2 \author Daniel Rocher - Client and server use a protocol : + Client and %server use a protocol : \verbatim command client server definition @@ -42,13 +42,13 @@ - smb_rq -> Sambstatus request - smb_data <- smbstatus reply - end_smb_rq <- smbstatus command finish - - not_imp1 Not implemented + - whoiam <-> version and application name - server_info <- Server Information (right for current client : permit disconnect an user,...) - error_auth <- Authentication error (bad password,...) - - error_command <- Command error (server informs client : the last command is not recognized) + - error_command <-> Command error - error_obj <- Server wants to open a dialogbox to visualize an error - - echo_request <-> Test if connection is correct (is not dead) - - echo_reply <-> connection is correct + - echo_request <-> Test if connection is correct (is not dead) (obsolete) + - echo_reply <-> connection is correct (obsolete) \endverbatim syntax: @@ -59,7 +59,7 @@ - command is an integer - field1 and field2 are optional - exemple: + example: \verbatim [auth_rq]login;password [end] @@ -102,10 +102,10 @@ if (index==0) { QRegExp rx( "^\\[\\d\\d?\\]" ); - debut=rx.search(myTxt); + debut=rx.indexIn(myTxt); if (debut != -1) { - fin = myTxt.find("]"); + fin = myTxt.indexOf("]"); return (myTxt.mid(debut+1 , fin-debut -1 )); } } @@ -114,13 +114,13 @@ QString withoutEscapeKeyTxt=myTxt; withoutEscapeKeyTxt.replace("\\\\","AA").replace("\\;","AA"); - debut = myTxt.find("]"); + debut = myTxt.indexOf("]"); if (debut==-1) return (""); for (i=1 ; i<=index ; ++i) { debut+=1; - fin=withoutEscapeKeyTxt.find(";",debut); + fin=withoutEscapeKeyTxt.indexOf(";",debut); if (index==i) { if (fin!=-1) return (removeEscapeKeys(myTxt.mid(debut , fin-debut ))); diff -Nru qtsmbstatus-2.0.4/common/core_syntax.h qtsmbstatus-2.1.1/common/core_syntax.h --- qtsmbstatus-2.0.4/common/core_syntax.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/common/core_syntax.h 2009-04-12 14:46:48.000000000 +0200 @@ -22,7 +22,7 @@ #ifndef CORE_SYNTAX_H #define CORE_SYNTAX_H -class QString; +#include extern QString addEscapeKeys(QString txt); extern QString removeEscapeKeys( QString txt); diff -Nru qtsmbstatus-2.0.4/debian/changelog qtsmbstatus-2.1.1/debian/changelog --- qtsmbstatus-2.0.4/debian/changelog 2009-04-28 21:54:13.000000000 +0200 +++ qtsmbstatus-2.1.1/debian/changelog 2009-04-28 21:54:13.000000000 +0200 @@ -1,3 +1,16 @@ +qtsmbstatus (2.1.1-0ubuntu1) karmic; urgency=low + + * New upstream release (LP: #300445) + * Bump Standards-Version to 3.8.1 + * Create package for qtsmbstatus-light + * Create a separate package for Languages (required by qtsmbstatus-client + and qtsmbstatus-light) + * Remove depend on openssl + * debian/qtsmbstatus-server.qtsmbstatusd.init: set the LANG environment + variable value + + -- Daniel Rocher Tue, 28 Apr 2009 21:41:03 +0200 + qtsmbstatus (2.0.4-0ubuntu1) intrepid; urgency=low [ Daniel Rocher ] diff -Nru qtsmbstatus-2.0.4/debian/control qtsmbstatus-2.1.1/debian/control --- qtsmbstatus-2.0.4/debian/control 2009-04-28 21:54:13.000000000 +0200 +++ qtsmbstatus-2.1.1/debian/control 2009-04-28 21:54:13.000000000 +0200 @@ -3,20 +3,35 @@ Priority: optional Maintainer: Ubuntu MOTU Developers XSBC-Original-Maintainer: Daniel Rocher -Build-Depends: debhelper (>= 5), libqt4-dev, libssl-dev, libpam0g-dev -Standards-Version: 3.8.0 +Build-Depends: debhelper (>= 5), libqt4-dev, libpam0g-dev +Standards-Version: 3.8.1 Homepage: http://qtsmbstatus.free.fr/ +Package: qtsmbstatus-language +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: qtsmbstatus-client (<= 2.0.99) +Description: QtSmbstatus languages package + This package will install additional languages for qtsmbstatus-client + and qtsmbstatus-light. + +Package: qtsmbstatus-light +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, qtsmbstatus-language, libqt4-sql +Description: GUI (graphical user interface) for smbstatus + Qtsmbstatus Light works only locally and doesn't require + qtsmbstatus-server. + Package: qtsmbstatus-client Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-sql, openssl +Depends: ${shlibs:Depends}, ${misc:Depends}, qtsmbstatus-language, libqt4-sql Description: GUI (graphical user interface) for smbstatus (client) It is meant to provide the possibility of administering remote machines. QtSmbstatus was designed as a client/server system secured with SSL. Package: qtsmbstatus-server Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-sql, openssl, samba +Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-sql, samba Description: GUI (graphical user interface) for smbstatus (server) It is meant to provide the possibility of administering remote machines. QtSmbstatus was designed as a client/server system secured with SSL. diff -Nru qtsmbstatus-2.0.4/debian/qtsmbstatus-client.dirs qtsmbstatus-2.1.1/debian/qtsmbstatus-client.dirs --- qtsmbstatus-2.0.4/debian/qtsmbstatus-client.dirs 2009-04-28 21:54:13.000000000 +0200 +++ qtsmbstatus-2.1.1/debian/qtsmbstatus-client.dirs 2009-04-28 21:54:13.000000000 +0200 @@ -1,4 +1,3 @@ usr/bin -usr/share/qtsmbstatus usr/share/pixmaps usr/share/applications diff -Nru qtsmbstatus-2.0.4/debian/qtsmbstatus-client.install qtsmbstatus-2.1.1/debian/qtsmbstatus-client.install --- qtsmbstatus-2.0.4/debian/qtsmbstatus-client.install 2009-04-28 21:54:13.000000000 +0200 +++ qtsmbstatus-2.1.1/debian/qtsmbstatus-client.install 2009-04-28 21:54:13.000000000 +0200 @@ -1,4 +1,3 @@ client/bin/qtsmbstatus usr/bin/ -client/tr/*.qm usr/share/qtsmbstatus/ client/qtsmbstatus.xpm usr/share/pixmaps/ client/qtsmbstatus.desktop usr/share/applications/ diff -Nru qtsmbstatus-2.0.4/debian/qtsmbstatus-language.dirs qtsmbstatus-2.1.1/debian/qtsmbstatus-language.dirs --- qtsmbstatus-2.0.4/debian/qtsmbstatus-language.dirs 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/debian/qtsmbstatus-language.dirs 2009-04-28 21:54:13.000000000 +0200 @@ -0,0 +1 @@ +usr/share/qtsmbstatus diff -Nru qtsmbstatus-2.0.4/debian/qtsmbstatus-language.install qtsmbstatus-2.1.1/debian/qtsmbstatus-language.install --- qtsmbstatus-2.0.4/debian/qtsmbstatus-language.install 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/debian/qtsmbstatus-language.install 2009-04-28 21:54:13.000000000 +0200 @@ -0,0 +1 @@ +client/tr/*.qm usr/share/qtsmbstatus/ diff -Nru qtsmbstatus-2.0.4/debian/qtsmbstatus-light.dirs qtsmbstatus-2.1.1/debian/qtsmbstatus-light.dirs --- qtsmbstatus-2.0.4/debian/qtsmbstatus-light.dirs 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/debian/qtsmbstatus-light.dirs 2009-04-28 21:54:13.000000000 +0200 @@ -0,0 +1,3 @@ +usr/bin +usr/share/pixmaps +usr/share/applications diff -Nru qtsmbstatus-2.0.4/debian/qtsmbstatus-light.install qtsmbstatus-2.1.1/debian/qtsmbstatus-light.install --- qtsmbstatus-2.0.4/debian/qtsmbstatus-light.install 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/debian/qtsmbstatus-light.install 2009-04-28 21:54:13.000000000 +0200 @@ -0,0 +1,3 @@ +light/bin/qtsmbstatusl usr/bin/ +light/qtsmbstatusl.xpm usr/share/pixmaps/ +light/qtsmbstatusl.desktop usr/share/applications/ diff -Nru qtsmbstatus-2.0.4/debian/qtsmbstatus-light.manpages qtsmbstatus-2.1.1/debian/qtsmbstatus-light.manpages --- qtsmbstatus-2.0.4/debian/qtsmbstatus-light.manpages 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/debian/qtsmbstatus-light.manpages 2009-04-28 21:54:13.000000000 +0200 @@ -0,0 +1 @@ +light/qtsmbstatusl.7.gz diff -Nru qtsmbstatus-2.0.4/debian/qtsmbstatus-light.menu qtsmbstatus-2.1.1/debian/qtsmbstatus-light.menu --- qtsmbstatus-2.0.4/debian/qtsmbstatus-light.menu 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/debian/qtsmbstatus-light.menu 2009-04-28 21:54:13.000000000 +0200 @@ -0,0 +1,6 @@ +?package(qtsmbstatus-light): \ + needs="X11" \ + section="Applications/Network/Monitoring" \ + title="QtSmbstatus Light" \ + icon="/usr/share/pixmaps/qtsmbstatusl.xpm" \ + command="qtsmbstatusl" diff -Nru qtsmbstatus-2.0.4/debian/qtsmbstatus-server.qtsmbstatusd.init qtsmbstatus-2.1.1/debian/qtsmbstatus-server.qtsmbstatusd.init --- qtsmbstatus-2.0.4/debian/qtsmbstatus-server.qtsmbstatusd.init 2009-04-28 21:54:13.000000000 +0200 +++ qtsmbstatus-2.1.1/debian/qtsmbstatus-server.qtsmbstatusd.init 2009-04-28 21:54:13.000000000 +0200 @@ -23,20 +23,30 @@ # see if qtsmbstatusd is running pid=`ps ax | awk '{print $1,$5}' | grep $NAME | awk '{print $1}' | awk '{print $1}'` +# get locale +default_locale=en_US.UTF-8 +if [ -f /etc/default/locale ]; then + # Debian systems + system_locale=`grep -re "LANG=" /etc/default/locale | awk 'BEGIN { FS = "[\"]" } { print $2 }'` +fi + +if [ -z $system_locale ]; then system_locale=$default_locale; fi + # Start or stop the qtsmbstatusd server case $1 in start | restart | reload | force-reload) - if test "$pid" != ""; then - kill $pid + export LANG=$system_locale + if test "$pid" != ""; then + kill $pid if /usr/bin/qtsmbstatusd -d; then - echo "qtsmbstatusd server restarted." + echo "qtsmbstatusd server restarted." fi - else - if /usr/bin/qtsmbstatusd -d; then - echo "qtsmbstatusd server started." + else + if /usr/bin/qtsmbstatusd -d; then + echo "qtsmbstatusd server started." fi - fi - ;; + fi + ;; stop) if test "$pid" != ""; then kill -3 $pid diff -Nru qtsmbstatus-2.0.4/Doxyfile qtsmbstatus-2.1.1/Doxyfile --- qtsmbstatus-2.0.4/Doxyfile 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/Doxyfile 2009-04-12 14:46:48.000000000 +0200 @@ -1,16 +1,91 @@ -# Doxyfile 1.5.1-KDevelop +# Doxyfile 1.5.5 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project +# +# All text after a hash (#) is considered a comment and will be ignored +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" ") #--------------------------------------------------------------------------- # Project related configuration options #--------------------------------------------------------------------------- -PROJECT_NAME = qtsmbstatus.kdevelop -PROJECT_NUMBER = 2.0.0 + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all +# text before the first occurrence of this tag. Doxygen uses libiconv (or the +# iconv built into libc) for the transcoding. See +# http://www.gnu.org/software/libiconv for the list of possible encodings. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded +# by quotes) that should identify the project. + +PROJECT_NAME = QtSmbstatus + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = 2.1.1 + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + OUTPUT_DIRECTORY = + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create +# 4096 sub-directories (in 2 levels) under the output directory of each output +# format and will distribute the generated files over these directories. +# Enabling this option can be useful when feeding doxygen a huge amount of +# source files, where putting all generated files in the same directory would +# otherwise cause performance problems for the file system. + CREATE_SUBDIRS = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, +# Croatian, Czech, Danish, Dutch, Farsi, Finnish, French, German, Greek, +# Hungarian, Italian, Japanese, Japanese-en (Japanese with English messages), +# Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, Polish, +# Portuguese, Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish, +# and Ukrainian. + OUTPUT_LANGUAGE = English -USE_WINDOWS_ENCODING = NO + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is +# used as the annotated text. Otherwise, the brief description is used as-is. +# If left blank, the following values are used ("$name" is automatically +# replaced with the name of the entity): "The $name class" "The $name widget" +# "The $name file" "is" "provides" "specifies" "contains" +# "represents" "a" "an" "the" + ABBREVIATE_BRIEF = "The $name class" \ "The $name widget" \ "The $name file" \ @@ -22,259 +97,1273 @@ a \ an \ the + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + ALWAYS_DETAILED_SEC = NO -INLINE_INHERITED_MEMB = NO -FULL_PATH_NAMES = NO -STRIP_FROM_PATH = /home/villou/admintools/client/ + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. + +INLINE_INHERITED_MEMB = YES + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = YES + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the +# path to strip. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of +# the path mentioned in the documentation of a class, which tells +# the reader which header file to include in order to use a class. +# If left blank only the name of the header file containing the class +# definition is used. Otherwise one should specify the include paths that +# are normally passed to the compiler using the -I flag. + STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful is your file systems +# doesn't support long names like on DOS, Mac, or CD-ROM. + SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like regular Qt-style comments +# (thus requiring an explicit @brief command for a brief description.) + JAVADOC_AUTOBRIEF = NO + +# If the QT_AUTOBRIEF tag is set to YES then Doxygen will +# interpret the first line (until the first dot) of a Qt-style +# comment as the brief description. If set to NO, the comments +# will behave just like regular Qt-style comments (thus requiring +# an explicit \brief command for a brief description.) + +QT_AUTOBRIEF = YES + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + MULTILINE_CPP_IS_BRIEF = NO + +# If the DETAILS_AT_TOP tag is set to YES then Doxygen +# will output the detailed description near the top, like JavaDoc. +# If set to NO, the detailed description appears after the member +# documentation. + DETAILS_AT_TOP = NO + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# re-implements. + INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce +# a new page for each member. If set to NO, the documentation of a member will +# be part of the file/class/namespace that contains it. + SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + TAB_SIZE = 8 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + ALIASES = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C +# sources only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java +# sources only. Doxygen will then generate output that is more tailored for +# Java. For instance, namespaces will be presented as packages, qualified +# scopes will look different, etc. + OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources only. Doxygen will then generate output that is more tailored for +# Fortran. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for +# VHDL. + +OPTIMIZE_OUTPUT_VHDL = NO + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should +# set this tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. +# func(std::string) {}). This also make the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. + BUILTIN_STL_SUPPORT = NO + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. +# Doxygen will parse them like normal C++ but will assume all classes use public +# instead of private inheritance when no explicit protection keyword is present. + +SIP_SUPPORT = NO + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + DISTRIBUTE_GROUP_DOC = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + SUBGROUPING = YES + +# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum +# is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically +# be useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. + +TYPEDEF_HIDES_STRUCT = NO + #--------------------------------------------------------------------------- # Build related configuration options #--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + EXTRACT_ALL = YES + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + EXTRACT_PRIVATE = YES + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + EXTRACT_STATIC = YES + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local +# methods, which are defined in the implementation section but not in +# the interface are included in the documentation. +# If set to NO (the default) only methods in the interface are included. + EXTRACT_LOCAL_METHODS = YES -HIDE_UNDOC_MEMBERS = YES + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base +# name of the file that contains the anonymous namespace. By default +# anonymous namespace are hidden. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. + CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + HIDE_SCOPE_NAMES = NO -SHOW_INCLUDE_FILES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + SORT_MEMBER_DOCS = YES -SORT_BRIEF_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the +# brief documentation of file, namespace and class members alphabetically +# by member name. If set to NO (the default) the members will appear in +# declaration order. + +SORT_BRIEF_DOCS = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the +# hierarchy of group names into alphabetical order. If set to NO (the default) +# the group names will appear in their defined order. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be +# sorted by fully-qualified names, including namespaces. If set to +# NO (the default), the class list will be sorted only by class name, +# not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the +# alphabetical list. + SORT_BY_SCOPE_NAME = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + GENERATE_BUGLIST = YES -GENERATE_DEPRECATEDLIST= NO + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if sectionname ... \endif. + ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or define consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and defines in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + SHOW_USED_FILES = YES + +# If the sources in your project are distributed over multiple directories +# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy +# in the documentation. The default is NO. + SHOW_DIRECTORIES = YES + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command , where is the value of +# the FILE_VERSION_FILTER tag, and is the name of an input file +# provided by doxygen. Whatever the program writes to standard output +# is used as the file version. See the manual for examples. + FILE_VERSION_FILTER = + #--------------------------------------------------------------------------- # configuration options related to warning and progress messages #--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + WARN_IF_DOC_ERROR = YES + +# This WARN_NO_PARAMDOC option can be abled to get warnings for +# functions that are documented, but have no documentation for their parameters +# or return value. If set to NO (the default) doxygen will only warn about +# wrong or incomplete parameter documentation, but not about the absence of +# documentation. + WARN_NO_PARAMDOC = NO + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. Optionally the format may contain +# $version, which will be replaced by the version of the file (if it could +# be obtained via FILE_VERSION_FILTER) + WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + WARN_LOGFILE = + #--------------------------------------------------------------------------- # configuration options related to the input files #--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + INPUT = -FILE_PATTERNS = *.c \ - *.cc \ - *.cxx \ - *.cpp \ - *.c++ \ - *.java \ - *.ii \ - *.ixx \ - *.ipp \ - *.i++ \ - *.inl \ - *.h \ - *.hh \ - *.hxx \ - *.hpp \ - *.h++ \ - *.idl \ - *.odl \ - *.cs \ - *.php \ - *.php3 \ - *.inc \ - *.m \ - *.mm \ - *.dox \ - *.C \ - *.CC \ - *.C++ \ - *.II \ - *.I++ \ - *.H \ - *.HH \ - *.H++ \ - *.CS \ - *.PHP \ - *.PHP3 \ - *.M \ - *.MM \ - *.C \ - *.H \ - *.tlh \ - *.diff \ - *.patch \ - *.xpm \ - *.dox + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is +# also the default input encoding. Doxygen uses libiconv (or the iconv built +# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for +# the list of possible encodings. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx +# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90 + +FILE_PATTERNS = + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + RECURSIVE = YES -EXCLUDE = moc_*.* \ - ui_*.* + +# The EXCLUDE tag can be used to specify files and/or directories that should +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used select whether or not files or +# directories that are symbolic links (a Unix filesystem feature) are excluded +# from the input. + EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. Note that the wildcards are matched +# against the file with absolute path, so to exclude all test directories +# for example use the pattern */test/* + +EXCLUDE_PATTERNS = moc_*.* \ + ui_*.* \ + */bin/* \ + */build/* + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + EXAMPLE_PATH = -EXAMPLE_PATTERNS = * + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + EXAMPLE_RECURSIVE = NO -IMAGE_PATH = + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = ./client/icons + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. If FILTER_PATTERNS is specified, this tag will be +# ignored. + INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further +# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER +# is applied to all files. + FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + FILTER_SOURCE_FILES = NO + #--------------------------------------------------------------------------- # configuration options related to source browsing #--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. + SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C and C++ comments will always remain visible. + STRIP_CODE_COMMENTS = YES -REFERENCED_BY_RELATION = YES -REFERENCES_RELATION = YES + +# If the REFERENCED_BY_RELATION tag is set to YES (the default) +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES (the default) +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = NO + +# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) +# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from +# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will +# link to the source code. Otherwise they will link to the documentstion. + REFERENCES_LINK_SOURCE = YES + +# If the USE_HTAGS tag is set to YES then the references to source code +# will point to the HTML generated by the htags(1) tool instead of doxygen +# built-in source browser. The htags tool is part of GNU's global source +# tagging system (see http://www.gnu.org/software/global/global.html). You +# will need version 4.8.6 or higher. + USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + VERBATIM_HEADERS = YES + #--------------------------------------------------------------------------- # configuration options related to the alphabetical class index #--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + ALPHABETICAL_INDEX = NO + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + IGNORE_PREFIX = + #--------------------------------------------------------------------------- # configuration options related to the HTML output #--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + HTML_FILE_EXTENSION = .html -HTML_HEADER = + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. + +HTML_HEADER = header.html + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet. Note that doxygen will try to copy +# the style sheet file to the HTML output directory, so don't put your own +# stylesheet in the HTML output directory as well, or it will be erased! + HTML_STYLESHEET = + +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, +# files or namespaces will be aligned in HTML using tables. If set to +# NO a bullet list will be used. + HTML_ALIGN_MEMBERS = YES + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) +# of the generated HTML documentation. + GENERATE_HTMLHELP = NO + +# If the GENERATE_DOCSET tag is set to YES, additional index files +# will be generated that can be used as input for Apple's Xcode 3 +# integrated development environment, introduced with OSX 10.5 (Leopard). +# To create a documentation set, doxygen will generate a Makefile in the +# HTML output directory. Running make will produce the docset in that +# directory and running "make install" will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find +# it at startup. + +GENERATE_DOCSET = NO + +# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the +# feed. A documentation feed provides an umbrella under which multiple +# documentation sets from a single provider (such as a company or product suite) +# can be grouped. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that +# should uniquely identify the documentation set bundle. This should be a +# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen +# will append .docset to the name. + +DOCSET_BUNDLE_ID = org.doxygen.Project + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. For this to work a browser that supports +# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox +# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari). + +HTML_DYNAMIC_SECTIONS = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output directory. + CHM_FILE = + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + HHC_LOCATION = + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + TOC_EXPAND = NO + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at +# top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. + DISABLE_INDEX = NO + +# This tag can be used to set the number of enum values (range [1..20]) +# that doxygen will group on one line in the generated HTML documentation. + ENUM_VALUES_PER_LINE = 4 + +# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be +# generated containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, +# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are +# probably better off using the HTML help feature. + GENERATE_TREEVIEW = NO + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + TREEVIEW_WIDTH = 250 + #--------------------------------------------------------------------------- # configuration options related to the LaTeX output #--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + GENERATE_LATEX = NO + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + LATEX_OUTPUT = latex + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. + LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, a4wide, letter, legal and +# executive. If left blank a4wide will be used. + PAPER_TYPE = a4wide + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + LATEX_HEADER = -PDF_HYPERLINKS = NO -USE_PDFLATEX = NO + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = YES + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = YES + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + LATEX_HIDE_INDICES = NO + #--------------------------------------------------------------------------- # configuration options related to the RTF output #--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimized for Word 97 and may not look very pretty with +# other RTF readers or editors. + GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + RTF_HYPERLINKS = NO + +# Load stylesheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assignments. You only have to provide +# replacements, missing definitions are set to their default value. + RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + RTF_EXTENSIONS_FILE = + #--------------------------------------------------------------------------- # configuration options related to the man page output #--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + MAN_EXTENSION = .3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + MAN_LINKS = NO + #--------------------------------------------------------------------------- # configuration options related to the XML output #--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. + GENERATE_XML = NO + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + XML_OUTPUT = xml + +# The XML_SCHEMA tag can be used to specify an XML schema, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + XML_SCHEMA = + +# The XML_DTD tag can be used to specify an XML DTD, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + XML_DTD = + +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will +# dump the program listings (including syntax highlighting +# and cross-referencing information) to the XML output. Note that +# enabling this will significantly increase the size of the XML output. + XML_PROGRAMLISTING = YES + #--------------------------------------------------------------------------- # configuration options for the AutoGen Definitions output #--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + GENERATE_AUTOGEN_DEF = NO + #--------------------------------------------------------------------------- # configuration options related to the Perl module output #--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. This is useful +# if you want to understand what is going on. On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + PERLMOD_MAKEVAR_PREFIX = + #--------------------------------------------------------------------------- # Configuration options related to the preprocessor #--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_DEFINED tags. + EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# in the INCLUDE_PATH (see below) will be search if a #include is found. + SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. To prevent a macro definition from being +# undefined via #undef or recursively expanded use the := operator +# instead of the = operator. + PREDEFINED = + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition. + EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all function-like macros that are alone +# on a line, have an all uppercase name, and do not end with a semicolon. Such +# function macros are typically used for boiler-plate code, and will confuse +# the parser if not removed. + SKIP_FUNCTION_MACROS = YES + #--------------------------------------------------------------------------- # Configuration::additions related to external references #--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. +# Optionally an initial location of the external documentation +# can be added for each tagfile. The format of a tag file without +# this location is as follows: +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths or +# URLs. If a location is present for each tag, the installdox tool +# does not have to be run to correct the links. +# Note that each tag file must have a unique name +# (where the name does NOT include the path) +# If a tag file is not located in the directory in which doxygen +# is run, you must also specify the path to the tagfile here. + TAGFILES = -GENERATE_TAGFILE = qtsmbstatus.tag -ALLEXTERNALS = NO + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = YES + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + EXTERNAL_GROUPS = YES + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + PERL_PATH = /usr/bin/perl + #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base +# or super classes. Setting the tag to NO turns the diagrams off. Note that +# this option is superseded by the HAVE_DOT option below. This is only a +# fallback. It is recommended to install and use dot, since it yields more +# powerful graphs. + CLASS_DIAGRAMS = YES -HIDE_UNDOC_RELATIONS = YES -HAVE_DOT = NO + +# You can define message sequence charts within doxygen comments using the \msc +# command. Doxygen will then run the mscgen tool (see +# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the +# documentation. The MSCGEN_PATH tag allows you to specify the directory where +# the mscgen tool resides. If left empty the tool is assumed to be found in the +# default search path. + +MSCGEN_PATH = + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = NO + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = YES + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# the CLASS_DIAGRAMS tag to NO. + CLASS_GRAPH = YES -COLLABORATION_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = NO + +# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for groups, showing the direct groups dependencies + GROUP_GRAPHS = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling +# Language. + UML_LOOK = NO + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + TEMPLATE_RELATIONS = NO + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT options are set to YES then +# doxygen will generate a call dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable call graphs +# for selected functions only using the \callgraph command. + CALL_GRAPH = NO + +# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then +# doxygen will generate a caller dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable caller +# graphs for selected functions only using the \callergraph command. + CALLER_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will graphical hierarchy of all classes instead of a textual one. + GRAPHICAL_HIERARCHY = YES + +# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES +# then doxygen will show the dependencies a directory has on other directories +# in a graphical way. The dependency relations are determined by the #include +# relations between the files in the directories. + DIRECTORY_GRAPH = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are png, jpg, or gif +# If left blank png will be used. + DOT_IMAGE_FORMAT = png + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found in the path. + DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + DOTFILE_DIRS = -MAX_DOT_GRAPH_WIDTH = 1024 -MAX_DOT_GRAPH_HEIGHT = 1024 -MAX_DOT_GRAPH_DEPTH = 1000 -DOT_TRANSPARENT = NO + +# The MAX_DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of +# nodes that will be shown in the graph. If the number of nodes in a graph +# becomes larger than this value, doxygen will truncate the graph, which is +# visualized by representing a node as a red box. Note that doxygen if the +# number of direct children of the root node in a graph is already larger than +# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note +# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. + +DOT_GRAPH_MAX_NODES = 50 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes +# that lay further from the root node will be omitted. Note that setting this +# option to 1 or 2 may greatly reduce the computation time needed for large +# code bases. Also note that the size of a graph can be further restricted by +# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. + +MAX_DOT_GRAPH_DEPTH = 0 + +# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent +# background. This is enabled by default, which results in a transparent +# background. Warning: Depending on the platform used, enabling this option +# may lead to badly anti-aliased labels on the edges of a graph (i.e. they +# become hard to read). + +DOT_TRANSPARENT = YES + +# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output +# files in one run (i.e. multiple -o and -T options on the command line). This +# makes dot run faster, but since only newer versions of dot (>1.8.10) +# support this, this feature is disabled by default. + DOT_MULTI_TARGETS = NO + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + DOT_CLEANUP = YES + #--------------------------------------------------------------------------- # Configuration::additions related to the search engine #--------------------------------------------------------------------------- + +# The SEARCHENGINE tag specifies whether or not a search engine should be +# used. If set to NO the values of all tags below this one will be ignored. + SEARCHENGINE = NO diff -Nru qtsmbstatus-2.0.4/html/annotated.html qtsmbstatus-2.1.1/html/annotated.html --- qtsmbstatus-2.0.4/html/annotated.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/annotated.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,61 +0,0 @@ - - -qtsmbstatus.kdevelop: Class List - - - - - - -

qtsmbstatus.kdevelop Class List

Here are the classes, structs, unions and interfaces with brief descriptions: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ClientSocketThis class dialogs with server
ClientSSLControl SSL and TCP connections
Ui::configure
configure_windowsConfigure Qtsmbstatus-client
core_syntaxThis class manage the dialog between client and server
disconnect_managerKill a process
Ui::form_smbstatus
LineCoreAnalysis the lines of smbstatus reply
LineCore::record
Ui::logform
LogFormForm to view CIFS/SMB activities
Ui::login_dialog
login_windowsInputBox login and password
machineClass of machine items
main_windowsMain Window
MyApplicationReimplementing QApplication::commitData()
MySortFilterProxyModelReimplement QSortFilterProxyModel
PamThreadAuthenticate with PAM
process_smbd_existTest if PID it's a correct smbd process
Sendmessage_managerSend message popup (smbclient required)
serverClass of server items
ServerHandles new connections to the server
serviceClass of service items (share or locked file)
smbmanager
smbstatusAnalyse smbstatus reply
type_message
Ui_configure
Ui_form_smbstatus
Ui_logform
Ui_login_dialog
userClass of user items
-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classClientSocket.html qtsmbstatus-2.1.1/html/classClientSocket.html --- qtsmbstatus-2.0.4/html/classClientSocket.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classClientSocket.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,2031 +0,0 @@ - - -qtsmbstatus.kdevelop: ClientSocket Class Reference - - - - - - -

ClientSocket Class Reference

This class dialogs with server. -More... -

- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Slots

void socketConnectionClose ()

Signals

void SignalClosed ()
 Connection closed.
void SignalConnected ()
 Client connected.
void SignalErrorAuth ()
 Authentication error.
void SignalShortMessage (const QString &)
 Short messages for statusBar.

Public Member Functions

 ClientSocket (const int &sock, QObject *parent=0)
 ClientSocket (Q3ListView *mylistView, QObject *parent=0)
void connectionToServer (const QString &username, const QString &passwd)
void Disconnect ()
virtual ~ClientSocket ()
virtual ~ClientSocket ()

Static Public Attributes

static int compteur_objet = 0

Private Types

enum  command {
-  auth_rq, -auth_ack, -end, -kill_user, -
-  send_msg, -smb_rq, -smb_data, -end_smb_rq, -
-  not_imp1, -server_info, -error_auth, -error_command, -
-  error_obj, -echo_request, -echo_reply, -auth_rq, -
-  auth_ack, -end, -kill_user, -send_msg, -
-  smb_rq, -smb_data, -end_smb_rq, -not_imp1, -
-  server_info, -error_auth, -error_command, -error_obj, -
-  echo_request, -echo_reply -
- }
enum  command {
-  auth_rq, -auth_ack, -end, -kill_user, -
-  send_msg, -smb_rq, -smb_data, -end_smb_rq, -
-  not_imp1, -server_info, -error_auth, -error_command, -
-  error_obj, -echo_request, -echo_reply, -auth_rq, -
-  auth_ack, -end, -kill_user, -send_msg, -
-  smb_rq, -smb_data, -end_smb_rq, -not_imp1, -
-  server_info, -error_auth, -error_command, -error_obj, -
-  echo_request, -echo_reply -
- }

Private Slots

void add_lockedfile (const QString &, const QString &, const QString &, const QString &, const QString &, const QString &)
void add_share (const QString &, const QString &, const QString &)
void add_user (const QString &, const QString &, const QString &, const QString &, const QString &)
void AnalysisSmbDestroyed ()
void core (const Q3CString &rcv_txt)
void Exception ()
void InfoMachine ()
void InfoServer ()
void InfoService ()
void InfoUser ()
void ObjError (const QString &error_txt)
void readClient ()
void setSambaVersion (const QString &)
void slot_echo_timer ()
void slot_echo_timer ()
void slot_pam ()
void slot_smbstatus (const QStringList &)
void slot_timer ()
void slotDisconnectUser ()
void slotPopupMenu (Q3ListViewItem *, const QPoint &, int)
void slotSendMessage ()
void slotSendMessageAllUsers ()
void socketclosed ()
void socketconnected ()
void UnreachableHost ()

Private Member Functions

void AnalysisSmbstatus ()
void CmdAuthRq (const QString &texte)
void CmdKillUser (const QString &texte)
void CmdSendMsg (const QString &texte)
void CmdSmbRq ()
void core (const Q3CString &rcv_txt)
void infoserver (const QString &text)
void sendToClient (int cmd, const QString &em_txt="")
void sendToServer (int cmd, const QString &inputText="")

Private Attributes

bool AuthUser
 if user authenticated
Q3ListViewItem * currentPopupMenuItem
int echo
QTimer * echo_timer
QTimer * echo_timer
smbstatusInstanceSmbstatus
serveritem_server
QStringList ListSmbstatus
Q3ListView * listView
Q3PopupMenu * menu
QErrorMessage * msgError
PamThreadpamthread
QString passwd_login
bool permitDisconnectUser
 if client is authorized to disconnect user
bool permitSendMsg
 if client is authorized to send popup message
QSocketNotifier * sn_exception
QSocketNotifier * sn_read
int socket
ClientSSLsocketclient
Q3SocketDevice * socketdevice
SSL * ssl
bool ssl_connected
bool SSL_init
QTimer * timer
QTimer * timer
QString username_login

Static Private Attributes

static int TimoutTimerEcho = 30000
 Time between 2 echo request.
-


Detailed Description

-This class dialogs with server. -

-This class dialogs with client. (One object per client).

-

Date:
2007-07-05
-
Version:
1.1
-
Author:
Daniel Rocher
-
See also:
ClientSocket::command
-
Date:
2007-06-18
-
Version:
1.0
-
Author:
Daniel Rocher
-
See also:
Server
-
Parameters:
- - - -
sock Socket number
parent pointer to parent for this object
-
-

Member Enumeration Documentation

- -
-
- - - - -
enum ClientSocket::command [private]
-
-
- -

-

Enumerator:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
auth_rq  -
auth_ack  -
end  -
kill_user  -
send_msg  -
smb_rq  -
smb_data  -
end_smb_rq  -
not_imp1  -
server_info  -
error_auth  -
error_command  -
error_obj  -
echo_request  -
echo_reply  -
auth_rq  -
auth_ack  -
end  -
kill_user  -
send_msg  -
smb_rq  -
smb_data  -
end_smb_rq  -
not_imp1  -
server_info  -
error_auth  -
error_command  -
error_obj  -
echo_request  -
echo_reply  -
-
- -
-

- -

-
- - - - -
enum ClientSocket::command [private]
-
-
- -

-Protocol between server and client.

See also:
core_syntax
-
Enumerator:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
auth_rq  -
auth_ack  -
end  -
kill_user  -
send_msg  -
smb_rq  -
smb_data  -
end_smb_rq  -
not_imp1  -
server_info  -
error_auth  -
error_command  -
error_obj  -
echo_request  -
echo_reply  -
auth_rq  -
auth_ack  -
end  -
kill_user  -
send_msg  -
smb_rq  -
smb_data  -
end_smb_rq  -
not_imp1  -
server_info  -
error_auth  -
error_command  -
error_obj  -
echo_request  -
echo_reply  -
-
- -
-

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
ClientSocket::ClientSocket (Q3ListView *  mylistView,
QObject *  parent = 0 
)
-
-
- -

-

Parameters:
- - - -
mylistView pointer to listview
parent pointer to parent for this object
-
- -
-

- -

-
- - - - - - - - -
ClientSocket::~ClientSocket (  )  [virtual]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
ClientSocket::ClientSocket (const int &  sock,
QObject *  parent = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
virtual ClientSocket::~ClientSocket (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ClientSocket::add_lockedfile (const QString &  strPid,
const QString &  strName,
const QString &  strMode,
const QString &  strRW,
const QString &  strOplock,
const QString &  strDateOpen 
) [private, slot]
-
-
- -

-InstanceSmbstatus has found a file opened (locked file)

Parameters:
- - - - - - - -
strPid PID
strName File name
strMode Mode
strRW RW
strOplock Oplock
strDateOpen date
-
-
See also:
smbstatus
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
void ClientSocket::add_share (const QString &  strPid,
const QString &  strShare,
const QString &  strConnected 
) [private, slot]
-
-
- -

-InstanceSmbstatus has found a share

Parameters:
- - - - -
strPid PID
strShare Share name
strConnected date
-
-
See also:
smbstatus
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ClientSocket::add_user (const QString &  strPid,
const QString &  strUser,
const QString &  strGroup,
const QString &  strMachineName,
const QString &  strMachineIP 
) [private, slot]
-
-
- -

-InstanceSmbstatus has found an user

Parameters:
- - - - - - -
strPid PID
strUser User name
strGroup Group name
strMachineName Machine name
strMachineIP IP address
-
-
See also:
smbstatus
- -
-

- -

-
- - - - - - - - -
void ClientSocket::AnalysisSmbDestroyed (  )  [private, slot]
-
-
- -

-InstanceSmbstatus has finished his work

See also:
smbstatus
- -
-

- -

-
- - - - - - - - -
void ClientSocket::AnalysisSmbstatus (  )  [private]
-
-
- -

-Interpret smbstatus reply.

See also:
smbstatus
- -
-

- -

-
- - - - - - - - - -
void ClientSocket::CmdAuthRq (const QString &  texte  )  [private]
-
-
- -

-Authentication Request

Parameters:
- - -
texte arg=1=username, arg2=password
-
-
See also:
core_syntax PamThread
- -
-

- -

-
- - - - - - - - - -
void ClientSocket::CmdKillUser (const QString &  texte  )  [private]
-
-
- -

-Request from client to disconnect an user

Parameters:
- - -
texte arg1=PID, arg2=username
-
-
See also:
ClientSocket::permitDisconnectUser

-process_smbd_exist

- -
-

- -

-
- - - - - - - - - -
void ClientSocket::CmdSendMsg (const QString &  texte  )  [private]
-
-
- -

-Request from client to send popup message

Parameters:
- - -
texte arg1=machine, arg2=message to be sent
-
-
See also:
ClientSocket::permitSendMsg

-Sendmessage_manager

- -
-

- -

-
- - - - - - - - -
void ClientSocket::CmdSmbRq (  )  [private]
-
-
- -

-Run Smbstatus request -

-

- -

-
- - - - - - - - - - - - - - - - - - -
void ClientSocket::connectionToServer (const QString &  username,
const QString &  passwd 
)
-
-
- -

-Connect to server

Parameters:
- - - -
username username (a valid login on server)
passwd password (a valid password on server)
-
- -
-

- -

-
- - - - - - - - - -
void ClientSocket::core (const Q3CString &  rcv_txt  )  [private]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void ClientSocket::core (const Q3CString &  rcv_txt  )  [private, slot]
-
-
- -

-Protocol interpreter. analyze the server's answers.

Parameters:
- - -
rcv_txt data sent by server
-
-
See also:
ClientSSL core_syntax
-Protocol interpreter. analyze the client's answers.
Parameters:
- - -
rcv_txt data sent by client
-
-
See also:
core_syntax
- -
-

- -

-
- - - - - - - - -
void ClientSocket::Disconnect (  ) 
-
-
- -

-Close TCP connection -

-

- -

-
- - - - - - - - -
void ClientSocket::Exception (  )  [private, slot]
-
-
- -

-There is a TCP error -

-

- -

-
- - - - - - - - -
void ClientSocket::InfoMachine (  )  [private, slot]
-
-
- -

-View machine informations

See also:
slotPopupMenu

-server::ViewInfoMachine

- -
-

- -

-
- - - - - - - - - -
void ClientSocket::infoserver (const QString &  text  )  [private]
-
-
- -

-Receive informations from server (right for current client)

Parameters:
- - -
text client's right:
-	0000 0001 : permit client to disconnect an user
-	0000 0010 : permit client to send popup messages (popupwindows)
-	
-
- -
-

- -

-
- - - - - - - - -
void ClientSocket::InfoServer (  )  [private, slot]
-
-
- -

-View samba version

See also:
slotPopupMenu

-server::ViewInfoUser

- -
-

- -

-
- - - - - - - - -
void ClientSocket::InfoService (  )  [private, slot]
-
-
- -

-View service informations (locked file or share)

See also:
slotPopupMenu

-server::ViewInfoService

- -
-

- -

-
- - - - - - - - -
void ClientSocket::InfoUser (  )  [private, slot]
-
-
- -

-View user informations

See also:
slotPopupMenu

-server::ViewInfoUser

- -
-

- -

-
- - - - - - - - - -
void ClientSocket::ObjError (const QString &  error_txt  )  [private, slot]
-
-
- -

-Slot : receive objects errors and send it to client.

Parameters:
- - -
error_txt error to be sent
-
- -
-

- -

-
- - - - - - - - -
void ClientSocket::readClient (  )  [private, slot]
-
-
- -

-Receive datas from client

See also:
sendToClient
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
void ClientSocket::sendToClient (int  cmd,
const QString &  em_txt = "" 
) [private]
-
-
- -

-Send datas to client

Parameters:
- - - -
inputText datas to send
cmd command
-
-
See also:
ClientSocket::command

-readClient

-core_syntax

- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
void ClientSocket::sendToServer (int  cmd,
const QString &  inputText = "" 
) [private]
-
-
- -

-Send data to server.

Parameters:
- - -
cmd command
-
-
See also:
ClientSocket::command

-ClientSSL core_syntax

- -
-

- -

-
- - - - - - - - - -
void ClientSocket::setSambaVersion (const QString &  version_samba  )  [private, slot]
-
-
- -

-InstanceSmbstatus sends samba version.

Parameters:
- - -
version_samba samba version
-
-
See also:
smbstatus
- -
-

- -

-
- - - - - - - - -
void ClientSocket::SignalClosed (  )  [signal]
-
-
- -

-Connection closed. -

- -

-

- -

-
- - - - - - - - -
void ClientSocket::SignalConnected (  )  [signal]
-
-
- -

-Client connected. -

- -

-

- -

-
- - - - - - - - -
void ClientSocket::SignalErrorAuth (  )  [signal]
-
-
- -

-Authentication error. -

- -

-

- -

-
- - - - - - - - - -
void ClientSocket::SignalShortMessage (const QString &  _t1  )  [signal]
-
-
- -

-Short messages for statusBar. -

- -

-

- -

-
- - - - - - - - -
void ClientSocket::slot_echo_timer (  )  [private, slot]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void ClientSocket::slot_echo_timer (  )  [private, slot]
-
-
- -

-Timer ending (echo), sends a new echo request. After 3 failures, disconnect. -

-

- -

-
- - - - - - - - -
void ClientSocket::slot_pam (  )  [private, slot]
-
-
- -

-test if pamthread has terminated -

-

- -

-
- - - - - - - - - -
void ClientSocket::slot_smbstatus (const QStringList &  rcv_smb  )  [private, slot]
-
-
- -

-Slot : Receive smbstatus reply. -

-

- -

-
- - - - - - - - -
void ClientSocket::slot_timer (  )  [private, slot]
-
-
- -

-Slot smbstatus timer Request smbstatus to server -

-

- -

-
- - - - - - - - -
void ClientSocket::slotDisconnectUser (  )  [private, slot]
-
-
- -

-Disconnect an user

See also:
slotPopupMenu
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
void ClientSocket::slotPopupMenu (Q3ListViewItem *  Item,
const QPoint &  point,
int  
) [private, slot]
-
-
- -

-popup menu -

-

- -

-
- - - - - - - - -
void ClientSocket::slotSendMessage (  )  [private, slot]
-
-
- -

-send out messages (popupwindows) to one user

See also:
slotPopupMenu
- -
-

- -

-
- - - - - - - - -
void ClientSocket::slotSendMessageAllUsers (  )  [private, slot]
-
-
- -

-send out messages (popupwindows) to all users

See also:
slotPopupMenu
- -
-

- -

-
- - - - - - - - -
void ClientSocket::socketclosed (  )  [private, slot]
-
-
- -

-Slot connection is closed -

-

- -

-
- - - - - - - - -
void ClientSocket::socketconnected (  )  [private, slot]
-
-
- -

-SLot connection is OK -

-

- -

-
- - - - - - - - -
void ClientSocket::socketConnectionClose (  )  [slot]
-
-
- -

-Close connection. -

-

- -

-
- - - - - - - - -
void ClientSocket::UnreachableHost (  )  [private, slot]
-
-
- -

-Host is unreachable -

-

-


Member Data Documentation

- -
-
- - - - -
bool ClientSocket::AuthUser [private]
-
-
- -

-if user authenticated -

- -

-

- -

-
- - - - -
static int ClientSocket::compteur_objet = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
Q3ListViewItem* ClientSocket::currentPopupMenuItem [private]
-
-
- -

- -

-

- -

-
- - - - -
int ClientSocket::echo [private]
-
-
- -

- -

-

- -

-
- - - - -
QTimer* ClientSocket::echo_timer [private]
-
-
- -

- -

-

- -

-
- - - - -
QTimer* ClientSocket::echo_timer [private]
-
-
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
server* ClientSocket::item_server [private]
-
-
- -

- -

-

- -

-
- - - - -
QStringList ClientSocket::ListSmbstatus [private]
-
-
- -

- -

-

- -

-
- - - - -
Q3ListView* ClientSocket::listView [private]
-
-
- -

- -

-

- -

-
- - - - -
Q3PopupMenu* ClientSocket::menu [private]
-
-
- -

- -

-

- -

-
- - - - -
QErrorMessage* ClientSocket::msgError [private]
-
-
- -

- -

-

- -

-
- - - - -
PamThread* ClientSocket::pamthread [private]
-
-
- -

- -

-

- -

-
- - - - -
QString ClientSocket::passwd_login [private]
-
-
- -

- -

-

- -

-
- - - - -
bool ClientSocket::permitDisconnectUser [private]
-
-
- -

-if client is authorized to disconnect user -

- -

-

- -

-
- - - - -
bool ClientSocket::permitSendMsg [private]
-
-
- -

-if client is authorized to send popup message -

- -

-

- -

-
- - - - -
QSocketNotifier* ClientSocket::sn_exception [private]
-
-
- -

- -

-

- -

-
- - - - -
QSocketNotifier* ClientSocket::sn_read [private]
-
-
- -

- -

-

- -

-
- - - - -
int ClientSocket::socket [private]
-
-
- -

- -

-

- -

-
- - - - -
ClientSSL* ClientSocket::socketclient [private]
-
-
- -

- -

-

- -

-
- - - - -
Q3SocketDevice* ClientSocket::socketdevice [private]
-
-
- -

- -

-

- -

-
- - - - -
SSL* ClientSocket::ssl [private]
-
-
- -

- -

-

- -

-
- - - - -
bool ClientSocket::ssl_connected [private]
-
-
- -

- -

-

- -

-
- - - - -
bool ClientSocket::SSL_init [private]
-
-
- -

- -

-

- -

-
- - - - -
QTimer* ClientSocket::timer [private]
-
-
- -

- -

-

- -

-
- - - - -
QTimer* ClientSocket::timer [private]
-
-
- -

- -

-

- -

-
- - - - -
static int ClientSocket::TimoutTimerEcho = 30000 [static, private]
-
-
- -

-Time between 2 echo request. -

- -

-

- -

-
- - - - -
QString ClientSocket::username_login [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classClientSocket-members.html qtsmbstatus-2.1.1/html/classClientSocket-members.html --- qtsmbstatus-2.0.4/html/classClientSocket-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classClientSocket-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,119 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

ClientSocket Member List

This is the complete list of members for ClientSocket, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
add_lockedfile(const QString &, const QString &, const QString &, const QString &, const QString &, const QString &)ClientSocket [private, slot]
add_share(const QString &, const QString &, const QString &)ClientSocket [private, slot]
add_user(const QString &, const QString &, const QString &, const QString &, const QString &)ClientSocket [private, slot]
AnalysisSmbDestroyed()ClientSocket [private, slot]
AnalysisSmbstatus()ClientSocket [private]
auth_ack enum valueClientSocket [private]
auth_rq enum valueClientSocket [private]
AuthUserClientSocket [private]
ClientSocket(Q3ListView *mylistView, QObject *parent=0)ClientSocket
ClientSocket(const int &sock, QObject *parent=0)ClientSocket
CmdAuthRq(const QString &texte)ClientSocket [private]
CmdKillUser(const QString &texte)ClientSocket [private]
CmdSendMsg(const QString &texte)ClientSocket [private]
CmdSmbRq()ClientSocket [private]
command enum nameClientSocket [private]
command enum nameClientSocket [private]
compteur_objetClientSocket [static]
connectionToServer(const QString &username, const QString &passwd)ClientSocket
core(const Q3CString &rcv_txt)ClientSocket [private, slot]
core(const Q3CString &rcv_txt)ClientSocket [private]
currentPopupMenuItemClientSocket [private]
Disconnect()ClientSocket
echoClientSocket [private]
echo_reply enum valueClientSocket [private]
echo_request enum valueClientSocket [private]
echo_timerClientSocket [private]
echo_timerClientSocket [private]
end enum valueClientSocket [private]
end_smb_rq enum valueClientSocket [private]
error_auth enum valueClientSocket [private]
error_command enum valueClientSocket [private]
error_obj enum valueClientSocket [private]
Exception()ClientSocket [private, slot]
InfoMachine()ClientSocket [private, slot]
infoserver(const QString &text)ClientSocket [private]
InfoServer()ClientSocket [private, slot]
InfoService()ClientSocket [private, slot]
InfoUser()ClientSocket [private, slot]
InstanceSmbstatusClientSocket [private]
item_serverClientSocket [private]
kill_user enum valueClientSocket [private]
ListSmbstatusClientSocket [private]
listViewClientSocket [private]
menuClientSocket [private]
msgErrorClientSocket [private]
not_imp1 enum valueClientSocket [private]
ObjError(const QString &error_txt)ClientSocket [private, slot]
pamthreadClientSocket [private]
passwd_loginClientSocket [private]
permitDisconnectUserClientSocket [private]
permitSendMsgClientSocket [private]
readClient()ClientSocket [private, slot]
send_msg enum valueClientSocket [private]
sendToClient(int cmd, const QString &em_txt="")ClientSocket [private]
sendToServer(int cmd, const QString &inputText="")ClientSocket [private]
server_info enum valueClientSocket [private]
setSambaVersion(const QString &)ClientSocket [private, slot]
SignalClosed()ClientSocket [signal]
SignalConnected()ClientSocket [signal]
SignalErrorAuth()ClientSocket [signal]
SignalShortMessage(const QString &)ClientSocket [signal]
slot_echo_timer()ClientSocket [private, slot]
slot_echo_timer()ClientSocket [private, slot]
slot_pam()ClientSocket [private, slot]
slot_smbstatus(const QStringList &)ClientSocket [private, slot]
slot_timer()ClientSocket [private, slot]
slotDisconnectUser()ClientSocket [private, slot]
slotPopupMenu(Q3ListViewItem *, const QPoint &, int)ClientSocket [private, slot]
slotSendMessage()ClientSocket [private, slot]
slotSendMessageAllUsers()ClientSocket [private, slot]
smb_data enum valueClientSocket [private]
smb_rq enum valueClientSocket [private]
sn_exceptionClientSocket [private]
sn_readClientSocket [private]
socketClientSocket [private]
socketclientClientSocket [private]
socketclosed()ClientSocket [private, slot]
socketconnected()ClientSocket [private, slot]
socketConnectionClose()ClientSocket [slot]
socketdeviceClientSocket [private]
sslClientSocket [private]
ssl_connectedClientSocket [private]
SSL_initClientSocket [private]
timerClientSocket [private]
timerClientSocket [private]
TimoutTimerEchoClientSocket [private, static]
UnreachableHost()ClientSocket [private, slot]
username_loginClientSocket [private]
~ClientSocket()ClientSocket [virtual]
~ClientSocket()ClientSocket [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classClientSSL.html qtsmbstatus-2.1.1/html/classClientSSL.html --- qtsmbstatus-2.0.4/html/classClientSSL.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classClientSSL.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,601 +0,0 @@ - - -qtsmbstatus.kdevelop: ClientSSL Class Reference - - - - - - -

ClientSSL Class Reference

Control SSL and TCP connections. -More... -

- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Signals

void info (const QString &)
void readFromHost (const Q3CString &)
void socketclosed ()
void socketconnected ()
void Socketerror ()
void UnreachableHost ()

Public Member Functions

 ClientSSL (QObject *parent=0)
void closeConnection ()
void Connect (const QString &d_host, Q_UINT16 d_port)
void sendToServer (const QString &inputText="")
virtual ~ClientSSL ()

Static Public Attributes

static int compteur_objet = 0

Private Slots

void connectToHost ()
void Exception ()
void ResolveName (QHostInfo host_info)
void socketClosed ()
void socketConnected ()
void socketReadyRead ()

Private Attributes

QString host
Q_UINT16 port
QSocketNotifier * sn_exception
QSocketNotifier * sn_read
Q3SocketDevice * socketdevice
SSL * ssl
SSL_CTX * ssl_ctx
bool SSL_init
-


Detailed Description

-Control SSL and TCP connections. -

-

Date:
2007-06-14
-
Version:
1.0
-
Author:
Daniel Rocher
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - -
ClientSSL::ClientSSL (QObject *  parent = 0  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
ClientSSL::~ClientSSL (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
void ClientSSL::closeConnection (  ) 
-
-
- -

-Close Connection -

-

- -

-
- - - - - - - - - - - - - - - - - - -
void ClientSSL::Connect (const QString &  d_host,
Q_UINT16  d_port 
)
-
-
- -

-Connect to Host

Parameters:
- - - -
d_host host address or host name
d_port TCP port
-
-
See also:
ResolveName

-connectToHost

- -
-

- -

-
- - - - - - - - -
void ClientSSL::connectToHost (  )  [private, slot]
-
-
- -

-Start connection

See also:
ResolveName

-Connect

- -
-

- -

-
- - - - - - - - -
void ClientSSL::Exception (  )  [private, slot]
-
-
- -

-There is a TCP error -

-

- -

-
- - - - - - - - - -
void ClientSSL::info (const QString &  _t1  )  [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void ClientSSL::readFromHost (const Q3CString &  _t1  )  [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void ClientSSL::ResolveName (QHostInfo  host_info  )  [private, slot]
-
-
- -

-Result of the lookup

Parameters:
- - -
host_info object can then be inspected to get the results of the lookup
-
- -
-

- -

-
- - - - - - - - - -
void ClientSSL::sendToServer (const QString &  inputText = ""  ) 
-
-
- -

-Send datas to server

Parameters:
- - -
inputText datas to send
-
-
See also:
socketReadyRead
- -
-

- -

-
- - - - - - - - -
void ClientSSL::socketClosed (  )  [private, slot]
-
-
- -

-Connection closed

See also:
closeConnection
- -
-

- -

-
- - - - - - - - -
void ClientSSL::socketclosed (  )  [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void ClientSSL::socketConnected (  )  [private, slot]
-
-
- -

-Socket connected. Run SSL

See also:
connectToHost
- -
-

- -

-
- - - - - - - - -
void ClientSSL::socketconnected (  )  [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void ClientSSL::Socketerror (  )  [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void ClientSSL::socketReadyRead (  )  [private, slot]
-
-
- -

-Receive datas from server

See also:
sendToServer
- -
-

- -

-
- - - - - - - - -
void ClientSSL::UnreachableHost (  )  [signal]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
int ClientSSL::compteur_objet = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
QString ClientSSL::host [private]
-
-
- -

- -

-

- -

-
- - - - -
Q_UINT16 ClientSSL::port [private]
-
-
- -

- -

-

- -

-
- - - - -
QSocketNotifier* ClientSSL::sn_exception [private]
-
-
- -

- -

-

- -

-
- - - - -
QSocketNotifier* ClientSSL::sn_read [private]
-
-
- -

- -

-

- -

-
- - - - -
Q3SocketDevice* ClientSSL::socketdevice [private]
-
-
- -

- -

-

- -

-
- - - - -
SSL* ClientSSL::ssl [private]
-
-
- -

- -

-

- -

-
- - - - -
SSL_CTX* ClientSSL::ssl_ctx [private]
-
-
- -

- -

-

- -

-
- - - - -
bool ClientSSL::SSL_init [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classClientSSL-members.html qtsmbstatus-2.1.1/html/classClientSSL-members.html --- qtsmbstatus-2.0.4/html/classClientSSL-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classClientSSL-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,55 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

ClientSSL Member List

This is the complete list of members for ClientSSL, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - -
ClientSSL(QObject *parent=0)ClientSSL
closeConnection()ClientSSL
compteur_objetClientSSL [static]
Connect(const QString &d_host, Q_UINT16 d_port)ClientSSL
connectToHost()ClientSSL [private, slot]
Exception()ClientSSL [private, slot]
hostClientSSL [private]
info(const QString &)ClientSSL [signal]
portClientSSL [private]
readFromHost(const Q3CString &)ClientSSL [signal]
ResolveName(QHostInfo host_info)ClientSSL [private, slot]
sendToServer(const QString &inputText="")ClientSSL
sn_exceptionClientSSL [private]
sn_readClientSSL [private]
socketclosed()ClientSSL [signal]
socketClosed()ClientSSL [private, slot]
socketconnected()ClientSSL [signal]
socketConnected()ClientSSL [private, slot]
socketdeviceClientSSL [private]
Socketerror()ClientSSL [signal]
socketReadyRead()ClientSSL [private, slot]
sslClientSSL [private]
ssl_ctxClientSSL [private]
SSL_initClientSSL [private]
UnreachableHost()ClientSSL [signal]
~ClientSSL()ClientSSL [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classconfigure__windows.html qtsmbstatus-2.1.1/html/classconfigure__windows.html --- qtsmbstatus-2.0.4/html/classconfigure__windows.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classconfigure__windows.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,193 +0,0 @@ - - -qtsmbstatus.kdevelop: configure_windows Class Reference - - - - - - -

configure_windows Class Reference

Configure Qtsmbstatus-client. -More... -

-

-Inheritance diagram for configure_windows:
-
- -

- -Ui::configure -Ui_configure - -
- -

-List of all members. - - - - - - - - - - - - - - - - -

Signals

void configuration_changed ()

Public Member Functions

 configure_windows (QWidget *parent=0)
virtual ~configure_windows ()

Private Slots

virtual void on_checkIcon_toggled (bool)
virtual void on_checkLogActivity_toggled (bool checked)
virtual void SlotOk ()
-


Detailed Description

-Configure Qtsmbstatus-client. -

-

Parameters:
- - -
parent pointer to the parent object
-
-
Date:
2007-06-21
-
Version:
1.4
-
Author:
Daniel Rocher
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - -
configure_windows::configure_windows (QWidget *  parent = 0  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
configure_windows::~configure_windows (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
void configure_windows::configuration_changed (  )  [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void configure_windows::on_checkIcon_toggled (bool  checked  )  [private, virtual, slot]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void configure_windows::on_checkLogActivity_toggled (bool  checked  )  [private, virtual, slot]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void configure_windows::SlotOk (  )  [private, virtual, slot]
-
-
- -

-Save configuration -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classconfigure__windows-members.html qtsmbstatus-2.1.1/html/classconfigure__windows-members.html --- qtsmbstatus-2.0.4/html/classconfigure__windows-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classconfigure__windows-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,65 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

configure_windows Member List

This is the complete list of members for configure_windows, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
cancelButtonUi_configure
checkAutoconnectUi_configure
checkIconUi_configure
checkLogActivityUi_configure
checkNotificationUi_configure
checkViewHiddenSharesUi_configure
configuration_changed()configure_windows [signal]
configure_windows(QWidget *parent=0)configure_windows
EditHostUi_configure
EditUsernameUi_configure
gridLayoutUi_configure
gridLayout1Ui_configure
gridLayout2Ui_configure
gridLayout3Ui_configure
groupBoxUi_configure
groupBox_2Ui_configure
groupBox_3Ui_configure
limitLogBoxUi_configure
okButtonUi_configure
on_checkIcon_toggled(bool)configure_windows [private, virtual, slot]
on_checkLogActivity_toggled(bool checked)configure_windows [private, virtual, slot]
retranslateUi(QDialog *configure)Ui_configure [inline]
setupUi(QDialog *configure)Ui_configure [inline]
SlotOk()configure_windows [private, virtual, slot]
spacerItemUi_configure
spacerItem1Ui_configure
spacerItem2Ui_configure
spacerItem3Ui_configure
spacerItem4Ui_configure
spinIntervalUi_configure
textLabel1_2Ui_configure
textLabel1_3Ui_configure
textLabel1_3_2Ui_configure
textLabel1_4Ui_configure
textLabel1_5Ui_configure
~configure_windows()configure_windows [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/classconfigure__windows.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/classconfigure__windows.png sont différents. diff -Nru qtsmbstatus-2.0.4/html/classcore__syntax.html qtsmbstatus-2.1.1/html/classcore__syntax.html --- qtsmbstatus-2.0.4/html/classcore__syntax.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classcore__syntax.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,193 +0,0 @@ - - -qtsmbstatus.kdevelop: core_syntax Class Reference - - - - - - -

core_syntax Class Reference

This class manage the dialog between client and server. -More... -

- -

-List of all members. - - - - - - - - - - - - - -

Public Member Functions

 core_syntax (const QString &="")
QString returnArg (int index)
void setValue (const QString &)
virtual ~core_syntax ()

Private Attributes

QString myTxt
-


Detailed Description

-This class manage the dialog between client and server. -

-

Date:
2007-06-17
-
Version:
1.0
-
Author:
Daniel Rocher
-Client and server use a protocol :

-

-	command  client server   definition
-	- auth_rq       ->         Authentication request (login+password)
-	- auth_ack      <-         Authentication OK
-	- end           <->        Stop connection
-	- kill_user     ->         Disconnect an user
-	- send_msg      ->         Send a popup windows
-	- smb_rq        ->         Sambstatus request
-	- smb_data      <-         smbstatus reply
-	- end_smb_rq    <-         smbstatus command finish
-	- not_imp1                 Not implemented	
-	- server_info   <-         Server Information (right for current client : permit disconnect an user,...)
-	- error_auth    <-         Authentication error (bad password,...)
-	- error_command <-         Command error (server informs client : the last command is not recognized)
-	- error_obj     <-         Server wants to open a dialogbox to visualize an error
-	- echo_request  <->        Test if connection is correct (is not dead)
-	- echo_reply    <->        connection is correct
-	

-syntax:

-	[command]field1;field2
-	

-

    -
  • command is an integer
  • field1 and field2 are optional
-

-exemple:

-	[auth_rq]login;password
-	[end]
-	[smb_rq]
-	

Constructor & Destructor Documentation

- -
-
- - - - - - - - - -
core_syntax::core_syntax (const QString &  mte = ""  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
core_syntax::~core_syntax (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - -
QString core_syntax::returnArg (int  index  ) 
-
-
- -

-Return value of an argument

Parameters:
- - -
index index of argument
-
-
Returns:
value of argument index
- -
-

- -

-
- - - - - - - - - -
void core_syntax::setValue (const QString &  mte  ) 
-
-
- -

-

Parameters:
- - -
mte line to be analyzed
-
- -
-

-


Member Data Documentation

- -
-
- - - - -
QString core_syntax::myTxt [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classcore__syntax-members.html qtsmbstatus-2.1.1/html/classcore__syntax-members.html --- qtsmbstatus-2.0.4/html/classcore__syntax-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classcore__syntax-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,34 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

core_syntax Member List

This is the complete list of members for core_syntax, including all inherited members.

- - - - - -
core_syntax(const QString &="")core_syntax
myTxtcore_syntax [private]
returnArg(int index)core_syntax
setValue(const QString &)core_syntax
~core_syntax()core_syntax [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classdisconnect__manager.html qtsmbstatus-2.1.1/html/classdisconnect__manager.html --- qtsmbstatus-2.0.4/html/classdisconnect__manager.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classdisconnect__manager.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,314 +0,0 @@ - - -qtsmbstatus.kdevelop: disconnect_manager Class Reference - - - - - - -

disconnect_manager Class Reference

Kill a process. -More... -

- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Signals

void ObjError (const QString &)

Public Member Functions

 disconnect_manager (const QString &MyPID, const QString &USER, QObject *parent=0)
virtual ~disconnect_manager ()

Static Public Attributes

static int compteur_objet = 0

Private Types

enum  { begin, -error - }

Private Slots

void end_process ()
void ReadStderr ()

Private Attributes

bool error_proc
QString MyPid
Q3Process * proc
enum
-disconnect_manager:: { ... }  
State
QString user
-


Detailed Description

-Kill a process. -

-

Date:
2007-06-18
-
Version:
1.0
-
Author:
Daniel Rocher
-
Parameters:
- - - - -
MyPID PID of process
USER username
parent pointer to parent for this object
-
-
See also:
process_smbd_exist
-

Member Enumeration Documentation

- -
-
- - - - -
anonymous enum [private]
-
-
- -

-

Enumerator:
- - - -
begin  -
error  -
-
- -
-

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
disconnect_manager::disconnect_manager (const QString &  MyPID,
const QString &  USER,
QObject *  parent = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
disconnect_manager::~disconnect_manager (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
void disconnect_manager::end_process (  )  [private, slot]
-
-
- -

-Process ending -

-

- -

-
- - - - - - - - - -
void disconnect_manager::ObjError (const QString &  _t1  )  [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void disconnect_manager::ReadStderr (  )  [private, slot]
-
-
- -

-Read errors -

-

-


Member Data Documentation

- -
-
- - - - -
int disconnect_manager::compteur_objet = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
bool disconnect_manager::error_proc [private]
-
-
- -

- -

-

- -

-
- - - - -
QString disconnect_manager::MyPid [private]
-
-
- -

- -

-

- -

-
- - - - -
Q3Process* disconnect_manager::proc [private]
-
-
- -

- -

-

- -

-
- - - - -
enum { ... } disconnect_manager::State [private]
-
-
- -

- -

-

- -

-
- - - - -
QString disconnect_manager::user [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classdisconnect__manager-members.html qtsmbstatus-2.1.1/html/classdisconnect__manager-members.html --- qtsmbstatus-2.0.4/html/classdisconnect__manager-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classdisconnect__manager-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,42 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

disconnect_manager Member List

This is the complete list of members for disconnect_manager, including all inherited members.

- - - - - - - - - - - - - -
begin enum valuedisconnect_manager [private]
compteur_objetdisconnect_manager [static]
disconnect_manager(const QString &MyPID, const QString &USER, QObject *parent=0)disconnect_manager
end_process()disconnect_manager [private, slot]
error enum valuedisconnect_manager [private]
error_procdisconnect_manager [private]
MyPiddisconnect_manager [private]
ObjError(const QString &)disconnect_manager [signal]
procdisconnect_manager [private]
ReadStderr()disconnect_manager [private, slot]
Statedisconnect_manager [private]
userdisconnect_manager [private]
~disconnect_manager()disconnect_manager [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classLineCore.html qtsmbstatus-2.1.1/html/classLineCore.html --- qtsmbstatus-2.0.4/html/classLineCore.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classLineCore.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,378 +0,0 @@ - - -qtsmbstatus.kdevelop: LineCore Class Reference - - - - - - -

LineCore Class Reference

Analysis the lines of smbstatus reply. -More... -

- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

void Analysis (const QString &OneLine)
bool InitElement (QString element)
void InitHeader (const QString &OneHeader)
 LineCore (QObject *parent=0)
QString ReturnElement (QString element)
void SortElements ()
 ~LineCore ()

Static Public Attributes

static int compteur_objet = 0

Private Types

typedef Q3ValueList
-< record
recordList

Private Attributes

bool analysisProc
QString header
bool initHead
QString line
recordList listElement

Static Private Attributes

static const short int back = 2

Classes

struct  record
-


Detailed Description

-Analysis the lines of smbstatus reply. -

-

Date:
2007-06-15
-
Version:
1.0
-
Author:
Daniel Rocher
-
See also:
smbstatus
-

Member Typedef Documentation

- -
-
- - - - -
typedef Q3ValueList<record> LineCore::recordList [private]
-
-
- -

- -

-

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - -
LineCore::LineCore (QObject *  parent = 0  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
LineCore::~LineCore (  ) 
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - -
void LineCore::Analysis (const QString &  OneLine  ) 
-
-
- -

-Analysis one line

Parameters:
- - -
OneLine one line of smbstatus (without the header).
-
-Exemple:
-	3456   DENY_NONE  0x1         RDONLY     NONE             /home/villou/Utilitaires/qtsmbstatus.pdf   Fri Sep 10 14:14:12 2004
-	
-
-

- -

-
- - - - - - - - - -
bool LineCore::InitElement (QString  element  ) 
-
-
- -

-Find field on header

Parameters:
- - -
element field
-
-
Return values:
- - - -
true field exist
false field doesn't exist
-
-
See also:
InitHeader Exemple: "Pid", "DenyMode", ...
- -
-

- -

-
- - - - - - - - - -
void LineCore::InitHeader (const QString &  OneHeader  ) 
-
-
- -

-Init header. Received header for one section.

Parameters:
- - -
OneHeader header of one section (connections, shares, locked files, ...).
-
-Exemple:
-	Pid    DenyMode   Access      R/W        Oplock           Name
-	
-
-

- -

-
- - - - - - - - - -
QString LineCore::ReturnElement (QString  element  ) 
-
-
- -

-Return one field contents

Parameters:
- - -
element field name
-
-
Returns:
one field contents
- -
-

- -

-
- - - - - - - - -
void LineCore::SortElements (  ) 
-
-
- -

-Sort records -

-

-


Member Data Documentation

- -
-
- - - - -
bool LineCore::analysisProc [private]
-
-
- -

- -

-

- -

-
- - - - -
const short int LineCore::back = 2 [static, private]
-
-
- -

- -

-

- -

-
- - - - -
int LineCore::compteur_objet = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
QString LineCore::header [private]
-
-
- -

- -

-

- -

-
- - - - -
bool LineCore::initHead [private]
-
-
- -

- -

-

- -

-
- - - - -
QString LineCore::line [private]
-
-
- -

- -

-

- -

-
- - - - -
recordList LineCore::listElement [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classLineCore-members.html qtsmbstatus-2.1.1/html/classLineCore-members.html --- qtsmbstatus-2.0.4/html/classLineCore-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classLineCore-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,44 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

LineCore Member List

This is the complete list of members for LineCore, including all inherited members.

- - - - - - - - - - - - - - - -
Analysis(const QString &OneLine)LineCore
analysisProcLineCore [private]
backLineCore [private, static]
compteur_objetLineCore [static]
headerLineCore [private]
InitElement(QString element)LineCore
initHeadLineCore [private]
InitHeader(const QString &OneHeader)LineCore
lineLineCore [private]
LineCore(QObject *parent=0)LineCore
listElementLineCore [private]
recordList typedefLineCore [private]
ReturnElement(QString element)LineCore
SortElements()LineCore
~LineCore()LineCore


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classLogForm.html qtsmbstatus-2.1.1/html/classLogForm.html --- qtsmbstatus-2.0.4/html/classLogForm.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classLogForm.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,316 +0,0 @@ - - -qtsmbstatus.kdevelop: LogForm Class Reference - - - - - - -

LogForm Class Reference

Form to view CIFS/SMB activities. -More... -

-

-Inheritance diagram for LogForm:
-
- -

- -Ui::logform -Ui_logform - -
- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Slots

void append (const type_message &)
void eraseOldLog ()
void on_clearButton_clicked ()
void on_filterEdit_textChanged ()

Public Member Functions

 LogForm (QWidget *parent=0)
void setHeader ()
virtual ~LogForm ()

Private Slots

void on_checkFile_stateChanged (int state)
void on_checkShare_stateChanged (int state)
void on_SaveLogButton_clicked ()

Private Attributes

QStandardItemModel * model
MySortFilterProxyModelproxyModel
-


Detailed Description

-Form to view CIFS/SMB activities. -

-

Date:
2007-06-27
-
Version:
1.1
-
Parameters:
- - -
parent pointer to the parent object
-
-
Author:
Daniel Rocher
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - -
LogForm::LogForm (QWidget *  parent = 0  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
LogForm::~LogForm (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - -
void LogForm::append (const type_message Tmessage  )  [slot]
-
-
- -

-Add new data

See also:
type_message
- -
-

- -

-
- - - - - - - - -
void LogForm::eraseOldLog (  )  [slot]
-
-
- -

-erase old log

See also:
limitLog
- -
-

- -

-
- - - - - - - - - -
void LogForm::on_checkFile_stateChanged (int  state  )  [private, slot]
-
-
- -

-view/hide Files -

-

- -

-
- - - - - - - - - -
void LogForm::on_checkShare_stateChanged (int  state  )  [private, slot]
-
-
- -

-view/hide Shares -

-

- -

-
- - - - - - - - -
void LogForm::on_clearButton_clicked (  )  [slot]
-
-
- -

-Clear tableView -

-

- -

-
- - - - - - - - -
void LogForm::on_filterEdit_textChanged (  )  [slot]
-
-
- -

-User apply filter -

-

- -

-
- - - - - - - - -
void LogForm::on_SaveLogButton_clicked (  )  [private, slot]
-
-
- -

-Save log file. CSV format -

-

- -

-
- - - - - - - - -
void LogForm::setHeader (  ) 
-
-
- -

-Set tableView's header -

-

-


Member Data Documentation

- -
-
- - - - -
QStandardItemModel* LogForm::model [private]
-
-
- -

- -

-

- -

- -
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classLogForm-members.html qtsmbstatus-2.1.1/html/classLogForm-members.html --- qtsmbstatus-2.0.4/html/classLogForm-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classLogForm-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,58 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

LogForm Member List

This is the complete list of members for LogForm, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
append(const type_message &)LogForm [slot]
checkFileUi_logform
checkShareUi_logform
clearButtonUi_logform
eraseOldLog()LogForm [slot]
filterEditUi_logform
gridLayoutUi_logform
hboxLayoutUi_logform
hboxLayout1Ui_logform
LogForm(QWidget *parent=0)LogForm
modelLogForm [private]
on_checkFile_stateChanged(int state)LogForm [private, slot]
on_checkShare_stateChanged(int state)LogForm [private, slot]
on_clearButton_clicked()LogForm [slot]
on_filterEdit_textChanged()LogForm [slot]
on_SaveLogButton_clicked()LogForm [private, slot]
proxyModelLogForm [private]
pushButtonUi_logform
retranslateUi(QDialog *logform)Ui_logform [inline]
SaveLogButtonUi_logform
setHeader()LogForm
setupUi(QDialog *logform)Ui_logform [inline]
spacerItemUi_logform
spacerItem1Ui_logform
spacerItem2Ui_logform
spacerItem3Ui_logform
tableViewUi_logform
textLabel1Ui_logform
~LogForm()LogForm [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/classLogForm.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/classLogForm.png sont différents. diff -Nru qtsmbstatus-2.0.4/html/classlogin__windows.html qtsmbstatus-2.1.1/html/classlogin__windows.html --- qtsmbstatus-2.0.4/html/classlogin__windows.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classlogin__windows.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,127 +0,0 @@ - - -qtsmbstatus.kdevelop: login_windows Class Reference - - - - - - -

login_windows Class Reference

InputBox login and password. -More... -

-

-Inheritance diagram for login_windows:
-
- -

- -Ui::login_dialog -Ui_login_dialog - -
- -

-List of all members. - - - - - - - - - -

Public Member Functions

 login_windows (QWidget *parent=0)
virtual ~login_windows ()

Private Slots

virtual void Slot_login_button ()
-


Detailed Description

-InputBox login and password. -

-

Date:
2007-06-15
-
Version:
1.0
-
Parameters:
- - -
parent pointer to the parent object
-
-
Author:
Daniel Rocher
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - -
login_windows::login_windows (QWidget *  parent = 0  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
login_windows::~login_windows (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
void login_windows::Slot_login_button (  )  [private, virtual, slot]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classlogin__windows-members.html qtsmbstatus-2.1.1/html/classlogin__windows-members.html --- qtsmbstatus-2.0.4/html/classlogin__windows-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classlogin__windows-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,44 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

login_windows Member List

This is the complete list of members for login_windows, including all inherited members.

- - - - - - - - - - - - - - - -
bt_exitUi_login_dialog
bt_loginUi_login_dialog
gridLayoutUi_login_dialog
hboxLayoutUi_login_dialog
input_passwordUi_login_dialog
input_usernameUi_login_dialog
label_passwordUi_login_dialog
label_usernameUi_login_dialog
login_windows(QWidget *parent=0)login_windows
retranslateUi(QDialog *login_dialog)Ui_login_dialog [inline]
setupUi(QDialog *login_dialog)Ui_login_dialog [inline]
Slot_login_button()login_windows [private, virtual, slot]
spacerItemUi_login_dialog
spacerItem1Ui_login_dialog
~login_windows()login_windows [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/classlogin__windows.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/classlogin__windows.png sont différents. diff -Nru qtsmbstatus-2.0.4/html/classmachine.html qtsmbstatus-2.1.1/html/classmachine.html --- qtsmbstatus-2.0.4/html/classmachine.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classmachine.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,278 +0,0 @@ - - -qtsmbstatus.kdevelop: machine Class Reference - - - - - - -

machine Class Reference

Class of machine items. -More... -

- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

void append_user (const QString &PID, const QString &Name, const QString &Group)
 machine (Q3ListViewItem *parent, const QString &PID, const QString &Username, const QString &Group, const QString &MachineName, const QString &MachineIP)
void mark_childs ()
void refresh_childs ()
virtual ~machine ()

Public Attributes

QString machine_ip
QString machine_name
bool mark

Static Public Attributes

static int compteur_objet = 0
-


Detailed Description

-Class of machine items. -

-

Date:
2007-07-04
-
Version:
1.1
-
Author:
Daniel Rocher
-
See also:
server user service
-'machine' is parent of 'user' and child of 'server'

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
machine::machine (Q3ListViewItem *  parent,
const QString &  PID,
const QString &  Username,
const QString &  Group,
const QString &  MachineName,
const QString &  MachineIP 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
machine::~machine (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void machine::append_user (const QString &  PID,
const QString &  Name,
const QString &  Group 
)
-
-
- -

-Add user if not exist -

-

- -

-
- - - - - - - - -
void machine::mark_childs (  ) 
-
-
- -

-Mark all children.

    -
  • mark = true -> exist
  • mark = false -> obsolete
    See also:
    refresh_childs
    -
- -
-

- -

-
- - - - - - - - -
void machine::refresh_childs (  ) 
-
-
- -

-Refresh view. Delete obsolete objects (mark = false).

See also:
mark_childs
- -
-

-


Member Data Documentation

- -
-
- - - - -
int machine::compteur_objet = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
QString machine::machine_ip
-
-
- -

- -

-

- -

-
- - - - -
QString machine::machine_name
-
-
- -

- -

-

- -

-
- - - - -
bool machine::mark
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classmachine-members.html qtsmbstatus-2.1.1/html/classmachine-members.html --- qtsmbstatus-2.0.4/html/classmachine-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classmachine-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,38 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

machine Member List

This is the complete list of members for machine, including all inherited members.

- - - - - - - - - -
append_user(const QString &PID, const QString &Name, const QString &Group)machine
compteur_objetmachine [static]
machine(Q3ListViewItem *parent, const QString &PID, const QString &Username, const QString &Group, const QString &MachineName, const QString &MachineIP)machine
machine_ipmachine
machine_namemachine
markmachine
mark_childs()machine
refresh_childs()machine
~machine()machine [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classmain__windows.html qtsmbstatus-2.1.1/html/classmain__windows.html --- qtsmbstatus-2.0.4/html/classmain__windows.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classmain__windows.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,1108 +0,0 @@ - - -qtsmbstatus.kdevelop: main_windows Class Reference - - - - - - -

main_windows Class Reference

Main Window. -More... -

-

-Inheritance diagram for main_windows:
-
- -

- -Ui::form_smbstatus -Ui_form_smbstatus - -
- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Slots

void beforeQuit ()

Signals

void refreshviewlog (const type_message &)

Public Member Functions

 main_windows (QWidget *parent=0)
virtual ~main_windows ()

Protected Member Functions

virtual void closeEvent (QCloseEvent *e)

Private Types

enum  T_Direction { to_first, -to_preview, -to_next - }
 direction of search More...
enum  T_Item {
-  T_All, -T_Machine, -T_User, -T_Share, -
-  T_File -
- }
 type of search (a machine, an user, ...) More...

Private Slots

virtual void AllSearchSlot ()
void configuration_changed ()
virtual void ConfigureSlot ()
virtual void FileSearchSlot ()
virtual void helpAbout ()
virtual void helpAboutQt ()
void InfoSMB ()
 Info CIFS/SMB for log and balloon messages.
virtual void MachineSearchSlot ()
virtual void NextSlot ()
void on_action_View_log_triggered ()
void restore_minimize ()
virtual void ShareSearchSlot ()
virtual void SignalErrorAuth ()
virtual void Slot_connect ()
virtual void socketclosed ()
virtual void socketconnected ()
void trayicon_activated (QSystemTrayIcon::ActivationReason reason)
virtual void UserSearchSlot ()

Private Member Functions

void comboBox_valid ()
QString getSearchStr (const QString &msg)
Q3ListViewItem * nextItem (Q3ListViewItem *item)
void open_dialog_for_login ()
void readHistoryFile ()
void restoreWindowSize ()
void saveWindowSize ()
void search (T_Item typeOfSearch, const QString &str, T_Direction direction=to_first)
void selectItem (Q3ListViewItem *item)
void writeHistoryFile ()

Private Attributes

ClientSocketclientsocket
QAction * configure_action
QAction * connect_action
bool connected
T_Item currentSearchItem
QString currentSearchStr
Q3ListViewItem * FindItem
bool firstTime
LogFormlogform
QAction * restore_action
QSystemTrayIcon * trayicon
QAction * viewlog_action
-


Detailed Description

-Main Window. -

-

Date:
2007-06-17
-
Version:
1.0
-
Author:
Daniel Rocher
-

Member Enumeration Documentation

- -
-
- - - - -
enum main_windows::T_Direction [private]
-
-
- -

-direction of search -

-

Enumerator:
- - - - -
to_first  -
to_preview  -
to_next  -
-
- -
-

- -

-
- - - - -
enum main_windows::T_Item [private]
-
-
- -

-type of search (a machine, an user, ...) -

-

Enumerator:
- - - - - - -
T_All  -
T_Machine  -
T_User  -
T_Share  -
T_File  -
-
- -
-

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - -
main_windows::main_windows (QWidget *  parent = 0  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
main_windows::~main_windows (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
void main_windows::AllSearchSlot (  )  [private, virtual, slot]
-
-
- -

-Find items -

-

- -

-
- - - - - - - - -
void main_windows::beforeQuit (  )  [slot]
-
-
- -

-Before quit qtsmbstatus-client -

-

- -

-
- - - - - - - - - -
void main_windows::closeEvent (QCloseEvent *  e  )  [protected, virtual]
-
-
- -

-On close event. -

-

- -

-
- - - - - - - - -
void main_windows::comboBox_valid (  )  [private]
-
-
- -

-address lists 20 Max addresses -

-

- -

-
- - - - - - - - -
void main_windows::configuration_changed (  )  [private, slot]
-
-
- -

-When configuration changed

See also:
configure_windows
- -
-

- -

-
- - - - - - - - -
void main_windows::ConfigureSlot (  )  [private, virtual, slot]
-
-
- -

-Configure qtsmbstatus client (open form)

See also:
configure_windows
- -
-

- -

-
- - - - - - - - -
void main_windows::FileSearchSlot (  )  [private, virtual, slot]
-
-
- -

-Find a file -

-

- -

-
- - - - - - - - - -
QString main_windows::getSearchStr (const QString &  msg  )  [private]
-
-
- -

-input dialogbox. Find a machine, an user, ...

Parameters:
- - -
msg label of dialogbox
-
-
Returns:
criteria of search
-
See also:
AllSearchSlot MachineSearchSlot UserSearchSlot ShareSearchSlot FileSearchSlot
- -
-

- -

-
- - - - - - - - -
void main_windows::helpAbout (  )  [private, virtual, slot]
-
-
- -

-menu Help/helpAbout -

-

- -

-
- - - - - - - - -
void main_windows::helpAboutQt (  )  [private, virtual, slot]
-
-
- -

-menu Help/helpAboutQt -

-

- -

-
- - - - - - - - -
void main_windows::InfoSMB (  )  [private, slot]
-
-
- -

-Info CIFS/SMB for log and balloon messages. -

-Info CIFS/SMB for log and balloon messages -

-

- -

-
- - - - - - - - -
void main_windows::MachineSearchSlot (  )  [private, virtual, slot]
-
-
- -

-Find a machine -

-

- -

-
- - - - - - - - - -
Q3ListViewItem * main_windows::nextItem (Q3ListViewItem *  item  )  [private]
-
-
- -

-Find next item.

Parameters:
- - -
item pointer on item
-
-
Returns:
pointer on next item
-
See also:
selectItem search
- -
-

- -

-
- - - - - - - - -
void main_windows::NextSlot (  )  [private, virtual, slot]
-
- -

- -

-
- - - - - - - - -
void main_windows::on_action_View_log_triggered (  )  [private, slot]
-
-
- -

-View log

See also:
LogForm
- -
-

- -

-
- - - - - - - - -
void main_windows::open_dialog_for_login (  )  [private]
-
-
- -

-Open authentication dialogbox

See also:
login_windows ClientSocket
- -
-

- -

-
- - - - - - - - -
void main_windows::readHistoryFile (  )  [private]
-
-
- -

-Read the address history. On startup, read history. -

-

- -

-
- - - - - - - - - -
void main_windows::refreshviewlog (const type_message _t1  )  [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void main_windows::restore_minimize (  )  [private, slot]
-
-
- -

-When user restore or minimize windows -

-

- -

-
- - - - - - - - -
void main_windows::restoreWindowSize (  )  [private]
-
-
- -

-restore window size

See also:
saveWindowSize
-On startup, restore windows size. -
-

- -

-
- - - - - - - - -
void main_windows::saveWindowSize (  )  [private]
-
-
- -

-save window size

See also:
restoreWindowSize
-Before quit, save window size -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
void main_windows::search (T_Item  typeOfSearch,
const QString &  str,
T_Direction  direction = to_first 
) [private]
-
-
- -

-Search item.

Parameters:
- - - - -
typeOfSearch see T_Item
str string to search
direction see T_direction
-
-
See also:
T_Item T_direction selectItem
- -
-

- -

-
- - - - - - - - - -
void main_windows::selectItem (Q3ListViewItem *  item  )  [private]
-
-
- -

-Select item and open parents (if it's possible)

Parameters:
- - -
item pointer on QListViewItem
-
-
See also:
nextItem search
- -
-

- -

-
- - - - - - - - -
void main_windows::ShareSearchSlot (  )  [private, virtual, slot]
-
-
- -

-Find a share -

-

- -

-
- - - - - - - - -
void main_windows::SignalErrorAuth (  )  [private, virtual, slot]
-
-
- -

-Bad login or bad password.

See also:
ClientSocket::SignalErrorAuth
- -
-

- -

-
- - - - - - - - -
void main_windows::Slot_connect (  )  [private, virtual, slot]
-
-
- -

-Slot connect. If connected, disconnect. -

-

- -

-
- - - - - - - - -
void main_windows::socketclosed (  )  [private, virtual, slot]
-
-
- -

-Slot socketclosed. When client is disconnected

See also:
ClientSocket
- -
-

- -

-
- - - - - - - - -
void main_windows::socketconnected (  )  [private, virtual, slot]
-
-
- -

-Slot connected. When client is connected to server

See also:
Slot_connect ClientSocket
- -
-

- -

-
- - - - - - - - - -
void main_windows::trayicon_activated (QSystemTrayIcon::ActivationReason  reason  )  [private, slot]
-
-
- -

-Connected to signal when the user activates the system tray icon

Parameters:
- - -
reason describes the reason the system tray was activated
-
-
See also:
restore_minimize
- -
-

- -

-
- - - - - - - - -
void main_windows::UserSearchSlot (  )  [private, virtual, slot]
-
-
- -

-Find an user -

-

- -

-
- - - - - - - - -
void main_windows::writeHistoryFile (  )  [private]
-
-
- -

-Write address history. Before quit, write history. -

-

-


Member Data Documentation

- -
- -
- -

- -

-

- -

-
- - - - -
QAction* main_windows::configure_action [private]
-
-
- -

- -

-

- -

-
- - - - -
QAction* main_windows::connect_action [private]
-
-
- -

- -

-

- -

-
- - - - -
bool main_windows::connected [private]
-
-
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
QString main_windows::currentSearchStr [private]
-
-
- -

- -

-

- -

-
- - - - -
Q3ListViewItem* main_windows::FindItem [private]
-
-
- -

- -

-

- -

-
- - - - -
bool main_windows::firstTime [private]
-
-
- -

- -

-

- -

-
- - - - -
LogForm* main_windows::logform [private]
-
-
- -

- -

-

- -

-
- - - - -
QAction* main_windows::restore_action [private]
-
-
- -

- -

-

- -

-
- - - - -
QSystemTrayIcon* main_windows::trayicon [private]
-
-
- -

- -

-

- -

-
- - - - -
QAction* main_windows::viewlog_action [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classmain__windows-members.html qtsmbstatus-2.1.1/html/classmain__windows-members.html --- qtsmbstatus-2.0.4/html/classmain__windows-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classmain__windows-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,109 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

main_windows Member List

This is the complete list of members for main_windows, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
action_ConnectUi_form_smbstatus
action_QuitUi_form_smbstatus
action_View_logUi_form_smbstatus
AllSearchSlot()main_windows [private, virtual, slot]
beforeQuit()main_windows [slot]
clientsocketmain_windows [private]
closeEvent(QCloseEvent *e)main_windows [protected, virtual]
comboBox_hostaddrUi_form_smbstatus
comboBox_valid()main_windows [private]
configuration_changed()main_windows [private, slot]
ConfigureUi_form_smbstatus
configure_actionmain_windows [private]
configureConfigure_clientActionUi_form_smbstatus
ConfigureSlot()main_windows [private, virtual, slot]
connect_actionmain_windows [private]
connectedmain_windows [private]
currentSearchItemmain_windows [private]
currentSearchStrmain_windows [private]
FileSearchSlot()main_windows [private, virtual, slot]
FindItemmain_windows [private]
firstTimemain_windows [private]
getSearchStr(const QString &msg)main_windows [private]
gridLayoutUi_form_smbstatus
helpAbout()main_windows [private, virtual, slot]
helpAbout_QtActionUi_form_smbstatus
helpAboutActionUi_form_smbstatus
helpAboutQt()main_windows [private, virtual, slot]
helpMenuUi_form_smbstatus
InfoSMB()main_windows [private, slot]
listViewUi_form_smbstatus
logformmain_windows [private]
MachineSearchSlot()main_windows [private, virtual, slot]
main_windows(QWidget *parent=0)main_windows
MenuBarUi_form_smbstatus
nextItem(Q3ListViewItem *item)main_windows [private]
NextSlot()main_windows [private, virtual, slot]
on_action_View_log_triggered()main_windows [private, slot]
open_dialog_for_login()main_windows [private]
pushButton_connectUi_form_smbstatus
readHistoryFile()main_windows [private]
refreshviewlog(const type_message &)main_windows [signal]
restore_actionmain_windows [private]
restore_minimize()main_windows [private, slot]
restoreWindowSize()main_windows [private]
retranslateUi(QMainWindow *form_smbstatus)Ui_form_smbstatus [inline]
saveWindowSize()main_windows [private]
SearchUi_form_smbstatus
search(T_Item typeOfSearch, const QString &str, T_Direction direction=to_first)main_windows [private]
searchAllUi_form_smbstatus
searchFile_openActionUi_form_smbstatus
searchMachineActionUi_form_smbstatus
searchNextActionUi_form_smbstatus
searchShare_openActionUi_form_smbstatus
searchUserActionUi_form_smbstatus
selectItem(Q3ListViewItem *item)main_windows [private]
setupUi(QMainWindow *form_smbstatus)Ui_form_smbstatus [inline]
ShareSearchSlot()main_windows [private, virtual, slot]
SignalErrorAuth()main_windows [private, virtual, slot]
Slot_connect()main_windows [private, virtual, slot]
socketclosed()main_windows [private, virtual, slot]
socketconnected()main_windows [private, virtual, slot]
spacerItemUi_form_smbstatus
T_All enum valuemain_windows [private]
T_Direction enum namemain_windows [private]
T_File enum valuemain_windows [private]
T_Item enum namemain_windows [private]
T_Machine enum valuemain_windows [private]
T_Share enum valuemain_windows [private]
T_User enum valuemain_windows [private]
textLabel1Ui_form_smbstatus
to_first enum valuemain_windows [private]
to_next enum valuemain_windows [private]
to_preview enum valuemain_windows [private]
trayiconmain_windows [private]
trayicon_activated(QSystemTrayIcon::ActivationReason reason)main_windows [private, slot]
UserSearchSlot()main_windows [private, virtual, slot]
viewlog_actionmain_windows [private]
widgetUi_form_smbstatus
writeHistoryFile()main_windows [private]
~main_windows()main_windows [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/classmain__windows.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/classmain__windows.png sont différents. diff -Nru qtsmbstatus-2.0.4/html/classMyApplication.html qtsmbstatus-2.1.1/html/classMyApplication.html --- qtsmbstatus-2.0.4/html/classMyApplication.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classMyApplication.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,122 +0,0 @@ - - -qtsmbstatus.kdevelop: MyApplication Class Reference - - - - - - -

MyApplication Class Reference

reimplementing QApplication::commitData() -More... -

- -

-List of all members. - - - - - - - - - -

Signals

void quitMyApp ()

Public Member Functions

virtual void commitData (QSessionManager &manager)
 MyApplication (int &argc, char **argv)
-


Detailed Description

-reimplementing QApplication::commitData() -

-

Date:
2007-07-26
-
Version:
1.0
-
Author:
Daniel Rocher
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
MyApplication::MyApplication (int &  argc,
char **  argv 
)
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - -
void MyApplication::commitData (QSessionManager &  manager  )  [virtual]
-
-
- -

-reimplementing QApplication::commitData(). This function deals with session management. It is invoked when the QSessionManager wants the application to commit all its data. -

-

- -

-
- - - - - - - - -
void MyApplication::quitMyApp (  )  [signal]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classMyApplication-members.html qtsmbstatus-2.1.1/html/classMyApplication-members.html --- qtsmbstatus-2.0.4/html/classMyApplication-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classMyApplication-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,32 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

MyApplication Member List

This is the complete list of members for MyApplication, including all inherited members.

- - - -
commitData(QSessionManager &manager)MyApplication [virtual]
MyApplication(int &argc, char **argv)MyApplication
quitMyApp()MyApplication [signal]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classMySortFilterProxyModel.html qtsmbstatus-2.1.1/html/classMySortFilterProxyModel.html --- qtsmbstatus-2.0.4/html/classMySortFilterProxyModel.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classMySortFilterProxyModel.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,258 +0,0 @@ - - -qtsmbstatus.kdevelop: MySortFilterProxyModel Class Reference - - - - - - -

MySortFilterProxyModel Class Reference

Reimplement QSortFilterProxyModel. -More... -

- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const
 MySortFilterProxyModel (QString share_label, QString file_label, QObject *parent)
void setFilterFile (bool)
void setFilterShare (bool)
virtual ~MySortFilterProxyModel ()

Private Attributes

QString fileLabel
bool MFile
bool MShare
QString shareLabel
-


Detailed Description

-Reimplement QSortFilterProxyModel. -

-

Date:
2007-06-27
-
Version:
1.0
-
Author:
Daniel Rocher
-
Parameters:
- - - - -
share_label the label of share used in LogForm
file_label the label of file used in LogForm
parent parent of this object
-
-
See also:
LogForm
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
MySortFilterProxyModel::MySortFilterProxyModel (QString  share_label,
QString  file_label,
QObject *  parent 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
MySortFilterProxyModel::~MySortFilterProxyModel (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
bool MySortFilterProxyModel::filterAcceptsRow (int  sourceRow,
const QModelIndex &  sourceParent 
) const
-
-
- -

-reimplement filterAcceptsRow -

-

- -

-
- - - - - - - - - -
void MySortFilterProxyModel::setFilterFile (bool  value  ) 
-
-
- -

-Show/hide files -

-

- -

-
- - - - - - - - - -
void MySortFilterProxyModel::setFilterShare (bool  value  ) 
-
-
- -

-Show/hide shares -

-

-


Member Data Documentation

- -
-
- - - - -
QString MySortFilterProxyModel::fileLabel [private]
-
-
- -

- -

-

- -

-
- - - - -
bool MySortFilterProxyModel::MFile [private]
-
-
- -

- -

-

- -

-
- - - - -
bool MySortFilterProxyModel::MShare [private]
-
-
- -

- -

-

- -

-
- - - - -
QString MySortFilterProxyModel::shareLabel [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classMySortFilterProxyModel-members.html qtsmbstatus-2.1.1/html/classMySortFilterProxyModel-members.html --- qtsmbstatus-2.0.4/html/classMySortFilterProxyModel-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classMySortFilterProxyModel-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,38 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

MySortFilterProxyModel Member List

This is the complete list of members for MySortFilterProxyModel, including all inherited members.

- - - - - - - - - -
fileLabelMySortFilterProxyModel [private]
filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const MySortFilterProxyModel
MFileMySortFilterProxyModel [private]
MShareMySortFilterProxyModel [private]
MySortFilterProxyModel(QString share_label, QString file_label, QObject *parent)MySortFilterProxyModel
setFilterFile(bool)MySortFilterProxyModel
setFilterShare(bool)MySortFilterProxyModel
shareLabelMySortFilterProxyModel [private]
~MySortFilterProxyModel()MySortFilterProxyModel [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classPamThread.html qtsmbstatus-2.1.1/html/classPamThread.html --- qtsmbstatus-2.0.4/html/classPamThread.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classPamThread.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,219 +0,0 @@ - - -qtsmbstatus.kdevelop: PamThread Class Reference - - - - - - -

PamThread Class Reference

Authenticate with PAM. -More... -

- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 PamThread ()
virtual void run ()
void setAuth (const QString &name, const QString &passwd)
virtual ~PamThread ()

Public Attributes

bool auth_resu

Static Public Attributes

static int compteur_objet = 0

Private Attributes

QString Name
QString Passwd
-


Detailed Description

-Authenticate with PAM. -

-

Date:
2007-06-18
-
Version:
1.0
-
Author:
Daniel Rocher
-Use thread (don't block Mainwindow event loop)

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
PamThread::PamThread (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
PamThread::~PamThread (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
void PamThread::run (  )  [virtual]
-
-
- -

-PAM Request -

-

- -

-
- - - - - - - - - - - - - - - - - - -
void PamThread::setAuth (const QString &  name,
const QString &  passwd 
)
-
-
- -

-set Username and password

Parameters:
- - - -
name username
passwd passord
-
- -
-

-


Member Data Documentation

- -
-
- - - - -
bool PamThread::auth_resu
-
-
- -

- -

-

- -

-
- - - - -
int PamThread::compteur_objet = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
QString PamThread::Name [private]
-
-
- -

- -

-

- -

-
- - - - -
QString PamThread::Passwd [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classPamThread-members.html qtsmbstatus-2.1.1/html/classPamThread-members.html --- qtsmbstatus-2.0.4/html/classPamThread-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classPamThread-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,37 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

PamThread Member List

This is the complete list of members for PamThread, including all inherited members.

- - - - - - - - -
auth_resuPamThread
compteur_objetPamThread [static]
NamePamThread [private]
PamThread()PamThread
PasswdPamThread [private]
run()PamThread [virtual]
setAuth(const QString &name, const QString &passwd)PamThread
~PamThread()PamThread [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classprocess__smbd__exist.html qtsmbstatus-2.1.1/html/classprocess__smbd__exist.html --- qtsmbstatus-2.0.4/html/classprocess__smbd__exist.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classprocess__smbd__exist.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,319 +0,0 @@ - - -qtsmbstatus.kdevelop: process_smbd_exist Class Reference - - - - - - -

process_smbd_exist Class Reference

test if PID it's a correct smbd process. -More... -

- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Signals

void ObjError (const QString &)

Public Member Functions

 process_smbd_exist (const QString &MyPID, const QString &USER, QObject *parent=0)
virtual ~process_smbd_exist ()

Static Public Attributes

static int compteur_objet = 0

Protected Slots

virtual void slot_EndProcessKill ()

Private Types

enum  { begin, -find - }

Private Slots

void end_process ()
void readFromStdout ()

Private Attributes

QString MyPid
Q3Process * proc
enum
-process_smbd_exist:: { ... }  
State
QString UserSamba
-


Detailed Description

-test if PID it's a correct smbd process. -

-

Date:
2007-06-18
-
Version:
1.0
-
Author:
Daniel Rocher
-
Parameters:
- - - - -
MyPID PID of process
USER username
parent pointer to parent for this object
-
-
See also:
disconnect_manager
-

Member Enumeration Documentation

- -
-
- - - - -
anonymous enum [private]
-
-
- -

-

Enumerator:
- - - -
begin  -
find  -
-
- -
-

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
process_smbd_exist::process_smbd_exist (const QString &  MyPID,
const QString &  USER,
QObject *  parent = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
process_smbd_exist::~process_smbd_exist (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
void process_smbd_exist::end_process (  )  [private, slot]
-
-
- -

-End process. -

-

- -

-
- - - - - - - - - -
void process_smbd_exist::ObjError (const QString &  _t1  )  [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void process_smbd_exist::readFromStdout (  )  [private, slot]
-
-
- -

-Read Std output -

-

- -

-
- - - - - - - - -
void process_smbd_exist::slot_EndProcessKill (  )  [protected, virtual, slot]
-
-
- -

-disconnect_manager terminated -

-

-


Member Data Documentation

- -
-
- - - - -
int process_smbd_exist::compteur_objet = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
QString process_smbd_exist::MyPid [private]
-
-
- -

- -

-

- -

-
- - - - -
Q3Process* process_smbd_exist::proc [private]
-
-
- -

- -

-

- -

-
- - - - -
enum { ... } process_smbd_exist::State [private]
-
-
- -

- -

-

- -

-
- - - - -
QString process_smbd_exist::UserSamba [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classprocess__smbd__exist-members.html qtsmbstatus-2.1.1/html/classprocess__smbd__exist-members.html --- qtsmbstatus-2.0.4/html/classprocess__smbd__exist-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classprocess__smbd__exist-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,42 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

process_smbd_exist Member List

This is the complete list of members for process_smbd_exist, including all inherited members.

- - - - - - - - - - - - - -
begin enum valueprocess_smbd_exist [private]
compteur_objetprocess_smbd_exist [static]
end_process()process_smbd_exist [private, slot]
find enum valueprocess_smbd_exist [private]
MyPidprocess_smbd_exist [private]
ObjError(const QString &)process_smbd_exist [signal]
procprocess_smbd_exist [private]
process_smbd_exist(const QString &MyPID, const QString &USER, QObject *parent=0)process_smbd_exist
readFromStdout()process_smbd_exist [private, slot]
slot_EndProcessKill()process_smbd_exist [protected, virtual, slot]
Stateprocess_smbd_exist [private]
UserSambaprocess_smbd_exist [private]
~process_smbd_exist()process_smbd_exist [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classSendmessage__manager.html qtsmbstatus-2.1.1/html/classSendmessage__manager.html --- qtsmbstatus-2.0.4/html/classSendmessage__manager.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classSendmessage__manager.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,334 +0,0 @@ - - -qtsmbstatus.kdevelop: Sendmessage_manager Class Reference - - - - - - -

Sendmessage_manager Class Reference

Send message popup (smbclient required). -More... -

- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Signals

void ObjError (const QString &)

Public Member Functions

 Sendmessage_manager (const QString &machine, const QString &message, QObject *parent=0)
virtual ~Sendmessage_manager ()

Static Public Attributes

static int compteur_objet = 0

Private Types

enum  { begin, -error - }

Private Slots

void end_process ()
void readFromStdout ()
void ReadStderr ()

Private Attributes

bool error_proc
QString my_message
Q3Process * proc
enum
-Sendmessage_manager:: { ... }  
State
QString to_machine
-


Detailed Description

-Send message popup (smbclient required). -

-

Date:
2007-06-18
-
Version:
1.0
-
Author:
Daniel Rocher
-
Parameters:
- - - - -
machine Machine name
message message to be sent
parent pointer to parent for this object
-
-

Member Enumeration Documentation

- -
-
- - - - -
anonymous enum [private]
-
-
- -

-

Enumerator:
- - - -
begin  -
error  -
-
- -
-

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Sendmessage_manager::Sendmessage_manager (const QString &  machine,
const QString &  message,
QObject *  parent = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
Sendmessage_manager::~Sendmessage_manager (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
void Sendmessage_manager::end_process (  )  [private, slot]
-
-
- -

-Process terminated -

-

- -

-
- - - - - - - - - -
void Sendmessage_manager::ObjError (const QString &  _t1  )  [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void Sendmessage_manager::readFromStdout (  )  [private, slot]
-
-
- -

-Read Std output -

-

- -

-
- - - - - - - - -
void Sendmessage_manager::ReadStderr (  )  [private, slot]
-
-
- -

-Read Std error -

-

-


Member Data Documentation

- -
-
- - - - -
int Sendmessage_manager::compteur_objet = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
bool Sendmessage_manager::error_proc [private]
-
-
- -

- -

-

- -

-
- - - - -
QString Sendmessage_manager::my_message [private]
-
-
- -

- -

-

- -

-
- - - - -
Q3Process* Sendmessage_manager::proc [private]
-
-
- -

- -

-

- -

-
- - - - -
enum { ... } Sendmessage_manager::State [private]
-
-
- -

- -

-

- -

-
- - - - -
QString Sendmessage_manager::to_machine [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classSendmessage__manager-members.html qtsmbstatus-2.1.1/html/classSendmessage__manager-members.html --- qtsmbstatus-2.0.4/html/classSendmessage__manager-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classSendmessage__manager-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,43 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

Sendmessage_manager Member List

This is the complete list of members for Sendmessage_manager, including all inherited members.

- - - - - - - - - - - - - - -
begin enum valueSendmessage_manager [private]
compteur_objetSendmessage_manager [static]
end_process()Sendmessage_manager [private, slot]
error enum valueSendmessage_manager [private]
error_procSendmessage_manager [private]
my_messageSendmessage_manager [private]
ObjError(const QString &)Sendmessage_manager [signal]
procSendmessage_manager [private]
readFromStdout()Sendmessage_manager [private, slot]
ReadStderr()Sendmessage_manager [private, slot]
Sendmessage_manager(const QString &machine, const QString &message, QObject *parent=0)Sendmessage_manager
StateSendmessage_manager [private]
to_machineSendmessage_manager [private]
~Sendmessage_manager()Sendmessage_manager [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classserver.html qtsmbstatus-2.1.1/html/classserver.html --- qtsmbstatus-2.0.4/html/classserver.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classserver.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,521 +0,0 @@ - - -qtsmbstatus.kdevelop: server Class Reference - - - - - - -

server Class Reference

Class of server items. -More... -

- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

void add_lockedfile (const QString &PID, const QString &File, const QString &DenyMode, const QString &RW, const QString &Oplock, const QString &DateOpen)
void add_share (const QString &PID, const QString &Share, const QString &DateOpen)
void add_user (const QString &PID, const QString &Name, const QString &Group, const QString &MachineName, const QString &MachineIP)
QString getSambaVersion ()
void mark_childs ()
void refresh_childs ()
 server (Q3ListView *parent)
void setSambaVersion (const QString &)
QString ViewInfoMachine (Q3ListViewItem *Item)
QString ViewInfoServer ()
QString ViewInfoService (Q3ListViewItem *Item)
QString ViewInfoUser (Q3ListViewItem *Item)
virtual ~server ()

Public Attributes

QList< type_messagelistMessages

Static Public Attributes

static int compteur_objet = 0

Private Types

enum  { Tshare, -Tlockedfile - }

Private Attributes

QString SambaVersion
enum server:: { ... }  TypeService
-


Detailed Description

-Class of server items. -

-

Date:
2007-07-05
-
Version:
1.1
-
Author:
Daniel Rocher
-
See also:
machine user service
-'server' is parent of 'machine' and child of listview

Member Enumeration Documentation

- -
-
- - - - -
anonymous enum [private]
-
-
- -

-Enum type of service:

    -
  • Tshare : 0 -> share
  • Tlockedfile : 1 -> locked file
-
Enumerator:
- - - -
Tshare  -
Tlockedfile  -
-
- -
-

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - -
server::server (Q3ListView *  parent  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
server::~server (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void server::add_lockedfile (const QString &  PID,
const QString &  File,
const QString &  DenyMode,
const QString &  RW,
const QString &  Oplock,
const QString &  DateOpen 
)
-
-
- -

-add lockedfile if not exist

See also:
add_user add_share
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
void server::add_share (const QString &  PID,
const QString &  Share,
const QString &  DateOpen 
)
-
-
- -

-add share if not exist

See also:
add_user add_lockedfile
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void server::add_user (const QString &  PID,
const QString &  Name,
const QString &  Group,
const QString &  MachineName,
const QString &  MachineIP 
)
-
-
- -

-add machine and user if not exist

See also:
add_share add_lockedfile
- -
-

- -

-
- - - - - - - - -
QString server::getSambaVersion (  ) 
-
-
- -

-Return samba version -

-

- -

-
- - - - - - - - -
void server::mark_childs (  ) 
-
-
- -

-Mark all children.

    -
  • mark = true -> exist
  • mark = false -> obsolete
    See also:
    refresh_childs
    -
- -
-

- -

-
- - - - - - - - -
void server::refresh_childs (  ) 
-
-
- -

-Refresh view. Delete obsolete objects (mark = false).

See also:
mark_childs
- -
-

- -

-
- - - - - - - - - -
void server::setSambaVersion (const QString &  sambaversion  ) 
-
-
- -

-Set samba version -

-

- -

-
- - - - - - - - - -
QString server::ViewInfoMachine (Q3ListViewItem *  Item  ) 
-
-
- -

-Return machine informations

See also:
ClientSocket::InfoMachine
- -
-

- -

-
- - - - - - - - -
QString server::ViewInfoServer (  ) 
-
-
- -

-Return server informations

See also:
ClientSocket::InfoServer
- -
-

- -

-
- - - - - - - - - -
QString server::ViewInfoService (Q3ListViewItem *  Item  ) 
-
-
- -

-Return service informations (locked file or share)

See also:
ClientSocket::InfoService

-TypeService

- -
-

- -

-
- - - - - - - - - -
QString server::ViewInfoUser (Q3ListViewItem *  Item  ) 
-
-
- -

-Return user informations

See also:
ClientSocket::InfoUser
- -
-

-


Member Data Documentation

- -
-
- - - - -
int server::compteur_objet = 0 [static]
-
-
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
QString server::SambaVersion [private]
-
-
- -

- -

-

- -

-
- - - - -
enum { ... } server::TypeService [private]
-
-
- -

-Enum type of service:

    -
  • Tshare : 0 -> share
  • Tlockedfile : 1 -> locked file
- -
-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classServer.html qtsmbstatus-2.1.1/html/classServer.html --- qtsmbstatus-2.0.4/html/classServer.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classServer.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,145 +0,0 @@ - - -qtsmbstatus.kdevelop: Server Class Reference - - - - - - -

Server Class Reference

The Server class handles new connections to the server. -More... -

- -

-List of all members. - - - - - - - - - - - -

Public Slots

void stopserver ()

Public Member Functions

void newConnection (int socket)
 Server (QObject *parent=0)
virtual ~Server ()
-


Detailed Description

-The Server class handles new connections to the server. -

-

Parameters:
- - - -
port_server Port where the server should listen at
parent pointer to the parent object
-
-
Date:
2007-06-15
-
Version:
1.0
-
Author:
Daniel Rocher For every client that connects, it creates a new ClientSocket
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - -
Server::Server (QObject *  parent = 0  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
Server::~Server (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - -
void Server::newConnection (int  socket  ) 
-
-
- -

-New client create new Clientsocket

Parameters:
- - -
socket socket number
-
- -
-

- -

-
- - - - - - - - -
void Server::stopserver (  )  [slot]
-
-
- -

-Stop server (kill , CTRL+C, ...) -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classserver-members.html qtsmbstatus-2.1.1/html/classserver-members.html --- qtsmbstatus-2.0.4/html/classserver-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classserver-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,48 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

server Member List

This is the complete list of members for server, including all inherited members.

- - - - - - - - - - - - - - - - - - - -
add_lockedfile(const QString &PID, const QString &File, const QString &DenyMode, const QString &RW, const QString &Oplock, const QString &DateOpen)server
add_share(const QString &PID, const QString &Share, const QString &DateOpen)server
add_user(const QString &PID, const QString &Name, const QString &Group, const QString &MachineName, const QString &MachineIP)server
compteur_objetserver [static]
getSambaVersion()server
listMessagesserver
mark_childs()server
refresh_childs()server
SambaVersionserver [private]
server(Q3ListView *parent)server
setSambaVersion(const QString &)server
Tlockedfile enum valueserver [private]
Tshare enum valueserver [private]
TypeServiceserver [private]
ViewInfoMachine(Q3ListViewItem *Item)server
ViewInfoServer()server
ViewInfoService(Q3ListViewItem *Item)server
ViewInfoUser(Q3ListViewItem *Item)server
~server()server [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classServer-members.html qtsmbstatus-2.1.1/html/classServer-members.html --- qtsmbstatus-2.0.4/html/classServer-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classServer-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,33 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

Server Member List

This is the complete list of members for Server, including all inherited members.

- - - - -
newConnection(int socket)Server
Server(QObject *parent=0)Server
stopserver()Server [slot]
~Server()Server [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classservice.html qtsmbstatus-2.1.1/html/classservice.html --- qtsmbstatus-2.0.4/html/classservice.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classservice.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,395 +0,0 @@ - - -qtsmbstatus.kdevelop: service Class Reference - - - - - - -

service Class Reference

Class of service items (share or locked file). -More... -

- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Types

enum  { Tshare, -Tlockedfile - }

Public Member Functions

 service (Q3ListViewItem *parent, const QString &PID, const QString &FileName, const QString &DenyMode, const QString &RW, const QString &Oplock, const QString &DateOpen)
 service (Q3ListViewItem *parent, const QString &PID, const QString &Share, const QString &DateOpen)
virtual ~service ()

Public Attributes

QString dateopen
QString denymode
QString filename
bool mark
QString oplock
QString pid
QString rw
QString share
int TypeOfService
enum service:: { ... }  TypeService

Static Public Attributes

static int compteur_objet = 0
-


Detailed Description

-Class of service items (share or locked file). -

-

Date:
2007-07-05
-
Version:
1.1
-
Author:
Daniel Rocher
-
See also:
machine user server
-'service' is child of 'user'

Member Enumeration Documentation

- -
-
- - - - -
anonymous enum
-
-
- -

-Enum type of service:

    -
  • Tshare : 0 -> share
  • Tlockedfile : 1 -> locked file
-
Enumerator:
- - - -
Tshare  -
Tlockedfile  -
-
- -
-

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
service::service (Q3ListViewItem *  parent,
const QString &  PID,
const QString &  Share,
const QString &  DateOpen 
)
-
-
- -

-Constructor of share -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
service::service (Q3ListViewItem *  parent,
const QString &  PID,
const QString &  FileName,
const QString &  DenyMode,
const QString &  RW,
const QString &  Oplock,
const QString &  DateOpen 
)
-
-
- -

-Constructor of locked file -

-

- -

-
- - - - - - - - -
service::~service (  )  [virtual]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
int service::compteur_objet = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
QString service::dateopen
-
-
- -

- -

-

- -

-
- - - - -
QString service::denymode
-
-
- -

- -

-

- -

-
- - - - -
QString service::filename
-
-
- -

- -

-

- -

-
- - - - -
bool service::mark
-
-
- -

- -

-

- -

-
- - - - -
QString service::oplock
-
-
- -

- -

-

- -

-
- - - - -
QString service::pid
-
-
- -

- -

-

- -

-
- - - - -
QString service::rw
-
-
- -

- -

-

- -

-
- - - - -
QString service::share
-
-
- -

- -

-

- -

-
- - - - -
int service::TypeOfService
-
-
- -

- -

-

- -

-
- - - - -
enum { ... } service::TypeService
-
-
- -

-Enum type of service:

    -
  • Tshare : 0 -> share
  • Tlockedfile : 1 -> locked file
- -
-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classservice-members.html qtsmbstatus-2.1.1/html/classservice-members.html --- qtsmbstatus-2.0.4/html/classservice-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classservice-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,45 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

service Member List

This is the complete list of members for service, including all inherited members.

- - - - - - - - - - - - - - - - -
compteur_objetservice [static]
dateopenservice
denymodeservice
filenameservice
markservice
oplockservice
pidservice
rwservice
service(Q3ListViewItem *parent, const QString &PID, const QString &Share, const QString &DateOpen)service
service(Q3ListViewItem *parent, const QString &PID, const QString &FileName, const QString &DenyMode, const QString &RW, const QString &Oplock, const QString &DateOpen)service
shareservice
Tlockedfile enum valueservice
Tshare enum valueservice
TypeOfServiceservice
TypeServiceservice
~service()service [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classsmbmanager.html qtsmbstatus-2.1.1/html/classsmbmanager.html --- qtsmbstatus-2.0.4/html/classsmbmanager.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classsmbmanager.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,278 +0,0 @@ - - -qtsmbstatus.kdevelop: smbmanager Class Reference - - - - - - -

smbmanager Class Reference

-

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Signals

void ObjError (const QString &)
void signal_std_output (const QStringList &)

Public Member Functions

 smbmanager (QObject *parent=0)
virtual ~smbmanager ()

Static Public Attributes

static int compteur_objet = 0

Private Slots

void end_process ()
void read_data ()
void ReadStderr ()

Private Attributes

QStringList data
bool error_proc
Q3Process * proc
bool stError
-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - -
smbmanager::smbmanager (QObject *  parent = 0  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
smbmanager::~smbmanager (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
void smbmanager::end_process (  )  [private, slot]
-
-
- -

-Process terminated -

-

- -

-
- - - - - - - - - -
void smbmanager::ObjError (const QString &  _t1  )  [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void smbmanager::read_data (  )  [private, slot]
-
-
- -

-Read Std output -

-

- -

-
- - - - - - - - -
void smbmanager::ReadStderr (  )  [private, slot]
-
-
- -

-Read Std error -

-

- -

-
- - - - - - - - - -
void smbmanager::signal_std_output (const QStringList &  _t1  )  [signal]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
int smbmanager::compteur_objet = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
QStringList smbmanager::data [private]
-
-
- -

- -

-

- -

-
- - - - -
bool smbmanager::error_proc [private]
-
-
- -

- -

-

- -

-
- - - - -
Q3Process* smbmanager::proc [private]
-
-
- -

- -

-

- -

-
- - - - -
bool smbmanager::stError [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classsmbmanager-members.html qtsmbstatus-2.1.1/html/classsmbmanager-members.html --- qtsmbstatus-2.0.4/html/classsmbmanager-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classsmbmanager-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,41 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

smbmanager Member List

This is the complete list of members for smbmanager, including all inherited members.

- - - - - - - - - - - - -
compteur_objetsmbmanager [static]
datasmbmanager [private]
end_process()smbmanager [private, slot]
error_procsmbmanager [private]
ObjError(const QString &)smbmanager [signal]
procsmbmanager [private]
read_data()smbmanager [private, slot]
ReadStderr()smbmanager [private, slot]
signal_std_output(const QStringList &)smbmanager [signal]
smbmanager(QObject *parent=0)smbmanager
stErrorsmbmanager [private]
~smbmanager()smbmanager [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classsmbstatus.html qtsmbstatus-2.1.1/html/classsmbstatus.html --- qtsmbstatus-2.0.4/html/classsmbstatus.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classsmbstatus.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,477 +0,0 @@ - - -qtsmbstatus.kdevelop: smbstatus Class Reference - - - - - - -

smbstatus Class Reference

Analyse smbstatus reply. -More... -

- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Signals

void add_lockedfile (const QString &, const QString &, const QString &, const QString &, const QString &, const QString &)
void add_share (const QString &, const QString &, const QString &)
void add_user (const QString &, const QString &, const QString &, const QString &, const QString &)
void setSambaVersion (const QString &)

Public Member Functions

void RQ_smbstatus ()
 smbstatus (const QStringList &, QObject *parent=0)
virtual ~smbstatus ()

Static Public Attributes

static int compteur_objet = 0

Private Types

enum  { unknown, -version2, -version3 - }
enum  {
-  header_connexions, -connexions, -header_services, -services, -
-  header_locked_files, -locked_files -
- }

Private Member Functions

void what_part (QString part)

Private Attributes

enum smbstatus:: { ... }  enum_version_samba
QStringList ListSmbstatus
enum smbstatus:: { ... }  readingpart
int version_samba
-


Detailed Description

-Analyse smbstatus reply. -

-

Date:
2007-06-16
-
Version:
1.0
-
Author:
Daniel Rocher
-
See also:
LineCore
-
Parameters:
- - - -
stringlist smbstatus reply
parent pointer to parent for this object
-
-

Member Enumeration Documentation

- -
-
- - - - -
anonymous enum [private]
-
-
- -

-Enum samba version

Enumerator:
- - - - -
unknown  -
version2  -
version3  -
-
- -
-

- -

-
- - - - -
anonymous enum [private]
-
-
- -

-Enum section of smbstatus

Enumerator:
- - - - - - - -
header_connexions  -
connexions  -
header_services  -
services  -
header_locked_files  -
locked_files  -
-
- -
-

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
smbstatus::smbstatus (const QStringList &  stringlist,
QObject *  parent = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
smbstatus::~smbstatus (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void smbstatus::add_lockedfile (const QString &  _t1,
const QString &  _t2,
const QString &  _t3,
const QString &  _t4,
const QString &  _t5,
const QString &  _t6 
) [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
void smbstatus::add_share (const QString &  _t1,
const QString &  _t2,
const QString &  _t3 
) [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void smbstatus::add_user (const QString &  _t1,
const QString &  _t2,
const QString &  _t3,
const QString &  _t4,
const QString &  _t5 
) [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void smbstatus::RQ_smbstatus (  ) 
-
-
- -

-start analysis -

-

- -

-
- - - - - - - - - -
void smbstatus::setSambaVersion (const QString &  _t1  )  [signal]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void smbstatus::what_part (QString  part  )  [private]
-
-
- -

-Find section of smbstatus

See also:
readingpart
-Sections: header_connexions, connexions, header_services, services, header_locked_files, locked_files -
-

-


Member Data Documentation

- -
-
- - - - -
int smbstatus::compteur_objet = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
enum { ... } smbstatus::enum_version_samba [private]
-
-
- -

-Enum samba version -

-

- -

-
- - - - -
QStringList smbstatus::ListSmbstatus [private]
-
-
- -

- -

-

- -

-
- - - - -
enum { ... } smbstatus::readingpart [private]
-
-
- -

-Enum section of smbstatus -

-

- -

-
- - - - -
int smbstatus::version_samba [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classsmbstatus-members.html qtsmbstatus-2.1.1/html/classsmbstatus-members.html --- qtsmbstatus-2.0.4/html/classsmbstatus-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classsmbstatus-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,51 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

smbstatus Member List

This is the complete list of members for smbstatus, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - -
add_lockedfile(const QString &, const QString &, const QString &, const QString &, const QString &, const QString &)smbstatus [signal]
add_share(const QString &, const QString &, const QString &)smbstatus [signal]
add_user(const QString &, const QString &, const QString &, const QString &, const QString &)smbstatus [signal]
compteur_objetsmbstatus [static]
connexions enum valuesmbstatus [private]
enum_version_sambasmbstatus [private]
header_connexions enum valuesmbstatus [private]
header_locked_files enum valuesmbstatus [private]
header_services enum valuesmbstatus [private]
ListSmbstatussmbstatus [private]
locked_files enum valuesmbstatus [private]
readingpartsmbstatus [private]
RQ_smbstatus()smbstatus
services enum valuesmbstatus [private]
setSambaVersion(const QString &)smbstatus [signal]
smbstatus(const QStringList &, QObject *parent=0)smbstatus
unknown enum valuesmbstatus [private]
version2 enum valuesmbstatus [private]
version3 enum valuesmbstatus [private]
version_sambasmbstatus [private]
what_part(QString part)smbstatus [private]
~smbstatus()smbstatus [virtual]


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classUi_1_1configure.html qtsmbstatus-2.1.1/html/classUi_1_1configure.html --- qtsmbstatus-2.0.4/html/classUi_1_1configure.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi_1_1configure.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,47 +0,0 @@ - - -qtsmbstatus.kdevelop: Ui::configure Class Reference - - - - - - - -

Ui::configure Class Reference

-Inheritance diagram for Ui::configure:
-
- -

- -Ui_configure -configure_windows - -
- -

-List of all members. - -
-


The documentation for this class was generated from the following file: -
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classUi_1_1configure-members.html qtsmbstatus-2.1.1/html/classUi_1_1configure-members.html --- qtsmbstatus-2.0.4/html/classUi_1_1configure-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi_1_1configure-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,59 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

Ui::configure Member List

This is the complete list of members for Ui::configure, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
cancelButtonUi_configure
checkAutoconnectUi_configure
checkIconUi_configure
checkLogActivityUi_configure
checkNotificationUi_configure
checkViewHiddenSharesUi_configure
EditHostUi_configure
EditUsernameUi_configure
gridLayoutUi_configure
gridLayout1Ui_configure
gridLayout2Ui_configure
gridLayout3Ui_configure
groupBoxUi_configure
groupBox_2Ui_configure
groupBox_3Ui_configure
limitLogBoxUi_configure
okButtonUi_configure
retranslateUi(QDialog *configure)Ui_configure [inline]
setupUi(QDialog *configure)Ui_configure [inline]
spacerItemUi_configure
spacerItem1Ui_configure
spacerItem2Ui_configure
spacerItem3Ui_configure
spacerItem4Ui_configure
spinIntervalUi_configure
textLabel1_2Ui_configure
textLabel1_3Ui_configure
textLabel1_3_2Ui_configure
textLabel1_4Ui_configure
textLabel1_5Ui_configure


Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/classUi_1_1configure.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/classUi_1_1configure.png sont différents. diff -Nru qtsmbstatus-2.0.4/html/classUi_1_1form__smbstatus.html qtsmbstatus-2.1.1/html/classUi_1_1form__smbstatus.html --- qtsmbstatus-2.0.4/html/classUi_1_1form__smbstatus.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi_1_1form__smbstatus.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,47 +0,0 @@ - - -qtsmbstatus.kdevelop: Ui::form_smbstatus Class Reference - - - - - - - -

Ui::form_smbstatus Class Reference

-Inheritance diagram for Ui::form_smbstatus:
-
- -

- -Ui_form_smbstatus -main_windows - -
- -

-List of all members. - -
-


The documentation for this class was generated from the following file: -
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classUi_1_1form__smbstatus-members.html qtsmbstatus-2.1.1/html/classUi_1_1form__smbstatus-members.html --- qtsmbstatus-2.0.4/html/classUi_1_1form__smbstatus-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi_1_1form__smbstatus-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,54 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

Ui::form_smbstatus Member List

This is the complete list of members for Ui::form_smbstatus, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - -
action_ConnectUi_form_smbstatus
action_QuitUi_form_smbstatus
action_View_logUi_form_smbstatus
comboBox_hostaddrUi_form_smbstatus
ConfigureUi_form_smbstatus
configureConfigure_clientActionUi_form_smbstatus
gridLayoutUi_form_smbstatus
helpAbout_QtActionUi_form_smbstatus
helpAboutActionUi_form_smbstatus
helpMenuUi_form_smbstatus
listViewUi_form_smbstatus
MenuBarUi_form_smbstatus
pushButton_connectUi_form_smbstatus
retranslateUi(QMainWindow *form_smbstatus)Ui_form_smbstatus [inline]
SearchUi_form_smbstatus
searchAllUi_form_smbstatus
searchFile_openActionUi_form_smbstatus
searchMachineActionUi_form_smbstatus
searchNextActionUi_form_smbstatus
searchShare_openActionUi_form_smbstatus
searchUserActionUi_form_smbstatus
setupUi(QMainWindow *form_smbstatus)Ui_form_smbstatus [inline]
spacerItemUi_form_smbstatus
textLabel1Ui_form_smbstatus
widgetUi_form_smbstatus


Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/classUi_1_1form__smbstatus.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/classUi_1_1form__smbstatus.png sont différents. diff -Nru qtsmbstatus-2.0.4/html/classUi_1_1logform.html qtsmbstatus-2.1.1/html/classUi_1_1logform.html --- qtsmbstatus-2.0.4/html/classUi_1_1logform.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi_1_1logform.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,47 +0,0 @@ - - -qtsmbstatus.kdevelop: Ui::logform Class Reference - - - - - - - -

Ui::logform Class Reference

-Inheritance diagram for Ui::logform:
-
- -

- -Ui_logform -LogForm - -
- -

-List of all members. - -
-


The documentation for this class was generated from the following file: -
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classUi_1_1logform-members.html qtsmbstatus-2.1.1/html/classUi_1_1logform-members.html --- qtsmbstatus-2.0.4/html/classUi_1_1logform-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi_1_1logform-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,46 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

Ui::logform Member List

This is the complete list of members for Ui::logform, including all inherited members.

- - - - - - - - - - - - - - - - - -
checkFileUi_logform
checkShareUi_logform
clearButtonUi_logform
filterEditUi_logform
gridLayoutUi_logform
hboxLayoutUi_logform
hboxLayout1Ui_logform
pushButtonUi_logform
retranslateUi(QDialog *logform)Ui_logform [inline]
SaveLogButtonUi_logform
setupUi(QDialog *logform)Ui_logform [inline]
spacerItemUi_logform
spacerItem1Ui_logform
spacerItem2Ui_logform
spacerItem3Ui_logform
tableViewUi_logform
textLabel1Ui_logform


Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/classUi_1_1logform.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/classUi_1_1logform.png sont différents. diff -Nru qtsmbstatus-2.0.4/html/classUi_1_1login__dialog.html qtsmbstatus-2.1.1/html/classUi_1_1login__dialog.html --- qtsmbstatus-2.0.4/html/classUi_1_1login__dialog.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi_1_1login__dialog.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,47 +0,0 @@ - - -qtsmbstatus.kdevelop: Ui::login_dialog Class Reference - - - - - - - -

Ui::login_dialog Class Reference

-Inheritance diagram for Ui::login_dialog:
-
- -

- -Ui_login_dialog -login_windows - -
- -

-List of all members. - -
-


The documentation for this class was generated from the following file: -
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classUi_1_1login__dialog-members.html qtsmbstatus-2.1.1/html/classUi_1_1login__dialog-members.html --- qtsmbstatus-2.0.4/html/classUi_1_1login__dialog-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi_1_1login__dialog-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,41 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

Ui::login_dialog Member List

This is the complete list of members for Ui::login_dialog, including all inherited members.

- - - - - - - - - - - - -
bt_exitUi_login_dialog
bt_loginUi_login_dialog
gridLayoutUi_login_dialog
hboxLayoutUi_login_dialog
input_passwordUi_login_dialog
input_usernameUi_login_dialog
label_passwordUi_login_dialog
label_usernameUi_login_dialog
retranslateUi(QDialog *login_dialog)Ui_login_dialog [inline]
setupUi(QDialog *login_dialog)Ui_login_dialog [inline]
spacerItemUi_login_dialog
spacerItem1Ui_login_dialog


Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/classUi_1_1login__dialog.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/classUi_1_1login__dialog.png sont différents. diff -Nru qtsmbstatus-2.0.4/html/classUi__configure.html qtsmbstatus-2.1.1/html/classUi__configure.html --- qtsmbstatus-2.0.4/html/classUi__configure.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi__configure.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,569 +0,0 @@ - - -qtsmbstatus.kdevelop: Ui_configure Class Reference - - - - - - -

Ui_configure Class Reference

-Inheritance diagram for Ui_configure:
-
- -

- -Ui::configure -configure_windows - -
- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

void retranslateUi (QDialog *configure)
void setupUi (QDialog *configure)

Public Attributes

QPushButton * cancelButton
QCheckBox * checkAutoconnect
QCheckBox * checkIcon
QCheckBox * checkLogActivity
QCheckBox * checkNotification
QCheckBox * checkViewHiddenShares
QLineEdit * EditHost
QLineEdit * EditUsername
QGridLayout * gridLayout
QGridLayout * gridLayout1
QGridLayout * gridLayout2
QGridLayout * gridLayout3
QGroupBox * groupBox
QGroupBox * groupBox_2
QGroupBox * groupBox_3
QSpinBox * limitLogBox
QPushButton * okButton
QSpacerItem * spacerItem
QSpacerItem * spacerItem1
QSpacerItem * spacerItem2
QSpacerItem * spacerItem3
QSpacerItem * spacerItem4
QSpinBox * spinInterval
QLabel * textLabel1_2
QLabel * textLabel1_3
QLabel * textLabel1_3_2
QLabel * textLabel1_4
QLabel * textLabel1_5
-


Member Function Documentation

- -
-
- - - - - - - - - -
void Ui_configure::retranslateUi (QDialog *  configure  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void Ui_configure::setupUi (QDialog *  configure  )  [inline]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
QPushButton* Ui_configure::cancelButton
-
-
- -

- -

-

- -

-
- - - - -
QCheckBox* Ui_configure::checkAutoconnect
-
-
- -

- -

-

- -

-
- - - - -
QCheckBox* Ui_configure::checkIcon
-
-
- -

- -

-

- -

-
- - - - -
QCheckBox* Ui_configure::checkLogActivity
-
-
- -

- -

-

- -

-
- - - - -
QCheckBox* Ui_configure::checkNotification
-
-
- -

- -

-

- -

-
- - - - -
QCheckBox* Ui_configure::checkViewHiddenShares
-
-
- -

- -

-

- -

-
- - - - -
QLineEdit* Ui_configure::EditHost
-
-
- -

- -

-

- -

-
- - - - -
QLineEdit* Ui_configure::EditUsername
-
-
- -

- -

-

- -

-
- - - - -
QGridLayout* Ui_configure::gridLayout
-
-
- -

- -

-

- -

-
- - - - -
QGridLayout* Ui_configure::gridLayout1
-
-
- -

- -

-

- -

-
- - - - -
QGridLayout* Ui_configure::gridLayout2
-
-
- -

- -

-

- -

-
- - - - -
QGridLayout* Ui_configure::gridLayout3
-
-
- -

- -

-

- -

-
- - - - -
QGroupBox* Ui_configure::groupBox
-
-
- -

- -

-

- -

-
- - - - -
QGroupBox* Ui_configure::groupBox_2
-
-
- -

- -

-

- -

-
- - - - -
QGroupBox* Ui_configure::groupBox_3
-
-
- -

- -

-

- -

-
- - - - -
QSpinBox* Ui_configure::limitLogBox
-
-
- -

- -

-

- -

-
- - - - -
QPushButton* Ui_configure::okButton
-
-
- -

- -

-

- -

-
- - - - -
QSpacerItem* Ui_configure::spacerItem
-
-
- -

- -

-

- -

-
- - - - -
QSpacerItem* Ui_configure::spacerItem1
-
-
- -

- -

-

- -

-
- - - - -
QSpacerItem* Ui_configure::spacerItem2
-
-
- -

- -

-

- -

-
- - - - -
QSpacerItem* Ui_configure::spacerItem3
-
-
- -

- -

-

- -

-
- - - - -
QSpacerItem* Ui_configure::spacerItem4
-
-
- -

- -

-

- -

-
- - - - -
QSpinBox* Ui_configure::spinInterval
-
-
- -

- -

-

- -

-
- - - - -
QLabel* Ui_configure::textLabel1_2
-
-
- -

- -

-

- -

-
- - - - -
QLabel* Ui_configure::textLabel1_3
-
-
- -

- -

-

- -

-
- - - - -
QLabel* Ui_configure::textLabel1_3_2
-
-
- -

- -

-

- -

-
- - - - -
QLabel* Ui_configure::textLabel1_4
-
-
- -

- -

-

- -

-
- - - - -
QLabel* Ui_configure::textLabel1_5
-
-
- -

- -

-

-


The documentation for this class was generated from the following file: -
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classUi__configure-members.html qtsmbstatus-2.1.1/html/classUi__configure-members.html --- qtsmbstatus-2.0.4/html/classUi__configure-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi__configure-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,59 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

Ui_configure Member List

This is the complete list of members for Ui_configure, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
cancelButtonUi_configure
checkAutoconnectUi_configure
checkIconUi_configure
checkLogActivityUi_configure
checkNotificationUi_configure
checkViewHiddenSharesUi_configure
EditHostUi_configure
EditUsernameUi_configure
gridLayoutUi_configure
gridLayout1Ui_configure
gridLayout2Ui_configure
gridLayout3Ui_configure
groupBoxUi_configure
groupBox_2Ui_configure
groupBox_3Ui_configure
limitLogBoxUi_configure
okButtonUi_configure
retranslateUi(QDialog *configure)Ui_configure [inline]
setupUi(QDialog *configure)Ui_configure [inline]
spacerItemUi_configure
spacerItem1Ui_configure
spacerItem2Ui_configure
spacerItem3Ui_configure
spacerItem4Ui_configure
spinIntervalUi_configure
textLabel1_2Ui_configure
textLabel1_3Ui_configure
textLabel1_3_2Ui_configure
textLabel1_4Ui_configure
textLabel1_5Ui_configure


Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/classUi__configure.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/classUi__configure.png sont différents. diff -Nru qtsmbstatus-2.0.4/html/classUi__form__smbstatus.html qtsmbstatus-2.1.1/html/classUi__form__smbstatus.html --- qtsmbstatus-2.0.4/html/classUi__form__smbstatus.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi__form__smbstatus.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,484 +0,0 @@ - - -qtsmbstatus.kdevelop: Ui_form_smbstatus Class Reference - - - - - - -

Ui_form_smbstatus Class Reference

-Inheritance diagram for Ui_form_smbstatus:
-
- -

- -Ui::form_smbstatus -main_windows - -
- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

void retranslateUi (QMainWindow *form_smbstatus)
void setupUi (QMainWindow *form_smbstatus)

Public Attributes

QAction * action_Connect
QAction * action_Quit
QAction * action_View_log
QComboBox * comboBox_hostaddr
QMenu * Configure
QAction * configureConfigure_clientAction
QGridLayout * gridLayout
QAction * helpAbout_QtAction
QAction * helpAboutAction
QMenu * helpMenu
Q3ListView * listView
QMenuBar * MenuBar
QPushButton * pushButton_connect
QMenu * Search
QAction * searchAll
QAction * searchFile_openAction
QAction * searchMachineAction
QAction * searchNextAction
QAction * searchShare_openAction
QAction * searchUserAction
QSpacerItem * spacerItem
QLabel * textLabel1
QWidget * widget
-


Member Function Documentation

- -
-
- - - - - - - - - -
void Ui_form_smbstatus::retranslateUi (QMainWindow *  form_smbstatus  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void Ui_form_smbstatus::setupUi (QMainWindow *  form_smbstatus  )  [inline]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
QAction* Ui_form_smbstatus::action_Connect
-
-
- -

- -

-

- -

-
- - - - -
QAction* Ui_form_smbstatus::action_Quit
-
-
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
QComboBox* Ui_form_smbstatus::comboBox_hostaddr
-
-
- -

- -

-

- -

-
- - - - -
QMenu* Ui_form_smbstatus::Configure
-
-
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
QGridLayout* Ui_form_smbstatus::gridLayout
-
-
- -

- -

-

- -

- -
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
QMenu* Ui_form_smbstatus::helpMenu
-
-
- -

- -

-

- -

-
- - - - -
Q3ListView* Ui_form_smbstatus::listView
-
-
- -

- -

-

- -

-
- - - - -
QMenuBar* Ui_form_smbstatus::MenuBar
-
-
- -

- -

-

- -

-
- - - - -
QPushButton* Ui_form_smbstatus::pushButton_connect
-
-
- -

- -

-

- -

-
- - - - -
QMenu* Ui_form_smbstatus::Search
-
-
- -

- -

-

- -

-
- - - - -
QAction* Ui_form_smbstatus::searchAll
-
-
- -

- -

-

- -

- -
- -

- -

-

- -

- -
- -

- -

-

- -

- -
- -

- -

-

- -

- -
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
QSpacerItem* Ui_form_smbstatus::spacerItem
-
-
- -

- -

-

- -

-
- - - - -
QLabel* Ui_form_smbstatus::textLabel1
-
-
- -

- -

-

- -

-
- - - - -
QWidget* Ui_form_smbstatus::widget
-
-
- -

- -

-

-


The documentation for this class was generated from the following file: -
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classUi__form__smbstatus-members.html qtsmbstatus-2.1.1/html/classUi__form__smbstatus-members.html --- qtsmbstatus-2.0.4/html/classUi__form__smbstatus-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi__form__smbstatus-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,54 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

Ui_form_smbstatus Member List

This is the complete list of members for Ui_form_smbstatus, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - -
action_ConnectUi_form_smbstatus
action_QuitUi_form_smbstatus
action_View_logUi_form_smbstatus
comboBox_hostaddrUi_form_smbstatus
ConfigureUi_form_smbstatus
configureConfigure_clientActionUi_form_smbstatus
gridLayoutUi_form_smbstatus
helpAbout_QtActionUi_form_smbstatus
helpAboutActionUi_form_smbstatus
helpMenuUi_form_smbstatus
listViewUi_form_smbstatus
MenuBarUi_form_smbstatus
pushButton_connectUi_form_smbstatus
retranslateUi(QMainWindow *form_smbstatus)Ui_form_smbstatus [inline]
SearchUi_form_smbstatus
searchAllUi_form_smbstatus
searchFile_openActionUi_form_smbstatus
searchMachineActionUi_form_smbstatus
searchNextActionUi_form_smbstatus
searchShare_openActionUi_form_smbstatus
searchUserActionUi_form_smbstatus
setupUi(QMainWindow *form_smbstatus)Ui_form_smbstatus [inline]
spacerItemUi_form_smbstatus
textLabel1Ui_form_smbstatus
widgetUi_form_smbstatus


Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/classUi__form__smbstatus.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/classUi__form__smbstatus.png sont différents. diff -Nru qtsmbstatus-2.0.4/html/classUi__logform.html qtsmbstatus-2.1.1/html/classUi__logform.html --- qtsmbstatus-2.0.4/html/classUi__logform.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi__logform.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,348 +0,0 @@ - - -qtsmbstatus.kdevelop: Ui_logform Class Reference - - - - - - -

Ui_logform Class Reference

-Inheritance diagram for Ui_logform:
-
- -

- -Ui::logform -LogForm - -
- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

void retranslateUi (QDialog *logform)
void setupUi (QDialog *logform)

Public Attributes

QCheckBox * checkFile
QCheckBox * checkShare
QPushButton * clearButton
QLineEdit * filterEdit
QGridLayout * gridLayout
QHBoxLayout * hboxLayout
QHBoxLayout * hboxLayout1
QPushButton * pushButton
QPushButton * SaveLogButton
QSpacerItem * spacerItem
QSpacerItem * spacerItem1
QSpacerItem * spacerItem2
QSpacerItem * spacerItem3
QTableView * tableView
QLabel * textLabel1
-


Member Function Documentation

- -
-
- - - - - - - - - -
void Ui_logform::retranslateUi (QDialog *  logform  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void Ui_logform::setupUi (QDialog *  logform  )  [inline]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
QCheckBox* Ui_logform::checkFile
-
-
- -

- -

-

- -

-
- - - - -
QCheckBox* Ui_logform::checkShare
-
-
- -

- -

-

- -

-
- - - - -
QPushButton* Ui_logform::clearButton
-
-
- -

- -

-

- -

-
- - - - -
QLineEdit* Ui_logform::filterEdit
-
-
- -

- -

-

- -

-
- - - - -
QGridLayout* Ui_logform::gridLayout
-
-
- -

- -

-

- -

-
- - - - -
QHBoxLayout* Ui_logform::hboxLayout
-
-
- -

- -

-

- -

-
- - - - -
QHBoxLayout* Ui_logform::hboxLayout1
-
-
- -

- -

-

- -

-
- - - - -
QPushButton* Ui_logform::pushButton
-
-
- -

- -

-

- -

-
- - - - -
QPushButton* Ui_logform::SaveLogButton
-
-
- -

- -

-

- -

-
- - - - -
QSpacerItem* Ui_logform::spacerItem
-
-
- -

- -

-

- -

-
- - - - -
QSpacerItem* Ui_logform::spacerItem1
-
-
- -

- -

-

- -

-
- - - - -
QSpacerItem* Ui_logform::spacerItem2
-
-
- -

- -

-

- -

-
- - - - -
QSpacerItem* Ui_logform::spacerItem3
-
-
- -

- -

-

- -

-
- - - - -
QTableView* Ui_logform::tableView
-
-
- -

- -

-

- -

-
- - - - -
QLabel* Ui_logform::textLabel1
-
-
- -

- -

-

-


The documentation for this class was generated from the following file: -
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classUi__logform-members.html qtsmbstatus-2.1.1/html/classUi__logform-members.html --- qtsmbstatus-2.0.4/html/classUi__logform-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi__logform-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,46 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

Ui_logform Member List

This is the complete list of members for Ui_logform, including all inherited members.

- - - - - - - - - - - - - - - - - -
checkFileUi_logform
checkShareUi_logform
clearButtonUi_logform
filterEditUi_logform
gridLayoutUi_logform
hboxLayoutUi_logform
hboxLayout1Ui_logform
pushButtonUi_logform
retranslateUi(QDialog *logform)Ui_logform [inline]
SaveLogButtonUi_logform
setupUi(QDialog *logform)Ui_logform [inline]
spacerItemUi_logform
spacerItem1Ui_logform
spacerItem2Ui_logform
spacerItem3Ui_logform
tableViewUi_logform
textLabel1Ui_logform


Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/classUi__logform.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/classUi__logform.png sont différents. diff -Nru qtsmbstatus-2.0.4/html/classUi__login__dialog.html qtsmbstatus-2.1.1/html/classUi__login__dialog.html --- qtsmbstatus-2.0.4/html/classUi__login__dialog.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi__login__dialog.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,263 +0,0 @@ - - -qtsmbstatus.kdevelop: Ui_login_dialog Class Reference - - - - - - -

Ui_login_dialog Class Reference

-Inheritance diagram for Ui_login_dialog:
-
- -

- -Ui::login_dialog -login_windows - -
- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

void retranslateUi (QDialog *login_dialog)
void setupUi (QDialog *login_dialog)

Public Attributes

QPushButton * bt_exit
QPushButton * bt_login
QGridLayout * gridLayout
QHBoxLayout * hboxLayout
QLineEdit * input_password
QLineEdit * input_username
QLabel * label_password
QLabel * label_username
QSpacerItem * spacerItem
QSpacerItem * spacerItem1
-


Member Function Documentation

- -
-
- - - - - - - - - -
void Ui_login_dialog::retranslateUi (QDialog *  login_dialog  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void Ui_login_dialog::setupUi (QDialog *  login_dialog  )  [inline]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
QPushButton* Ui_login_dialog::bt_exit
-
-
- -

- -

-

- -

-
- - - - -
QPushButton* Ui_login_dialog::bt_login
-
-
- -

- -

-

- -

-
- - - - -
QGridLayout* Ui_login_dialog::gridLayout
-
-
- -

- -

-

- -

-
- - - - -
QHBoxLayout* Ui_login_dialog::hboxLayout
-
-
- -

- -

-

- -

-
- - - - -
QLineEdit* Ui_login_dialog::input_password
-
-
- -

- -

-

- -

-
- - - - -
QLineEdit* Ui_login_dialog::input_username
-
-
- -

- -

-

- -

-
- - - - -
QLabel* Ui_login_dialog::label_password
-
-
- -

- -

-

- -

-
- - - - -
QLabel* Ui_login_dialog::label_username
-
-
- -

- -

-

- -

-
- - - - -
QSpacerItem* Ui_login_dialog::spacerItem
-
-
- -

- -

-

- -

-
- - - - -
QSpacerItem* Ui_login_dialog::spacerItem1
-
-
- -

- -

-

-


The documentation for this class was generated from the following file: -
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classUi__login__dialog-members.html qtsmbstatus-2.1.1/html/classUi__login__dialog-members.html --- qtsmbstatus-2.0.4/html/classUi__login__dialog-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classUi__login__dialog-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,41 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

Ui_login_dialog Member List

This is the complete list of members for Ui_login_dialog, including all inherited members.

- - - - - - - - - - - - -
bt_exitUi_login_dialog
bt_loginUi_login_dialog
gridLayoutUi_login_dialog
hboxLayoutUi_login_dialog
input_passwordUi_login_dialog
input_usernameUi_login_dialog
label_passwordUi_login_dialog
label_usernameUi_login_dialog
retranslateUi(QDialog *login_dialog)Ui_login_dialog [inline]
setupUi(QDialog *login_dialog)Ui_login_dialog [inline]
spacerItemUi_login_dialog
spacerItem1Ui_login_dialog


Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/classUi__login__dialog.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/classUi__login__dialog.png sont différents. diff -Nru qtsmbstatus-2.0.4/html/classuser.html qtsmbstatus-2.1.1/html/classuser.html --- qtsmbstatus-2.0.4/html/classuser.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classuser.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,350 +0,0 @@ - - -qtsmbstatus.kdevelop: user Class Reference - - - - - - -

user Class Reference

Class of user items. -More... -

- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

bool append_lockedfile (const QString &PID, const QString &File, const QString &DenyMode, const QString &RW, const QString &Oplock, const QString &DateOpen)
bool append_share (const QString &PID, const QString &Share, const QString &DateOpen)
void mark_childs ()
void refresh_childs ()
 user (Q3ListViewItem *parent, const QString &PID, const QString &Username, const QString &Group)
virtual ~user ()

Public Attributes

QString group
bool mark
QString pid
QString username

Static Public Attributes

static int compteur_objet = 0
-


Detailed Description

-Class of user items. -

-

Date:
2007-07-05
-
Version:
1.1
-
Author:
Daniel Rocher
-
See also:
server machine service
-'user' is parent of 'service' and child of 'machine'

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
user::user (Q3ListViewItem *  parent,
const QString &  PID,
const QString &  Username,
const QString &  Group 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
user::~user (  )  [virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool user::append_lockedfile (const QString &  PID,
const QString &  File,
const QString &  DenyMode,
const QString &  RW,
const QString &  Oplock,
const QString &  DateOpen 
)
-
-
- -

-add lockedfile if not exist

Return values:
- - - -
true already exist
false is new
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
bool user::append_share (const QString &  PID,
const QString &  Share,
const QString &  DateOpen 
)
-
-
- -

-add share if not exist

Return values:
- - - -
true already exist
false is new
-
- -
-

- -

-
- - - - - - - - -
void user::mark_childs (  ) 
-
-
- -

-Mark all children.

    -
  • mark = true -> exist
  • mark = false -> obsolete
    See also:
    refresh_childs
    -
- -
-

- -

-
- - - - - - - - -
void user::refresh_childs (  ) 
-
-
- -

-Refresh view. Delete obsolete objects (mark = false).

See also:
mark_childs
- -
-

-


Member Data Documentation

- -
-
- - - - -
int user::compteur_objet = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
QString user::group
-
-
- -

- -

-

- -

-
- - - - -
bool user::mark
-
-
- -

- -

-

- -

-
- - - - -
QString user::pid
-
-
- -

- -

-

- -

-
- - - - -
QString user::username
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/classuser-members.html qtsmbstatus-2.1.1/html/classuser-members.html --- qtsmbstatus-2.0.4/html/classuser-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/classuser-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,40 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

user Member List

This is the complete list of members for user, including all inherited members.

- - - - - - - - - - - -
append_lockedfile(const QString &PID, const QString &File, const QString &DenyMode, const QString &RW, const QString &Oplock, const QString &DateOpen)user
append_share(const QString &PID, const QString &Share, const QString &DateOpen)user
compteur_objetuser [static]
groupuser
markuser
mark_childs()user
piduser
refresh_childs()user
user(Q3ListViewItem *parent, const QString &PID, const QString &Username, const QString &Group)user
usernameuser
~user()user [virtual]


Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/client_2clientsocket_8cpp.html qtsmbstatus-2.1.1/html/client_2clientsocket_8cpp.html --- qtsmbstatus-2.0.4/html/client_2clientsocket_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/client_2clientsocket_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,45 +0,0 @@ - - -qtsmbstatus.kdevelop: clientsocket.cpp File Reference - - - - - - -

client/clientsocket.cpp File Reference

- - - - -

Variables

QList< Q3ListViewItem * > Q3ListViewItemList
-

Variable Documentation

- -
-
- - - - -
QList<Q3ListViewItem *> Q3ListViewItemList
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/client_2clientsocket_8h.html qtsmbstatus-2.1.1/html/client_2clientsocket_8h.html --- qtsmbstatus-2.0.4/html/client_2clientsocket_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/client_2clientsocket_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,135 +0,0 @@ - - -qtsmbstatus.kdevelop: clientsocket.h File Reference - - - - - - -

client/clientsocket.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - -

Classes

class  ClientSocket
 This class dialogs with server. More...

Functions

void debugQt (const QString &message)

Variables

QString host
int interval
 Interval, in seconds, between every request to smbstatus.
Q_UINT16 port_server
 TCP port.
bool view_hidden_shares
 View hidden shares (share$).
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Variable Documentation

- -
-
- - - - -
QString host
-
-
- -

- -

-

- -

-
- - - - -
int interval
-
-
- -

-Interval, in seconds, between every request to smbstatus. -

- -

-

- -

-
- - - - -
Q_UINT16 port_server
-
-
- -

-TCP port. -

- -

-

- -

-
- - - - -
bool view_hidden_shares
-
-
- -

-View hidden shares (share$). -

- -

-

-


Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/client_2clientsocket_8h-source.html qtsmbstatus-2.1.1/html/client_2clientsocket_8h-source.html --- qtsmbstatus-2.0.4/html/client_2clientsocket_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/client_2clientsocket_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,123 +0,0 @@ - - -qtsmbstatus.kdevelop: clientsocket.h Source File - - - - - - -

client/clientsocket.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 
-00022 #ifndef CLIENTSOCKET_H
-00023 #define CLIENTSOCKET_H
-00024 
-00025 #include <Q3CString>
-00026 
-00027 #include "server.h"
-00028 #include "clientssl.h"
-00029 #include "smbstatus.h"
-00030 #include "../common/core_syntax.h"
-00031 
-00032 extern void debugQt(const QString & message);
-00033 
-00034 extern int interval;
-00035 extern QString host;
-00036 extern Q_UINT16 port_server;
-00037 extern bool view_hidden_shares;
-00038 
-00039 class ClientSocket : public QObject
-00040 {
-00041         Q_OBJECT
-00042 public:
-00043         ClientSocket(Q3ListView * mylistView,QObject *parent=0);
-00044         virtual ~ClientSocket();
-00045         void Disconnect();
-00046         void connectionToServer(const QString & username, const QString & passwd);
-00047         static int compteur_objet;
-00048 private slots:
-00049         void slot_timer();
-00050         void socketconnected();
-00051         void socketclosed();
-00052         void UnreachableHost();
-00053         void slotPopupMenu( Q3ListViewItem*, const QPoint &, int );
-00054         void slotSendMessage();
-00055         void slotSendMessageAllUsers();
-00056         void slotDisconnectUser();
-00057         void InfoServer();
-00058         void InfoUser();
-00059         void InfoService();
-00060         void InfoMachine();
-00061         void core(const Q3CString & rcv_txt);
-00062         void setSambaVersion (const QString &);
-00063         void add_user (const QString &,const QString &,const QString &,const QString &,const QString &);
-00064         void add_share(const QString &,const QString &,const QString &);
-00065         void add_lockedfile(const QString &,const QString &,const QString &,const QString &,const QString &,const QString &);
-00066         void AnalysisSmbDestroyed();
-00067         void slot_echo_timer();
-00068 signals:
-00070         void SignalConnected();
-00072         void SignalClosed();
-00074         void SignalErrorAuth();
-00076         void SignalShortMessage(const QString &);
-00077 
-00078 private: // Private methods
-00079         void sendToServer(int cmd,const QString & inputText="");
-00080         void infoserver(const QString & text);
-00081         void AnalysisSmbstatus();
-00082 
-00083 private: // Private attributes
-00084         bool permitDisconnectUser;
-00085         bool permitSendMsg;
-00086         ClientSSL* socketclient;
-00087         bool ssl_connected;
-00088         int echo;
-00089         static int TimoutTimerEcho;
-00090         QTimer * echo_timer;
-00091         Q3PopupMenu* menu;
-00092         Q3ListView * listView;
-00093         QString passwd_login;
-00094         QString username_login;
-00095         server * item_server;
-00096         QStringList ListSmbstatus;
-00097         smbstatus * InstanceSmbstatus;
-00098         QTimer* timer;
-00099         QErrorMessage * msgError;
-00100         Q3ListViewItem* currentPopupMenuItem;
-00105         enum command {auth_rq,auth_ack,end,kill_user,send_msg,smb_rq,smb_data,end_smb_rq,not_imp1,server_info,error_auth,error_command,error_obj,echo_request,echo_reply};
-00106 };
-00107 
-00108 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/client_2main_8cpp.html qtsmbstatus-2.1.1/html/client_2main_8cpp.html --- qtsmbstatus-2.0.4/html/client_2main_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/client_2main_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,447 +0,0 @@ - - -qtsmbstatus.kdevelop: main.cpp File Reference - - - - - - -

client/main.cpp File Reference

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Functions

QString BoolToStr (bool &value)
void convertto201 ()
int main (int argc, char *argv[])
void readConfigFile ()
bool StrToBool (QString &value)
void unsupported_options (char *erreur, const QString &usage)
 command line error
bool validatePort (const int &port)
void writeConfigFile ()

Variables

bool autoconnect = false
 Autoconnect when qtsmbstatus start.
QString host = "127.0.0.1"
bool iconize = true
 Iconize QtSmbstatus on system tray.
uint int_qtsmbstatus_version
int interval = 10
 Interval, in seconds, between every request to smbstatus.
int limitLog = 1
 limit log (number of days)
bool log_activity = false
 log SMB/CIFS activities
QString passwd_login = ""
bool show_messages = true
 show status notification messages (balloon messages)
QString username_login = "root"
bool view_hidden_shares = true
 View hidden shares (share$).
-

Function Documentation

- -
-
- - - - - - - - - -
QString BoolToStr (bool &  value  ) 
-
-
- -

-Convert bool to string

See also:
StrToBool
- -
-

- -

-
- - - - - - - - -
void convertto201 (  ) 
-
-
- -

-Convert QtSmbstatus config file to new format 2.0.1. We never use .qtsmbstatus.conf (replaced by QSetting). Read old file and save setting -

-

- -

-
- - - - - - - - - - - - - - - - - - -
int main (int  argc,
char *  argv[] 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
void readConfigFile (  ) 
-
-
- -

-Read configuration file.

See also:
writeConfigFile
- -
-

- -

-
- - - - - - - - - -
bool StrToBool (QString &  value  ) 
-
-
- -

-Convert string "true" and "false" to boolean

See also:
BoolToStr
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
void unsupported_options (char *  erreur,
const QString &  usage 
)
-
-
- -

-command line error -

- -

-

- -

-
- - - - - - - - - -
bool validatePort (const int &  port  ) 
-
-
- -

-Test if TCP port is valid

Parameters:
- - -
port port number
-
-
Return values:
- - - -
true TCP port is valid
false TCP port is not valid
-
- -
-

- -

-
- - - - - - - - -
void writeConfigFile (  ) 
-
-
- -

-Save configuration file (create if not exist)

See also:
readConfigFile
- -
-

-


Variable Documentation

- -
-
- - - - -
bool autoconnect = false
-
-
- -

-Autoconnect when qtsmbstatus start. -

- -

-

- -

-
- - - - -
QString host = "127.0.0.1"
-
-
- -

- -

-

- -

-
- - - - -
bool iconize = true
-
-
- -

-Iconize QtSmbstatus on system tray. -

- -

-

- -

-
- - - - -
uint int_qtsmbstatus_version
-
-
- -

- -

-

- -

-
- - - - -
int interval = 10
-
-
- -

-Interval, in seconds, between every request to smbstatus. -

- -

-

- -

-
- - - - -
int limitLog = 1
-
-
- -

-limit log (number of days) -

- -

-

- -

-
- - - - -
bool log_activity = false
-
-
- -

-log SMB/CIFS activities -

- -

-

- -

-
- - - - -
QString passwd_login = ""
-
-
- -

- -

-

- -

-
- - - - -
bool show_messages = true
-
-
- -

-show status notification messages (balloon messages) -

- -

-

- -

-
- - - - -
QString username_login = "root"
-
-
- -

- -

-

- -

-
- - - - -
bool view_hidden_shares = true
-
-
- -

-View hidden shares (share$). -

- -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/client_2moc__clientsocket_8cpp.html qtsmbstatus-2.1.1/html/client_2moc__clientsocket_8cpp.html --- qtsmbstatus-2.0.4/html/client_2moc__clientsocket_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/client_2moc__clientsocket_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,80 +0,0 @@ - - -qtsmbstatus.kdevelop: moc_clientsocket.cpp File Reference - - - - - - -

client/moc_clientsocket.cpp File Reference

- - - - - - -

Variables

static const uint qt_meta_data_ClientSocket []
static const char qt_meta_stringdata_ClientSocket []
-

Variable Documentation

- -
-
- - - - -
const uint qt_meta_data_ClientSocket[] [static]
-
-
- -

- -

-

- -

-
- - - - -
const char qt_meta_stringdata_ClientSocket[] [static]
-
-
- -

-Initial value:

 {
-    "ClientSocket\0\0SignalConnected()\0"
-    "SignalClosed()\0SignalErrorAuth()\0"
-    "SignalShortMessage(QString)\0slot_timer()\0"
-    "socketconnected()\0socketclosed()\0"
-    "UnreachableHost()\0,,\0"
-    "slotPopupMenu(Q3ListViewItem*,QPoint,int)\0"
-    "slotSendMessage()\0slotSendMessageAllUsers()\0"
-    "slotDisconnectUser()\0InfoServer()\0"
-    "InfoUser()\0InfoService()\0InfoMachine()\0"
-    "rcv_txt\0core(Q3CString)\0"
-    "setSambaVersion(QString)\0,,,,\0"
-    "add_user(QString,QString,QString,QString,QString)\0"
-    "add_share(QString,QString,QString)\0"
-    ",,,,,\0"
-    "add_lockedfile(QString,QString,QString,QString,QString,QString)\0"
-    "AnalysisSmbDestroyed()\0slot_echo_timer()\0"
-}
-
-
-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/client_2server_8cpp.html qtsmbstatus-2.1.1/html/client_2server_8cpp.html --- qtsmbstatus-2.0.4/html/client_2server_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/client_2server_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: server.cpp File Reference - - - - - - -

client/server.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/client_2server_8h.html qtsmbstatus-2.1.1/html/client_2server_8h.html --- qtsmbstatus-2.0.4/html/client_2server_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/client_2server_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,77 +0,0 @@ - - -qtsmbstatus.kdevelop: server.h File Reference - - - - - - -

client/server.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - -

Classes

class  server
 Class of server items. More...
struct  type_message

Functions

void debugQt (const QString &message)

Variables

QList< Q3ListViewItem * > Q3ListViewItemList
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Variable Documentation

- -
-
- - - - -
QList<Q3ListViewItem *> Q3ListViewItemList
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/client_2server_8h-source.html qtsmbstatus-2.1.1/html/client_2server_8h-source.html --- qtsmbstatus-2.0.4/html/client_2server_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/client_2server_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,88 +0,0 @@ - - -qtsmbstatus.kdevelop: server.h Source File - - - - - - -

client/server.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef SERVER_H
-00022 #define SERVER_H
-00023 
-00024 #include <QPixmap>
-00025 #include <Q3ListView>
-00026 #include <QTextStream>
-00027 
-00028 #include "machine.h"
-00029 
-00030 
-00031 extern void debugQt(const QString & message);
-00032 extern QList<Q3ListViewItem *> Q3ListViewItemList;
-00033 
-00034 struct type_message
-00035 {
-00036         QString date;
-00037         QString user;
-00038         QString machine;
-00039         QString opened;
-00042         short unsigned int type_message;
-00043 };
-00044 
-00045 class server : public Q3ListViewItem  {
-00046 public:
-00047         server(Q3ListView * parent);
-00048         virtual ~server();
-00049         void refresh_childs();
-00050         void mark_childs();
-00051         void add_user(const QString & PID,const QString & Name,const QString & Group,const QString & MachineName,const QString & MachineIP);
-00052         void add_share(const QString & PID,const QString & Share,const QString & DateOpen);
-00053         void add_lockedfile(const QString & PID,const QString & File,const QString & DenyMode,const QString & RW,const QString & Oplock,const QString & DateOpen);
-00054         void setSambaVersion (const QString &);
-00055         QString getSambaVersion();
-00056         QString ViewInfoServer();
-00057         QString ViewInfoUser(Q3ListViewItem* Item);
-00058         QString ViewInfoService(Q3ListViewItem* Item);
-00059         QString ViewInfoMachine(Q3ListViewItem* Item);
-00060         static int compteur_objet;
-00061         QList<type_message> listMessages;
-00062 private: //private attributes
-00063         QString SambaVersion;
-00069         enum {Tshare,Tlockedfile} TypeService;
-00070 };
-00071 
-00072 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/clientssl_8cpp.html qtsmbstatus-2.1.1/html/clientssl_8cpp.html --- qtsmbstatus-2.0.4/html/clientssl_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/clientssl_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: clientssl.cpp File Reference - - - - - - -

clientssl.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/clientssl_8h.html qtsmbstatus-2.1.1/html/clientssl_8h.html --- qtsmbstatus-2.0.4/html/clientssl_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/clientssl_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,112 +0,0 @@ - - -qtsmbstatus.kdevelop: clientssl.h File Reference - - - - - - -

clientssl.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - -

Classes

class  ClientSSL
 Control SSL and TCP connections. More...

Functions

void debugQt (const QString &message)
void Socket_print_error (int errorcode)
void SSL_print_error (int errorcode)
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

- -

-
- - - - - - - - - -
void Socket_print_error (int  errorcode  ) 
-
-
- -

-Print to stderr, QSocketDevice error

Parameters:
- - -
errorcode code error
-
-
See also:
SSL_print_error
- -
-

- -

-
- - - - - - - - - -
void SSL_print_error (int  errorcode  ) 
-
-
- -

-Print to stderr, TLS/SSL error

Parameters:
- - -
errorcode code error
-
-
See also:
Socket_print_error
- -
-

-


Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/clientssl_8h-source.html qtsmbstatus-2.1.1/html/clientssl_8h-source.html --- qtsmbstatus-2.0.4/html/clientssl_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/clientssl_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,96 +0,0 @@ - - -qtsmbstatus.kdevelop: clientssl.h Source File - - - - - - -

clientssl.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 
-00022 #ifndef CLIENTSSL_H
-00023 #define CLIENTSSL_H
-00024 
-00025 
-00026  //SSL
-00027 #include <openssl/ssl.h>
-00028 #include <openssl/err.h>
-00029 
-00030 #include <QtGui>
-00031 #include <QtNetwork>
-00032 #include <Qt3Support>
-00033 
-00034 extern void debugQt(const QString & message);
-00035 extern void SSL_print_error(int errorcode);
-00036 extern void Socket_print_error (int errorcode);
-00037 
-00038 class ClientSSL : public QObject
-00039 {
-00040         Q_OBJECT
-00041 public:
-00042         ClientSSL(QObject *parent=0);
-00043         virtual ~ClientSSL();
-00044         void sendToServer(const QString & inputText="");
-00045         void Connect(const QString & d_host, Q_UINT16 d_port);
-00046         void closeConnection();
-00047         static int compteur_objet;
-00048 signals:
-00049         void info(const QString &);
-00050         void readFromHost(const Q3CString &);
-00051         void socketconnected();
-00052         void socketclosed();
-00053         void Socketerror();
-00054         void UnreachableHost();
-00055 private slots:
-00056         void connectToHost();
-00057         void ResolveName(QHostInfo host_info);
-00058         void socketReadyRead();
-00059         void Exception();
-00060         void socketConnected();
-00061         void socketClosed();
-00062 private: //attributes
-00063         Q3SocketDevice *socketdevice;
-00064         QSocketNotifier * sn_read;
-00065         QSocketNotifier * sn_exception;
-00066         bool SSL_init;
-00067         SSL_CTX* ssl_ctx;
-00068         SSL* ssl;
-00069         QString host;
-00070         Q_UINT16 port;
-00071 };
-00072 
-00073 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/common_8cpp.html qtsmbstatus-2.1.1/html/common_8cpp.html --- qtsmbstatus-2.0.4/html/common_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/common_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,363 +0,0 @@ - - -qtsmbstatus.kdevelop: common.cpp File Reference - - - - - - -

common.cpp File Reference

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Functions

QString BoolToStr (bool &value)
void debugQt (const QString &message)
void Socket_print_error (int errorcode)
void SSL_print_error (int errorcode)
bool StrToBool (QString &value)
void unsupported_options (char *erreur, const QString &usage)
 command line error
bool validatePort (const int &port)

Variables

QString auteur_qtsmbstatus = "Daniel Rocher"
QString date_qtsmbstatus = "2007-11-02"
bool debug_qtsmbstatus = false
 view debug messages
uint int_qtsmbstatus_version = 201
QString mail_qtsmbstatus = "<a href='mailto:daniel.rocher@adella.org'>daniel.rocher@adella.org</a>"
Q_UINT16 port_server = 4443
 TCP port.
QString version_qtsmbstatus = "2.0.1"
QString web_qtsmbstatus = "<a href='http://qtsmbstatus.free.fr'>http://qtsmbstatus.free.fr</a>"
-

Function Documentation

- -
-
- - - - - - - - - -
QString BoolToStr (bool &  value  ) 
-
-
- -

-Convert bool to string

See also:
StrToBool
- -
-

- -

-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

- -

-
- - - - - - - - - -
void Socket_print_error (int  errorcode  ) 
-
-
- -

-Print to stderr, QSocketDevice error

Parameters:
- - -
errorcode code error
-
-
See also:
SSL_print_error
- -
-

- -

-
- - - - - - - - - -
void SSL_print_error (int  errorcode  ) 
-
-
- -

-Print to stderr, TLS/SSL error

Parameters:
- - -
errorcode code error
-
-
See also:
Socket_print_error
- -
-

- -

-
- - - - - - - - - -
bool StrToBool (QString &  value  ) 
-
-
- -

-Convert string "true" and "false" to boolean

See also:
BoolToStr
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
void unsupported_options (char *  erreur,
const QString &  usage 
)
-
-
- -

-command line error -

- -

-

- -

-
- - - - - - - - - -
bool validatePort (const int &  port  ) 
-
-
- -

-Test if TCP port is valid

Parameters:
- - -
port port number
-
-
Return values:
- - - -
true TCP port is valid
false TCP port is not valid
-
- -
-

-


Variable Documentation

- -
-
- - - - -
QString auteur_qtsmbstatus = "Daniel Rocher"
-
-
- -

- -

-

- -

-
- - - - -
QString date_qtsmbstatus = "2007-11-02"
-
-
- -

- -

-

- -

-
- - - - -
bool debug_qtsmbstatus = false
-
-
- -

-view debug messages -

- -

-

- -

-
- - - - -
uint int_qtsmbstatus_version = 201
-
-
- -

- -

-

- -

-
- - - - -
QString mail_qtsmbstatus = "<a href='mailto:daniel.rocher@adella.org'>daniel.rocher@adella.org</a>"
-
-
- -

- -

-

- -

-
- - - - -
Q_UINT16 port_server = 4443
-
-
- -

-TCP port. -

- -

-

- -

-
- - - - -
QString version_qtsmbstatus = "2.0.1"
-
-
- -

- -

-

- -

-
- - - - -
QString web_qtsmbstatus = "<a href='http://qtsmbstatus.free.fr'>http://qtsmbstatus.free.fr</a>"
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/configure__windows_8cpp.html qtsmbstatus-2.1.1/html/configure__windows_8cpp.html --- qtsmbstatus-2.0.4/html/configure__windows_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/configure__windows_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: configure_windows.cpp File Reference - - - - - - -

configure_windows.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/configure__windows_8h.html qtsmbstatus-2.1.1/html/configure__windows_8h.html --- qtsmbstatus-2.0.4/html/configure__windows_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/configure__windows_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,313 +0,0 @@ - - -qtsmbstatus.kdevelop: configure_windows.h File Reference - - - - - - -

configure_windows.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Classes

class  configure_windows
 Configure Qtsmbstatus-client. More...

Functions

void debugQt (const QString &message)
void readConfigFile ()
void writeConfigFile ()

Variables

bool autoconnect
 Autoconnect when qtsmbstatus start.
QString host
bool iconize
 Iconize QtSmbstatus on system tray.
int interval
 Interval, in seconds, between every request to smbstatus.
int limitLog
 limit log (number of days)
bool log_activity
 log SMB/CIFS activities
QString passwd_login
Q_UINT16 port_server
 TCP port.
bool show_messages
 show status notification messages (balloon messages)
QString username_login
bool view_hidden_shares
 View hidden shares (share$).
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

- -

-
- - - - - - - - -
void readConfigFile (  ) 
-
-
- -

-Read configuration file.

See also:
writeConfigFile
-Read configuration file -
-

- -

-
- - - - - - - - -
void writeConfigFile (  ) 
-
-
- -

-Save configuration file (create if not exist)

See also:
readConfigFile
- -
-

-


Variable Documentation

- -
-
- - - - -
bool autoconnect
-
-
- -

-Autoconnect when qtsmbstatus start. -

- -

-

- -

-
- - - - -
QString host
-
-
- -

- -

-

- -

-
- - - - -
bool iconize
-
-
- -

-Iconize QtSmbstatus on system tray. -

- -

-

- -

-
- - - - -
int interval
-
-
- -

-Interval, in seconds, between every request to smbstatus. -

- -

-

- -

-
- - - - -
int limitLog
-
-
- -

-limit log (number of days) -

- -

-

- -

-
- - - - -
bool log_activity
-
-
- -

-log SMB/CIFS activities -

- -

-

- -

-
- - - - -
QString passwd_login
-
-
- -

- -

-

- -

-
- - - - -
Q_UINT16 port_server
-
-
- -

-TCP port. -

- -

-

- -

-
- - - - -
bool show_messages
-
-
- -

-show status notification messages (balloon messages) -

- -

-

- -

-
- - - - -
QString username_login
-
-
- -

- -

-

- -

-
- - - - -
bool view_hidden_shares
-
-
- -

-View hidden shares (share$). -

- -

-

-


Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/configure__windows_8h-source.html qtsmbstatus-2.1.1/html/configure__windows_8h-source.html --- qtsmbstatus-2.0.4/html/configure__windows_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/configure__windows_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,83 +0,0 @@ - - -qtsmbstatus.kdevelop: configure_windows.h Source File - - - - - - -

configure_windows.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef CONFIGURE_WINDOWS_H
-00022 #define CONFIGURE_WINDOWS_H
-00023 
-00024 class QLineEdit;
-00025 class QCheckBox;
-00026 class QSpinBox;
-00027 
-00028 #include "ui_configure.h"
-00029 
-00030 extern void debugQt(const QString & message);
-00031 extern void writeConfigFile();
-00032 extern void readConfigFile();
-00033 
-00034 extern QString host;
-00035 extern Q_UINT16  port_server; //tcp port
-00036 extern int interval; // Interval, in seconds, between every request to smbstatus
-00037 extern QString username_login;
-00038 extern QString passwd_login;
-00039 extern bool autoconnect; //Autoconnect when qtsmbstatus start
-00040 extern bool view_hidden_shares; // View hidden shares (share$)
-00041 extern bool iconize; // Iconize QtSmbstatus on system tray
-00042 extern bool show_messages; // show status notification messages
-00043 extern bool log_activity; // log SMB/CIFS activities
-00044 extern int limitLog; // limit log (number of days)
-00045 
-00046 class configure_windows : public QDialog, public Ui::configure
-00047 {
-00048 Q_OBJECT
-00049 public:
-00050         configure_windows(QWidget *parent = 0);
-00051         virtual ~configure_windows();
-00052 signals:
-00053         void configuration_changed();
-00054 private slots: // Private slots
-00055         virtual void SlotOk();
-00056         virtual void on_checkIcon_toggled(bool);
-00057         virtual void on_checkLogActivity_toggled(bool checked);
-00058 };
-00059 
-00060 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/core__syntax_8cpp.html qtsmbstatus-2.1.1/html/core__syntax_8cpp.html --- qtsmbstatus-2.0.4/html/core__syntax_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/core__syntax_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: core_syntax.cpp File Reference - - - - - - -

core_syntax.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/core__syntax_8h.html qtsmbstatus-2.1.1/html/core__syntax_8h.html --- qtsmbstatus-2.0.4/html/core__syntax_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/core__syntax_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,32 +0,0 @@ - - -qtsmbstatus.kdevelop: core_syntax.h File Reference - - - - - - -

core_syntax.h File Reference

-

-Go to the source code of this file. - - - - - -

Classes

class  core_syntax
 This class manage the dialog between client and server. More...
-


Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/core__syntax_8h-source.html qtsmbstatus-2.1.1/html/core__syntax_8h-source.html --- qtsmbstatus-2.0.4/html/core__syntax_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/core__syntax_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,61 +0,0 @@ - - -qtsmbstatus.kdevelop: core_syntax.h Source File - - - - - - -

core_syntax.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 
-00022 #ifndef CORE_SYNTAX_H
-00023 #define CORE_SYNTAX_H
-00024 
-00025 class QString;
-00026 
-00027 class core_syntax
-00028 {
-00029 public:
-00030         core_syntax(const QString & = "");
-00031         virtual ~core_syntax();
-00032         QString returnArg(int index);
-00033         void setValue(const QString &);
-00034 private:
-00035         QString myTxt;
-00036 };
-00037 
-00038 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/dir_1215b706660de36dc08bd32c08707511.html qtsmbstatus-2.1.1/html/dir_1215b706660de36dc08bd32c08707511.html --- qtsmbstatus-2.0.4/html/dir_1215b706660de36dc08bd32c08707511.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/dir_1215b706660de36dc08bd32c08707511.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,29 +0,0 @@ - - -qtsmbstatus.kdevelop: /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/ Directory Reference - - - - - - -

projet_qtsmbstatus Directory Reference

- - - - -

Directories

directory  qtsmbstatus
-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/dir_13e984ca7263df38897594b16ab63fae.html qtsmbstatus-2.1.1/html/dir_13e984ca7263df38897594b16ab63fae.html --- qtsmbstatus-2.0.4/html/dir_13e984ca7263df38897594b16ab63fae.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/dir_13e984ca7263df38897594b16ab63fae.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,109 +0,0 @@ - - -qtsmbstatus.kdevelop: /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ Directory Reference - - - - - - -

client Directory Reference

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Files

file  client/clientsocket.cpp
file  client/clientsocket.h [code]
file  clientssl.cpp
file  clientssl.h [code]
file  configure_windows.cpp
file  configure_windows.h [code]
file  linecore.cpp
file  linecore.h [code]
file  log.cpp
file  log.h [code]
file  login_windows.cpp
file  login_windows.h [code]
file  machine.cpp
file  machine.h [code]
file  client/main.cpp
file  main_windows.cpp
file  main_windows.h [code]
file  client/moc_clientsocket.cpp
file  moc_clientssl.cpp
file  moc_configure_windows.cpp
file  moc_linecore.cpp
file  moc_log.cpp
file  moc_login_windows.cpp
file  moc_main_windows.cpp
file  moc_smbstatus.cpp
file  mysortfilterproxymodel.cpp
file  mysortfilterproxymodel.h [code]
file  qrc_client.cpp
file  qtsmbstatus.xpm
file  client/server.cpp
file  client/server.h [code]
file  service.cpp
file  service.h [code]
file  smbstatus.cpp
file  smbstatus.h [code]
file  ui_configure.h [code]
file  ui_form_smbstatus.h [code]
file  ui_log.h [code]
file  ui_login_dialog.h [code]
file  user.cpp
file  user.h [code]
-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/dir_20f75007bf0b4c4e0c68cf8d864ac501.html qtsmbstatus-2.1.1/html/dir_20f75007bf0b4c4e0c68cf8d864ac501.html --- qtsmbstatus-2.0.4/html/dir_20f75007bf0b4c4e0c68cf8d864ac501.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/dir_20f75007bf0b4c4e0c68cf8d864ac501.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,28 +0,0 @@ - - -qtsmbstatus.kdevelop: /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/packages/deb/ Directory Reference - - - - - - -

deb Directory Reference

- - - - -

Files

file  qtsmbstatus.xpm
-
Generated on Sun Oct 14 15:41:02 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.1
- - diff -Nru qtsmbstatus-2.0.4/html/dir_21c35f2fdffe706e7ab36cf3d0afa622.html qtsmbstatus-2.1.1/html/dir_21c35f2fdffe706e7ab36cf3d0afa622.html --- qtsmbstatus-2.0.4/html/dir_21c35f2fdffe706e7ab36cf3d0afa622.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/dir_21c35f2fdffe706e7ab36cf3d0afa622.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,33 +0,0 @@ - - -qtsmbstatus.kdevelop: /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/ Directory Reference - - - - - - -

qtsmbstatus Directory Reference

- - - - - - - - -

Directories

directory  client
directory  common
directory  server
-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/dir_66a5a6a634fc34af99ba3dc349f55e4e.html qtsmbstatus-2.1.1/html/dir_66a5a6a634fc34af99ba3dc349f55e4e.html --- qtsmbstatus-2.0.4/html/dir_66a5a6a634fc34af99ba3dc349f55e4e.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/dir_66a5a6a634fc34af99ba3dc349f55e4e.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,28 +0,0 @@ - - -qtsmbstatus.kdevelop: /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/packages/ Directory Reference - - - - - - -

packages Directory Reference

- - - - -

Directories

directory  deb
-
Generated on Sun Oct 14 15:41:02 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.1
- - diff -Nru qtsmbstatus-2.0.4/html/dir_91591915e9997d8f09df5890c710928d.html qtsmbstatus-2.1.1/html/dir_91591915e9997d8f09df5890c710928d.html --- qtsmbstatus-2.0.4/html/dir_91591915e9997d8f09df5890c710928d.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/dir_91591915e9997d8f09df5890c710928d.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,29 +0,0 @@ - - -qtsmbstatus.kdevelop: /home/ubuntu/ Directory Reference - - - - - - -

ubuntu Directory Reference

- - - - -

Directories

directory  Documents
-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/dir_a5abd7428a27b7d30f02838a16b4ae8f.html qtsmbstatus-2.1.1/html/dir_a5abd7428a27b7d30f02838a16b4ae8f.html --- qtsmbstatus-2.0.4/html/dir_a5abd7428a27b7d30f02838a16b4ae8f.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/dir_a5abd7428a27b7d30f02838a16b4ae8f.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,73 +0,0 @@ - - -qtsmbstatus.kdevelop: /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ Directory Reference - - - - - - -

server Directory Reference

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Files

file  server/clientsocket.cpp
file  server/clientsocket.h [code]
file  disconnect_manager.cpp
file  disconnect_manager.h [code]
file  server/main.cpp
file  server/moc_clientsocket.cpp
file  moc_disconnect_manager.cpp
file  moc_process_smbd_exist.cpp
file  moc_sendmessage_manager.cpp
file  moc_server.cpp
file  moc_smbmanager.cpp
file  pam.cpp
file  pam.h [code]
file  pamthread.cpp
file  pamthread.h [code]
file  process_smbd_exist.cpp
file  process_smbd_exist.h [code]
file  sendmessage_manager.cpp
file  sendmessage_manager.h [code]
file  server/server.cpp
file  server/server.h [code]
file  smbmanager.cpp
file  smbmanager.h [code]
-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/dir_bea29809621b07a1b3f798f12130025f.html qtsmbstatus-2.1.1/html/dir_bea29809621b07a1b3f798f12130025f.html --- qtsmbstatus-2.0.4/html/dir_bea29809621b07a1b3f798f12130025f.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/dir_bea29809621b07a1b3f798f12130025f.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,29 +0,0 @@ - - -qtsmbstatus.kdevelop: /home/ubuntu/Documents/ Directory Reference - - - - - - -

Documents Directory Reference

- - - - -

Directories

directory  Daniel
-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/dir_ebee2ec77f91c9c3ae0f807ff444337a.html qtsmbstatus-2.1.1/html/dir_ebee2ec77f91c9c3ae0f807ff444337a.html --- qtsmbstatus-2.0.4/html/dir_ebee2ec77f91c9c3ae0f807ff444337a.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/dir_ebee2ec77f91c9c3ae0f807ff444337a.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,33 +0,0 @@ - - -qtsmbstatus.kdevelop: /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/common/ Directory Reference - - - - - - -

common Directory Reference

- - - - - - - - -

Files

file  common.cpp
file  core_syntax.cpp
file  core_syntax.h [code]
-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/dir_fcb7609ab6da1d927f7ca62e8b4a49f1.html qtsmbstatus-2.1.1/html/dir_fcb7609ab6da1d927f7ca62e8b4a49f1.html --- qtsmbstatus-2.0.4/html/dir_fcb7609ab6da1d927f7ca62e8b4a49f1.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/dir_fcb7609ab6da1d927f7ca62e8b4a49f1.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,29 +0,0 @@ - - -qtsmbstatus.kdevelop: /home/ubuntu/Documents/Daniel/ Directory Reference - - - - - - -

Daniel Directory Reference

- - - - -

Directories

directory  Sources_programmes
-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/dir_fcc968b995e8922712f69dac75f07a95.html qtsmbstatus-2.1.1/html/dir_fcc968b995e8922712f69dac75f07a95.html --- qtsmbstatus-2.0.4/html/dir_fcc968b995e8922712f69dac75f07a95.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/dir_fcc968b995e8922712f69dac75f07a95.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,29 +0,0 @@ - - -qtsmbstatus.kdevelop: /home/ubuntu/Documents/Daniel/Sources_programmes/ Directory Reference - - - - - - -

Sources_programmes Directory Reference

- - - - -

Directories

directory  projet_qtsmbstatus
-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/dirs.html qtsmbstatus-2.1.1/html/dirs.html --- qtsmbstatus-2.0.4/html/dirs.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/dirs.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,44 +0,0 @@ - - -qtsmbstatus.kdevelop: Directory Hierarchy - - - - - -

qtsmbstatus.kdevelop Directories

This directory hierarchy is sorted roughly, but not completely, alphabetically: -
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/disconnect__manager_8cpp.html qtsmbstatus-2.1.1/html/disconnect__manager_8cpp.html --- qtsmbstatus-2.0.4/html/disconnect__manager_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/disconnect__manager_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: disconnect_manager.cpp File Reference - - - - - - -

disconnect_manager.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/disconnect__manager_8h.html qtsmbstatus-2.1.1/html/disconnect__manager_8h.html --- qtsmbstatus-2.0.4/html/disconnect__manager_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/disconnect__manager_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,56 +0,0 @@ - - -qtsmbstatus.kdevelop: disconnect_manager.h File Reference - - - - - - -

disconnect_manager.h File Reference

-

-Go to the source code of this file. - - - - - - - - -

Classes

class  disconnect_manager
 Kill a process. More...

Functions

void debugQt (const QString &message)
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/disconnect__manager_8h-source.html qtsmbstatus-2.1.1/html/disconnect__manager_8h-source.html --- qtsmbstatus-2.0.4/html/disconnect__manager_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/disconnect__manager_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,73 +0,0 @@ - - -qtsmbstatus.kdevelop: disconnect_manager.h Source File - - - - - - -

disconnect_manager.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef DISCONNECT_MANAGER_H
-00022 #define DISCONNECT_MANAGER_H
-00023 
-00024 #include <QObject>
-00025 #include <Q3Process>
-00026 
-00027 class QString;
-00028 
-00029 extern void debugQt(const QString & message);
-00030 
-00031 class disconnect_manager : public QObject  {
-00032    Q_OBJECT
-00033 public: 
-00034         disconnect_manager(const QString & MyPID,const QString & USER,QObject *parent=0);
-00035         virtual ~disconnect_manager();
-00036         static int compteur_objet;
-00037 private: // Private attributes
-00038         Q3Process* proc;
-00039         QString MyPid;
-00040         QString user;
-00041         bool error_proc;
-00042         enum {begin,error} State;
-00043 private slots: // Private slots
-00044         void end_process();
-00045         void ReadStderr();
-00046 signals: // Signals
-00047         void ObjError(const QString & );
-00048 };
-00049 
-00050 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/doxygen.css qtsmbstatus-2.1.1/html/doxygen.css --- qtsmbstatus-2.0.4/html/doxygen.css 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/doxygen.css 1970-01-01 01:00:00.000000000 +0100 @@ -1,358 +0,0 @@ -BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { - font-family: Geneva, Arial, Helvetica, sans-serif; -} -BODY,TD { - font-size: 90%; -} -H1 { - text-align: center; - font-size: 160%; -} -H2 { - font-size: 120%; -} -H3 { - font-size: 100%; -} -CAPTION { font-weight: bold } -DIV.qindex { - width: 100%; - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - padding: 2px; - line-height: 140%; -} -DIV.nav { - width: 100%; - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - padding: 2px; - line-height: 140%; -} -DIV.navtab { - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} -TD.navtab { - font-size: 70%; -} -A.qindex { - text-decoration: none; - font-weight: bold; - color: #1A419D; -} -A.qindex:visited { - text-decoration: none; - font-weight: bold; - color: #1A419D -} -A.qindex:hover { - text-decoration: none; - background-color: #ddddff; -} -A.qindexHL { - text-decoration: none; - font-weight: bold; - background-color: #6666cc; - color: #ffffff; - border: 1px double #9295C2; -} -A.qindexHL:hover { - text-decoration: none; - background-color: #6666cc; - color: #ffffff; -} -A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff } -A.el { text-decoration: none; font-weight: bold } -A.elRef { font-weight: bold } -A.code:link { text-decoration: none; font-weight: normal; color: #0000FF} -A.code:visited { text-decoration: none; font-weight: normal; color: #0000FF} -A.codeRef:link { font-weight: normal; color: #0000FF} -A.codeRef:visited { font-weight: normal; color: #0000FF} -A:hover { text-decoration: none; background-color: #f2f2ff } -DL.el { margin-left: -1cm } -.fragment { - font-family: monospace, fixed; - font-size: 95%; -} -PRE.fragment { - border: 1px solid #CCCCCC; - background-color: #f5f5f5; - margin-top: 4px; - margin-bottom: 4px; - margin-left: 2px; - margin-right: 8px; - padding-left: 6px; - padding-right: 6px; - padding-top: 4px; - padding-bottom: 4px; -} -DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } - -DIV.groupHeader { - margin-left: 16px; - margin-top: 12px; - margin-bottom: 6px; - font-weight: bold; -} -DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% } -BODY { - background: white; - color: black; - margin-right: 20px; - margin-left: 20px; -} -TD.indexkey { - background-color: #e8eef2; - font-weight: bold; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px; - border: 1px solid #CCCCCC; -} -TD.indexvalue { - background-color: #e8eef2; - font-style: italic; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px; - border: 1px solid #CCCCCC; -} -TR.memlist { - background-color: #f0f0f0; -} -P.formulaDsp { text-align: center; } -IMG.formulaDsp { } -IMG.formulaInl { vertical-align: middle; } -SPAN.keyword { color: #008000 } -SPAN.keywordtype { color: #604020 } -SPAN.keywordflow { color: #e08000 } -SPAN.comment { color: #800000 } -SPAN.preprocessor { color: #806020 } -SPAN.stringliteral { color: #002080 } -SPAN.charliteral { color: #008080 } -.mdescLeft { - padding: 0px 8px 4px 8px; - font-size: 80%; - font-style: italic; - background-color: #FAFAFA; - border-top: 1px none #E0E0E0; - border-right: 1px none #E0E0E0; - border-bottom: 1px none #E0E0E0; - border-left: 1px none #E0E0E0; - margin: 0px; -} -.mdescRight { - padding: 0px 8px 4px 8px; - font-size: 80%; - font-style: italic; - background-color: #FAFAFA; - border-top: 1px none #E0E0E0; - border-right: 1px none #E0E0E0; - border-bottom: 1px none #E0E0E0; - border-left: 1px none #E0E0E0; - margin: 0px; -} -.memItemLeft { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memItemRight { - padding: 1px 8px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplItemLeft { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: none; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplItemRight { - padding: 1px 8px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: none; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplParams { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - color: #606060; - background-color: #FAFAFA; - font-size: 80%; -} -.search { color: #003399; - font-weight: bold; -} -FORM.search { - margin-bottom: 0px; - margin-top: 0px; -} -INPUT.search { font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -TD.tiny { font-size: 75%; -} -a { - color: #1A41A8; -} -a:visited { - color: #2A3798; -} -.dirtab { padding: 4px; - border-collapse: collapse; - border: 1px solid #84b0c7; -} -TH.dirtab { background: #e8eef2; - font-weight: bold; -} -HR { height: 1px; - border: none; - border-top: 1px solid black; -} - -/* Style for detailed member documentation */ -.memtemplate { - font-size: 80%; - color: #606060; - font-weight: normal; -} -.memnav { - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} -.memitem { - padding: 4px; - background-color: #eef3f5; - border-width: 1px; - border-style: solid; - border-color: #dedeee; - -moz-border-radius: 8px 8px 8px 8px; -} -.memname { - white-space: nowrap; - font-weight: bold; -} -.memdoc{ - padding-left: 10px; -} -.memproto { - background-color: #d5e1e8; - width: 100%; - border-width: 1px; - border-style: solid; - border-color: #84b0c7; - font-weight: bold; - -moz-border-radius: 8px 8px 8px 8px; -} -.paramkey { - text-align: right; -} -.paramtype { - white-space: nowrap; -} -.paramname { - color: #602020; - font-style: italic; - white-space: nowrap; -} -/* End Styling for detailed member documentation */ - -/* for the tree view */ -.ftvtree { - font-family: sans-serif; - margin:0.5em; -} -.directory { font-size: 9pt; font-weight: bold; } -.directory h3 { margin: 0px; margin-top: 1em; font-size: 11pt; } -.directory > h3 { margin-top: 0; } -.directory p { margin: 0px; white-space: nowrap; } -.directory div { display: none; margin: 0px; } -.directory img { vertical-align: -30%; } Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/doxygen.png et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/doxygen.png sont différents. diff -Nru qtsmbstatus-2.0.4/html/files.html qtsmbstatus-2.1.1/html/files.html --- qtsmbstatus-2.0.4/html/files.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/files.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,96 +0,0 @@ - - -qtsmbstatus.kdevelop: File Index - - - - - - -

qtsmbstatus.kdevelop File List

Here is a list of all files with brief descriptions: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
client/clientsocket.cpp
server/clientsocket.cpp
client/clientsocket.h [code]
server/clientsocket.h [code]
clientssl.cpp
clientssl.h [code]
common.cpp
configure_windows.cpp
configure_windows.h [code]
core_syntax.cpp
core_syntax.h [code]
disconnect_manager.cpp
disconnect_manager.h [code]
linecore.cpp
linecore.h [code]
log.cpp
log.h [code]
login_windows.cpp
login_windows.h [code]
machine.cpp
machine.h [code]
client/main.cpp
server/main.cpp
main_windows.cpp
main_windows.h [code]
client/moc_clientsocket.cpp
server/moc_clientsocket.cpp
moc_clientssl.cpp
moc_configure_windows.cpp
moc_disconnect_manager.cpp
moc_linecore.cpp
moc_log.cpp
moc_login_windows.cpp
moc_main_windows.cpp
moc_process_smbd_exist.cpp
moc_sendmessage_manager.cpp
moc_server.cpp
moc_smbmanager.cpp
moc_smbstatus.cpp
mysortfilterproxymodel.cpp
mysortfilterproxymodel.h [code]
pam.cpp
pam.h [code]
pamthread.cpp
pamthread.h [code]
process_smbd_exist.cpp
process_smbd_exist.h [code]
qrc_client.cpp
qtsmbstatus.xpm
sendmessage_manager.cpp
sendmessage_manager.h [code]
client/server.cpp
server/server.cpp
client/server.h [code]
server/server.h [code]
service.cpp
service.h [code]
smbmanager.cpp
smbmanager.h [code]
smbstatus.cpp
smbstatus.h [code]
ui_configure.h [code]
ui_form_smbstatus.h [code]
ui_log.h [code]
ui_login_dialog.h [code]
user.cpp
user.h [code]
-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x62.html qtsmbstatus-2.1.1/html/functions_0x62.html --- qtsmbstatus-2.0.4/html/functions_0x62.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x62.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,86 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- b -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x63.html qtsmbstatus-2.1.1/html/functions_0x63.html --- qtsmbstatus-2.0.4/html/functions_0x63.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x63.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,164 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- c -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x64.html qtsmbstatus-2.1.1/html/functions_0x64.html --- qtsmbstatus-2.0.4/html/functions_0x64.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x64.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,83 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- d -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x65.html qtsmbstatus-2.1.1/html/functions_0x65.html --- qtsmbstatus-2.0.4/html/functions_0x65.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x65.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,114 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- e -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x66.html qtsmbstatus-2.1.1/html/functions_0x66.html --- qtsmbstatus-2.0.4/html/functions_0x66.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x66.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,87 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- f -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x67.html qtsmbstatus-2.1.1/html/functions_0x67.html --- qtsmbstatus-2.0.4/html/functions_0x67.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x67.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,94 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- g -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x68.html qtsmbstatus-2.1.1/html/functions_0x68.html --- qtsmbstatus-2.0.4/html/functions_0x68.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x68.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,96 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- h -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x69.html qtsmbstatus-2.1.1/html/functions_0x69.html --- qtsmbstatus-2.0.4/html/functions_0x69.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x69.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,101 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- i -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x6b.html qtsmbstatus-2.1.1/html/functions_0x6b.html --- qtsmbstatus-2.0.4/html/functions_0x6b.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x6b.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,73 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- k -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x6c.html qtsmbstatus-2.1.1/html/functions_0x6c.html --- qtsmbstatus-2.0.4/html/functions_0x6c.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x6c.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,99 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- l -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x6d.html qtsmbstatus-2.1.1/html/functions_0x6d.html --- qtsmbstatus-2.0.4/html/functions_0x6d.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x6d.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,113 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- m -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x6e.html qtsmbstatus-2.1.1/html/functions_0x6e.html --- qtsmbstatus-2.0.4/html/functions_0x6e.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x6e.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,85 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- n -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x6f.html qtsmbstatus-2.1.1/html/functions_0x6f.html --- qtsmbstatus-2.0.4/html/functions_0x6f.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x6f.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,101 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- o -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x70.html qtsmbstatus-2.1.1/html/functions_0x70.html --- qtsmbstatus-2.0.4/html/functions_0x70.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x70.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,101 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- p -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x71.html qtsmbstatus-2.1.1/html/functions_0x71.html --- qtsmbstatus-2.0.4/html/functions_0x71.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x71.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,73 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- q -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x72.html qtsmbstatus-2.1.1/html/functions_0x72.html --- qtsmbstatus-2.0.4/html/functions_0x72.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x72.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,119 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- r -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x73.html qtsmbstatus-2.1.1/html/functions_0x73.html --- qtsmbstatus-2.0.4/html/functions_0x73.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x73.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,253 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- s -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x74.html qtsmbstatus-2.1.1/html/functions_0x74.html --- qtsmbstatus-2.0.4/html/functions_0x74.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x74.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,129 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- t -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x75.html qtsmbstatus-2.1.1/html/functions_0x75.html --- qtsmbstatus-2.0.4/html/functions_0x75.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x75.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,88 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- u -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x76.html qtsmbstatus-2.1.1/html/functions_0x76.html --- qtsmbstatus-2.0.4/html/functions_0x76.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x76.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,89 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- v -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x77.html qtsmbstatus-2.1.1/html/functions_0x77.html --- qtsmbstatus-2.0.4/html/functions_0x77.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x77.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,77 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- w -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_0x7e.html qtsmbstatus-2.1.1/html/functions_0x7e.html --- qtsmbstatus-2.0.4/html/functions_0x7e.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_0x7e.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,111 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- ~ -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_enum.html qtsmbstatus-2.1.1/html/functions_enum.html --- qtsmbstatus-2.0.4/html/functions_enum.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_enum.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,48 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Enumerations - - - - - - - -  -

-

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_eval.html qtsmbstatus-2.1.1/html/functions_eval.html --- qtsmbstatus-2.0.4/html/functions_eval.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_eval.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,164 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Enumerator - - - - - - - -
- -
- -

-  -

-

- a -

-

- b -

-

- c -

-

- e -

-

- f -

-

- h -

-

- k -

-

- l -

-

- n -

-

- s -

-

- t -

-

- u -

-

- v -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x62.html qtsmbstatus-2.1.1/html/functions_func_0x62.html --- qtsmbstatus-2.0.4/html/functions_func_0x62.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x62.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,72 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- b -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x63.html qtsmbstatus-2.1.1/html/functions_func_0x63.html --- qtsmbstatus-2.0.4/html/functions_func_0x63.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x63.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,107 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- c -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x64.html qtsmbstatus-2.1.1/html/functions_func_0x64.html --- qtsmbstatus-2.0.4/html/functions_func_0x64.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x64.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,74 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- d -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x65.html qtsmbstatus-2.1.1/html/functions_func_0x65.html --- qtsmbstatus-2.0.4/html/functions_func_0x65.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x65.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,80 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- e -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x66.html qtsmbstatus-2.1.1/html/functions_func_0x66.html --- qtsmbstatus-2.0.4/html/functions_func_0x66.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x66.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,74 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- f -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x67.html qtsmbstatus-2.1.1/html/functions_func_0x67.html --- qtsmbstatus-2.0.4/html/functions_func_0x67.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x67.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,74 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- g -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x68.html qtsmbstatus-2.1.1/html/functions_func_0x68.html --- qtsmbstatus-2.0.4/html/functions_func_0x68.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x68.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,74 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- h -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x69.html qtsmbstatus-2.1.1/html/functions_func_0x69.html --- qtsmbstatus-2.0.4/html/functions_func_0x69.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x69.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,88 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- i -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x6c.html qtsmbstatus-2.1.1/html/functions_func_0x6c.html --- qtsmbstatus-2.0.4/html/functions_func_0x6c.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x6c.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,76 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- l -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x6d.html qtsmbstatus-2.1.1/html/functions_func_0x6d.html --- qtsmbstatus-2.0.4/html/functions_func_0x6d.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x6d.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,84 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- m -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x6e.html qtsmbstatus-2.1.1/html/functions_func_0x6e.html --- qtsmbstatus-2.0.4/html/functions_func_0x6e.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x6e.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,76 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- n -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x6f.html qtsmbstatus-2.1.1/html/functions_func_0x6f.html --- qtsmbstatus-2.0.4/html/functions_func_0x6f.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x6f.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,94 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- o -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x70.html qtsmbstatus-2.1.1/html/functions_func_0x70.html --- qtsmbstatus-2.0.4/html/functions_func_0x70.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x70.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,74 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- p -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x71.html qtsmbstatus-2.1.1/html/functions_func_0x71.html --- qtsmbstatus-2.0.4/html/functions_func_0x71.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x71.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,72 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- q -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x72.html qtsmbstatus-2.1.1/html/functions_func_0x72.html --- qtsmbstatus-2.0.4/html/functions_func_0x72.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x72.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,110 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- r -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x73.html qtsmbstatus-2.1.1/html/functions_func_0x73.html --- qtsmbstatus-2.0.4/html/functions_func_0x73.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x73.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,172 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- s -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x74.html qtsmbstatus-2.1.1/html/functions_func_0x74.html --- qtsmbstatus-2.0.4/html/functions_func_0x74.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x74.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,72 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- t -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x75.html qtsmbstatus-2.1.1/html/functions_func_0x75.html --- qtsmbstatus-2.0.4/html/functions_func_0x75.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x75.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,77 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- u -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x76.html qtsmbstatus-2.1.1/html/functions_func_0x76.html --- qtsmbstatus-2.0.4/html/functions_func_0x76.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x76.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,78 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- v -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x77.html qtsmbstatus-2.1.1/html/functions_func_0x77.html --- qtsmbstatus-2.0.4/html/functions_func_0x77.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x77.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,74 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- w -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func_0x7e.html qtsmbstatus-2.1.1/html/functions_func_0x7e.html --- qtsmbstatus-2.0.4/html/functions_func_0x7e.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func_0x7e.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,110 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- ~ -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_func.html qtsmbstatus-2.1.1/html/functions_func.html --- qtsmbstatus-2.0.4/html/functions_func.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_func.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,98 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Functions - - - - - - - -
- -
- -

-  -

-

- a -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions.html qtsmbstatus-2.1.1/html/functions.html --- qtsmbstatus-2.0.4/html/functions.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,115 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- a -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_type.html qtsmbstatus-2.1.1/html/functions_type.html --- qtsmbstatus-2.0.4/html/functions_type.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_type.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,44 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Typedefs - - - - - - - -  -

-

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x62.html qtsmbstatus-2.1.1/html/functions_vars_0x62.html --- qtsmbstatus-2.0.4/html/functions_vars_0x62.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x62.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,76 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- b -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x63.html qtsmbstatus-2.1.1/html/functions_vars_0x63.html --- qtsmbstatus-2.0.4/html/functions_vars_0x63.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x63.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,120 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- c -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x64.html qtsmbstatus-2.1.1/html/functions_vars_0x64.html --- qtsmbstatus-2.0.4/html/functions_vars_0x64.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x64.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,76 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- d -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x65.html qtsmbstatus-2.1.1/html/functions_vars_0x65.html --- qtsmbstatus-2.0.4/html/functions_vars_0x65.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x65.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,84 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- e -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x66.html qtsmbstatus-2.1.1/html/functions_vars_0x66.html --- qtsmbstatus-2.0.4/html/functions_vars_0x66.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x66.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,78 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- f -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x67.html qtsmbstatus-2.1.1/html/functions_vars_0x67.html --- qtsmbstatus-2.0.4/html/functions_vars_0x67.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x67.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,87 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- g -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x68.html qtsmbstatus-2.1.1/html/functions_vars_0x68.html --- qtsmbstatus-2.0.4/html/functions_vars_0x68.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x68.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,83 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- h -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x69.html qtsmbstatus-2.1.1/html/functions_vars_0x69.html --- qtsmbstatus-2.0.4/html/functions_vars_0x69.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x69.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,80 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- i -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x6c.html qtsmbstatus-2.1.1/html/functions_vars_0x6c.html --- qtsmbstatus-2.0.4/html/functions_vars_0x6c.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x6c.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,88 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- l -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x6d.html qtsmbstatus-2.1.1/html/functions_vars_0x6d.html --- qtsmbstatus-2.0.4/html/functions_vars_0x6d.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x6d.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,97 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- m -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x6e.html qtsmbstatus-2.1.1/html/functions_vars_0x6e.html --- qtsmbstatus-2.0.4/html/functions_vars_0x6e.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x6e.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,74 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- n -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x6f.html qtsmbstatus-2.1.1/html/functions_vars_0x6f.html --- qtsmbstatus-2.0.4/html/functions_vars_0x6f.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x6f.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,74 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- o -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x70.html qtsmbstatus-2.1.1/html/functions_vars_0x70.html --- qtsmbstatus-2.0.4/html/functions_vars_0x70.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x70.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,94 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- p -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x72.html qtsmbstatus-2.1.1/html/functions_vars_0x72.html --- qtsmbstatus-2.0.4/html/functions_vars_0x72.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x72.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,74 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- r -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x73.html qtsmbstatus-2.1.1/html/functions_vars_0x73.html --- qtsmbstatus-2.0.4/html/functions_vars_0x73.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x73.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,138 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- s -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x74.html qtsmbstatus-2.1.1/html/functions_vars_0x74.html --- qtsmbstatus-2.0.4/html/functions_vars_0x74.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x74.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,98 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- t -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x75.html qtsmbstatus-2.1.1/html/functions_vars_0x75.html --- qtsmbstatus-2.0.4/html/functions_vars_0x75.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x75.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,77 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- u -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x76.html qtsmbstatus-2.1.1/html/functions_vars_0x76.html --- qtsmbstatus-2.0.4/html/functions_vars_0x76.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x76.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,74 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- v -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars_0x77.html qtsmbstatus-2.1.1/html/functions_vars_0x77.html --- qtsmbstatus-2.0.4/html/functions_vars_0x77.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars_0x77.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,70 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- w -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/functions_vars.html qtsmbstatus-2.1.1/html/functions_vars.html --- qtsmbstatus-2.0.4/html/functions_vars.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/functions_vars.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,80 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - Variables - - - - - - - -
- -
- -

-  -

-

- a -

-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/globals_defs.html qtsmbstatus-2.1.1/html/globals_defs.html --- qtsmbstatus-2.0.4/html/globals_defs.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/globals_defs.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,45 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -  -

-

-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/globals_func.html qtsmbstatus-2.1.1/html/globals_func.html --- qtsmbstatus-2.0.4/html/globals_func.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/globals_func.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,155 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-  -

-

- a -

-

- b -

-

- c -

-

- d -

-

- g -

-

- m -

-

- p -

-

- q -

-

- r -

-

- s -

-

- u -

-

- v -

-

- w -

-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/globals.html qtsmbstatus-2.1.1/html/globals.html --- qtsmbstatus-2.0.4/html/globals.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/globals.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,339 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-Here is a list of all file members with links to the files they belong to: -

-

- a -

-

- b -

-

- c -

-

- d -

-

- g -

-

- h -

-

- i -

-

- l -

-

- m -

-

- n -

-

- p -

-

- q -

-

- r -

-

- s -

-

- u -

-

- v -

-

- w -

-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/globals_vars.html qtsmbstatus-2.1.1/html/globals_vars.html --- qtsmbstatus-2.0.4/html/globals_vars.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/globals_vars.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,248 +0,0 @@ - - -qtsmbstatus.kdevelop: Class Members - - - - - - - -
- -
- -

-  -

-

- a -

-

- c -

-

- d -

-

- h -

-

- i -

-

- l -

-

- m -

-

- p -

-

- q -

-

- s -

-

- u -

-

- v -

-

- w -

-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/hierarchy.html qtsmbstatus-2.1.1/html/hierarchy.html --- qtsmbstatus-2.0.4/html/hierarchy.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/hierarchy.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,77 +0,0 @@ - - -qtsmbstatus.kdevelop: Hierarchical Index - - - - - - -

qtsmbstatus.kdevelop Class Hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/index.html qtsmbstatus-2.1.1/html/index.html --- qtsmbstatus-2.0.4/html/index.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/index.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,27 +0,0 @@ - - -qtsmbstatus.kdevelop: QtSmbstatus - - - - - -

QtSmbstatus

-

-

2.0.0

-Introduction

-QtSmbstatus is a GUI (graphical user interface) for smbstatus.

-QtSmbstatus was designed as a client/server system secured with SSL. A login and password is required to log on to server (PAM). Qtsmbstatusd ought to be installed on host where SAMBA executes.

-This program is licensed to you under the terms of the GNU General Public License version 2


Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/linecore_8cpp.html qtsmbstatus-2.1.1/html/linecore_8cpp.html --- qtsmbstatus-2.0.4/html/linecore_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/linecore_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: linecore.cpp File Reference - - - - - - -

linecore.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/linecore_8h.html qtsmbstatus-2.1.1/html/linecore_8h.html --- qtsmbstatus-2.0.4/html/linecore_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/linecore_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,58 +0,0 @@ - - -qtsmbstatus.kdevelop: linecore.h File Reference - - - - - - -

linecore.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - -

Classes

class  LineCore
 Analysis the lines of smbstatus reply. More...
struct  LineCore::record

Functions

void debugQt (const QString &message)
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/linecore_8h-source.html qtsmbstatus-2.1.1/html/linecore_8h-source.html --- qtsmbstatus-2.0.4/html/linecore_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/linecore_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,88 +0,0 @@ - - -qtsmbstatus.kdevelop: linecore.h Source File - - - - - - -

linecore.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 
-00022 #ifndef LINECORE_H
-00023 #define LINECORE_H
-00024 
-00025 #include <QObject>
-00026 #include <Q3ValueList>
-00027 
-00028 extern void debugQt(const QString & message);
-00029 
-00030 class LineCore : public QObject
-00031 {
-00032 Q_OBJECT
-00033 public:
-00034         LineCore(QObject *parent=0);
-00035         ~LineCore();
-00036         void InitHeader(const QString & OneHeader);
-00037         bool InitElement(QString element);
-00038         QString ReturnElement(QString element);
-00039         void Analysis(const QString & OneLine);
-00040         void SortElements();
-00041 
-00042 public: //attributes
-00043         static int compteur_objet;
-00044 
-00045 private: //attributes
-00046         QString line;
-00047         QString header;
-00048         bool analysisProc;
-00049         bool initHead;
-00050         static const short int back;
-00051 
-00052 struct record {
-00053         Q_INT32 Begin;
-00054         Q_INT32 End;
-00055         Q_INT32 New_Begin;
-00056         Q_INT32 New_End;
-00057         QString Ident;
-00058         QString Value;
-00059 };
-00060 
-00061 typedef Q3ValueList<record> recordList;
-00062 recordList listElement;
-00063 };
-00064 
-00065 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/log_8cpp.html qtsmbstatus-2.1.1/html/log_8cpp.html --- qtsmbstatus-2.0.4/html/log_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/log_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,62 +0,0 @@ - - -qtsmbstatus.kdevelop: log.cpp File Reference - - - - - - -

log.cpp File Reference

- - - - - - -

Defines

#define name_of_file   "File"
#define name_of_share   "Share"
-

Define Documentation

- -
-
- - - - -
#define name_of_file   "File"
-
-
- -

- -

-

- -

-
- - - - -
#define name_of_share   "Share"
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/log_8h.html qtsmbstatus-2.1.1/html/log_8h.html --- qtsmbstatus-2.0.4/html/log_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/log_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,95 +0,0 @@ - - -qtsmbstatus.kdevelop: log.h File Reference - - - - - - -

log.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - -

Classes

class  LogForm
 Form to view CIFS/SMB activities. More...

Functions

void debugQt (const QString &message)

Variables

int limitLog
 limit log (number of days)
bool Log_activity
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Variable Documentation

- -
-
- - - - -
int limitLog
-
-
- -

-limit log (number of days) -

- -

-

- -

-
- - - - -
bool Log_activity
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/log_8h-source.html qtsmbstatus-2.1.1/html/log_8h-source.html --- qtsmbstatus-2.0.4/html/log_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/log_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,78 +0,0 @@ - - -qtsmbstatus.kdevelop: log.h Source File - - - - - - -

log.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef LOG_H
-00022 #define LOG_H
-00023 
-00024 #include "ui_log.h"
-00025 #include "server.h"
-00026 
-00027 class QStandardItemModel;
-00028 class MySortFilterProxyModel;
-00029 
-00030 extern void debugQt(const QString & message);
-00031 extern bool Log_activity; // Log SMB/CIFS activities
-00032 extern int limitLog; // limit log (number of days)
-00033 
-00034 class LogForm: public QDialog, public Ui::logform
-00035 {
-00036 Q_OBJECT
-00037 public:
-00038         LogForm(QWidget *parent = 0);
-00039         virtual ~LogForm();
-00040         void setHeader();
-00041 public slots:
-00042         void append(const type_message &);
-00043         void on_clearButton_clicked();
-00044         void eraseOldLog();
-00045         void on_filterEdit_textChanged();
-00046 private slots:
-00047         void on_checkShare_stateChanged ( int state);
-00048         void on_checkFile_stateChanged ( int state);
-00049         void on_SaveLogButton_clicked();
-00050 private: // attributes
-00051         QStandardItemModel * model;
-00052         MySortFilterProxyModel *proxyModel;
-00053 };
-00054 
-00055 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/login__windows_8cpp.html qtsmbstatus-2.1.1/html/login__windows_8cpp.html --- qtsmbstatus-2.0.4/html/login__windows_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/login__windows_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: login_windows.cpp File Reference - - - - - - -

login_windows.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/login__windows_8h.html qtsmbstatus-2.1.1/html/login__windows_8h.html --- qtsmbstatus-2.0.4/html/login__windows_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/login__windows_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,92 +0,0 @@ - - -qtsmbstatus.kdevelop: login_windows.h File Reference - - - - - - -

login_windows.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - -

Classes

class  login_windows
 InputBox login and password. More...

Functions

void debugQt (const QString &message)

Variables

QString passwd_login
QString username_login
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Variable Documentation

- -
-
- - - - -
QString passwd_login
-
-
- -

- -

-

- -

-
- - - - -
QString username_login
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/login__windows_8h-source.html qtsmbstatus-2.1.1/html/login__windows_8h-source.html --- qtsmbstatus-2.0.4/html/login__windows_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/login__windows_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,64 +0,0 @@ - - -qtsmbstatus.kdevelop: login_windows.h Source File - - - - - - -

login_windows.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef LOGIN_WINDOWS_H
-00022 #define LOGIN_WINDOWS_H
-00023 
-00024 
-00025 #include "ui_login_dialog.h"
-00026 
-00027 extern void debugQt(const QString & message);
-00028 extern QString username_login;
-00029 extern QString passwd_login;
-00030 
-00031 class login_windows :public QDialog, public Ui::login_dialog
-00032 {
-00033 Q_OBJECT
-00034 public:
-00035     login_windows(QWidget *parent = 0);
-00036     virtual ~login_windows();
-00037 private slots:
-00038         virtual void Slot_login_button();
-00039 };
-00040 
-00041 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/machine_8cpp.html qtsmbstatus-2.1.1/html/machine_8cpp.html --- qtsmbstatus-2.0.4/html/machine_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/machine_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: machine.cpp File Reference - - - - - - -

machine.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/machine_8h.html qtsmbstatus-2.1.1/html/machine_8h.html --- qtsmbstatus-2.0.4/html/machine_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/machine_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,75 +0,0 @@ - - -qtsmbstatus.kdevelop: machine.h File Reference - - - - - - -

machine.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - -

Classes

class  machine
 Class of machine items. More...

Functions

void debugQt (const QString &message)

Variables

QList< Q3ListViewItem * > Q3ListViewItemList
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Variable Documentation

- -
-
- - - - -
QList<Q3ListViewItem *> Q3ListViewItemList
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/machine_8h-source.html qtsmbstatus-2.1.1/html/machine_8h-source.html --- qtsmbstatus-2.0.4/html/machine_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/machine_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,70 +0,0 @@ - - -qtsmbstatus.kdevelop: machine.h Source File - - - - - - -

machine.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef MACHINE_H
-00022 #define MACHINE_H
-00023 
-00024 #include <QPixmap>
-00025 #include <Q3ListView>
-00026 
-00027 #include "user.h"
-00028 
-00029 
-00030 extern void debugQt(const QString & message);
-00031 extern QList<Q3ListViewItem *> Q3ListViewItemList;
-00032 
-00033 class machine : public Q3ListViewItem  {
-00034 public: 
-00035         machine(Q3ListViewItem * parent,const QString & PID,const QString & Username, const QString & Group, const QString & MachineName, const QString & MachineIP);
-00036         virtual ~machine();
-00037         void append_user(const QString & PID,const QString & Name,const QString & Group);
-00038         void refresh_childs();
-00039         void mark_childs();
-00040         static int compteur_objet;
-00041         bool mark;
-00042         QString machine_name;
-00043         QString machine_ip;
-00044 };
-00045 
-00046 #endif
-00047  
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/main__windows_8cpp.html qtsmbstatus-2.1.1/html/main__windows_8cpp.html --- qtsmbstatus-2.0.4/html/main__windows_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/main__windows_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: main_windows.cpp File Reference - - - - - - -

main_windows.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/main__windows_8h.html qtsmbstatus-2.1.1/html/main__windows_8h.html --- qtsmbstatus-2.0.4/html/main__windows_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/main__windows_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,186 +0,0 @@ - - -qtsmbstatus.kdevelop: main_windows.h File Reference - - - - - - -

main_windows.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Classes

class  main_windows
 Main Window. More...
class  MyApplication
 reimplementing QApplication::commitData() More...

Functions

void debugQt (const QString &message)

Variables

QString auteur_qtsmbstatus
bool autoconnect
 Autoconnect when qtsmbstatus start.
QString date_qtsmbstatus
bool debug_qtsmbstatus
 view debug messages
QString mail_qtsmbstatus
QString version_qtsmbstatus
QString web_qtsmbstatus
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Variable Documentation

- -
-
- - - - -
QString auteur_qtsmbstatus
-
-
- -

- -

-

- -

-
- - - - -
bool autoconnect
-
-
- -

-Autoconnect when qtsmbstatus start. -

- -

-

- -

-
- - - - -
QString date_qtsmbstatus
-
-
- -

- -

-

- -

-
- - - - -
bool debug_qtsmbstatus
-
-
- -

-view debug messages -

- -

-

- -

-
- - - - -
QString mail_qtsmbstatus
-
-
- -

- -

-

- -

-
- - - - -
QString version_qtsmbstatus
-
-
- -

- -

-

- -

-
- - - - -
QString web_qtsmbstatus
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/main__windows_8h-source.html qtsmbstatus-2.1.1/html/main__windows_8h-source.html --- qtsmbstatus-2.0.4/html/main__windows_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/main__windows_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,138 +0,0 @@ - - -qtsmbstatus.kdevelop: main_windows.h Source File - - - - - - -

main_windows.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 
-00022 #ifndef MAIN_WINDOWS_H
-00023 #define MAIN_WINDOWS_H
-00024 
-00025 #include <QMainWindow>
-00026 #include <QApplication>
-00027 #include <QSystemTrayIcon>
-00028 
-00029 #include "ui_form_smbstatus.h"
-00030 
-00031 #include "clientsocket.h"
-00032 #include "login_windows.h"
-00033 #include "configure_windows.h"
-00034 #include "log.h"
-00035 
-00036 extern void debugQt(const QString & message);
-00037 
-00038 extern bool autoconnect;
-00039 extern QString version_qtsmbstatus;
-00040 extern QString date_qtsmbstatus;
-00041 extern QString mail_qtsmbstatus;
-00042 extern QString auteur_qtsmbstatus;
-00043 extern QString web_qtsmbstatus;
-00044 extern bool debug_qtsmbstatus;
-00045 
-00046 class MyApplication : public QApplication
-00047 {
-00048         Q_OBJECT
-00049 public:
-00050         MyApplication (int & argc, char ** argv );
-00051         virtual void commitData(QSessionManager& manager);
-00052 signals:
-00053         void quitMyApp();
-00054 };
-00055 
-00056 class main_windows : public QMainWindow, public Ui::form_smbstatus  {
-00057    Q_OBJECT
-00058 public:
-00059         main_windows(QWidget *parent=0);
-00060         virtual ~main_windows();
-00061 public slots:
-00062         void beforeQuit();
-00063 signals:
-00064         void refreshviewlog(const type_message &);
-00065 private slots: // Private slots
-00066         virtual void helpAbout();
-00067         virtual void helpAboutQt();
-00068         virtual void ConfigureSlot();
-00069         virtual void MachineSearchSlot();
-00070         virtual void UserSearchSlot();
-00071         virtual void ShareSearchSlot();
-00072         virtual void FileSearchSlot();
-00073         virtual void AllSearchSlot();
-00074         virtual void NextSlot();
-00075         virtual void Slot_connect();
-00076         virtual void socketconnected();
-00077         virtual void socketclosed();
-00078         virtual void SignalErrorAuth();
-00079         void on_action_View_log_triggered ();
-00080         void trayicon_activated(QSystemTrayIcon::ActivationReason reason);
-00081         void restore_minimize();
-00082         void configuration_changed();
-00084         void InfoSMB();
-00085 private: // Private attributes
-00086         bool connected;
-00087         ClientSocket * clientsocket;
-00088         Q3ListViewItem * FindItem;
-00090         enum T_Item{T_All,T_Machine,T_User,T_Share,T_File};
-00092         enum T_Direction {to_first,to_preview,to_next};
-00093         QString currentSearchStr;
-00094         T_Item currentSearchItem;
-00095         QAction * configure_action;
-00096         QAction * restore_action;
-00097         QAction * connect_action;
-00098         QAction * viewlog_action;
-00099         QSystemTrayIcon * trayicon;
-00100         bool firstTime;
-00101         LogForm * logform;
-00102 protected:
-00103         virtual void closeEvent(QCloseEvent *e);
-00104 private: // Private methods
-00105         void writeHistoryFile();
-00106         void readHistoryFile();
-00107         void comboBox_valid();
-00108         void open_dialog_for_login();
-00109         void search(T_Item typeOfSearch,const QString & str,T_Direction direction=to_first);
-00110         void selectItem(Q3ListViewItem *item);
-00111         QString getSearchStr(const QString & msg);
-00112         Q3ListViewItem * nextItem(Q3ListViewItem * item);
-00113         void restoreWindowSize();
-00114         void saveWindowSize();
-00115 
-00116 };
-00117 
-00118 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/moc__clientssl_8cpp.html qtsmbstatus-2.1.1/html/moc__clientssl_8cpp.html --- qtsmbstatus-2.0.4/html/moc__clientssl_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/moc__clientssl_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,99 +0,0 @@ - - -qtsmbstatus.kdevelop: moc_clientssl.cpp File Reference - - - - - - -

moc_clientssl.cpp File Reference

- - - - - - -

Variables

static const uint qt_meta_data_ClientSSL []
static const char qt_meta_stringdata_ClientSSL []
-

Variable Documentation

- -
-
- - - - -
const uint qt_meta_data_ClientSSL[] [static]
-
-
- -

-Initial value:

 {
-
- 
-       1,       
-       0,       
-       0,    0, 
-      12,   10, 
-       0,    0, 
-       0,    0, 
-
- 
-      11,   10,   10,   10, 0x05,
-      25,   10,   10,   10, 0x05,
-      49,   10,   10,   10, 0x05,
-      67,   10,   10,   10, 0x05,
-      82,   10,   10,   10, 0x05,
-      96,   10,   10,   10, 0x05,
-
- 
-     114,   10,   10,   10, 0x08,
-     140,  130,   10,   10, 0x08,
-     163,   10,   10,   10, 0x08,
-     181,   10,   10,   10, 0x08,
-     193,   10,   10,   10, 0x08,
-     211,   10,   10,   10, 0x08,
-
-       0        
-}
-
-
-

- -

-
- - - - -
const char qt_meta_stringdata_ClientSSL[] [static]
-
-
- -

-Initial value:

 {
-    "ClientSSL\0\0info(QString)\0"
-    "readFromHost(Q3CString)\0socketconnected()\0"
-    "socketclosed()\0Socketerror()\0"
-    "UnreachableHost()\0connectToHost()\0"
-    "host_info\0ResolveName(QHostInfo)\0"
-    "socketReadyRead()\0Exception()\0"
-    "socketConnected()\0socketClosed()\0"
-}
-
-
-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/moc__configure__windows_8cpp.html qtsmbstatus-2.1.1/html/moc__configure__windows_8cpp.html --- qtsmbstatus-2.0.4/html/moc__configure__windows_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/moc__configure__windows_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,87 +0,0 @@ - - -qtsmbstatus.kdevelop: moc_configure_windows.cpp File Reference - - - - - - -

moc_configure_windows.cpp File Reference

- - - - - - -

Variables

static const uint qt_meta_data_configure_windows []
static const char qt_meta_stringdata_configure_windows []
-

Variable Documentation

- -
-
- - - - -
const uint qt_meta_data_configure_windows[] [static]
-
-
- -

-Initial value:

 {
-
- 
-       1,       
-       0,       
-       0,    0, 
-       4,   10, 
-       0,    0, 
-       0,    0, 
-
- 
-      19,   18,   18,   18, 0x05,
-
- 
-      43,   18,   18,   18, 0x08,
-      52,   18,   18,   18, 0x08,
-      87,   79,   18,   18, 0x08,
-
-       0        
-}
-
-
-

- -

-
- - - - -
const char qt_meta_stringdata_configure_windows[] [static]
-
-
- -

-Initial value:

 {
-    "configure_windows\0\0configuration_changed()\0"
-    "SlotOk()\0on_checkIcon_toggled(bool)\0"
-    "checked\0on_checkLogActivity_toggled(bool)\0"
-}
-
-
-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/moc__disconnect__manager_8cpp.html qtsmbstatus-2.1.1/html/moc__disconnect__manager_8cpp.html --- qtsmbstatus-2.0.4/html/moc__disconnect__manager_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/moc__disconnect__manager_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,85 +0,0 @@ - - -qtsmbstatus.kdevelop: moc_disconnect_manager.cpp File Reference - - - - - - -

moc_disconnect_manager.cpp File Reference

- - - - - - -

Variables

static const uint qt_meta_data_disconnect_manager []
static const char qt_meta_stringdata_disconnect_manager []
-

Variable Documentation

- -
-
- - - - -
const uint qt_meta_data_disconnect_manager[] [static]
-
-
- -

-Initial value:

 {
-
- 
-       1,       
-       0,       
-       0,    0, 
-       3,   10, 
-       0,    0, 
-       0,    0, 
-
- 
-      20,   19,   19,   19, 0x05,
-
- 
-      38,   19,   19,   19, 0x08,
-      52,   19,   19,   19, 0x08,
-
-       0        
-}
-
-
-

- -

-
- - - - -
const char qt_meta_stringdata_disconnect_manager[] [static]
-
-
- -

-Initial value:

 {
-    "disconnect_manager\0\0ObjError(QString)\0"
-    "end_process()\0ReadStderr()\0"
-}
-
-
-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/moc__linecore_8cpp.html qtsmbstatus-2.1.1/html/moc__linecore_8cpp.html --- qtsmbstatus-2.0.4/html/moc__linecore_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/moc__linecore_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,77 +0,0 @@ - - -qtsmbstatus.kdevelop: moc_linecore.cpp File Reference - - - - - - -

moc_linecore.cpp File Reference

- - - - - - -

Variables

static const uint qt_meta_data_LineCore []
static const char qt_meta_stringdata_LineCore []
-

Variable Documentation

- -
-
- - - - -
const uint qt_meta_data_LineCore[] [static]
-
-
- -

-Initial value:

 {
-
- 
-       1,       
-       0,       
-       0,    0, 
-       0,    0, 
-       0,    0, 
-       0,    0, 
-
-       0        
-}
-
-
-

- -

-
- - - - -
const char qt_meta_stringdata_LineCore[] [static]
-
-
- -

-Initial value:

 {
-    "LineCore\0"
-}
-
-
-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/moc__log_8cpp.html qtsmbstatus-2.1.1/html/moc__log_8cpp.html --- qtsmbstatus-2.0.4/html/moc__log_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/moc__log_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,91 +0,0 @@ - - -qtsmbstatus.kdevelop: moc_log.cpp File Reference - - - - - - -

moc_log.cpp File Reference

- - - - - - -

Variables

static const uint qt_meta_data_LogForm []
static const char qt_meta_stringdata_LogForm []
-

Variable Documentation

- -
-
- - - - -
const uint qt_meta_data_LogForm[] [static]
-
-
- -

-Initial value:

 {
-
- 
-       1,       
-       0,       
-       0,    0, 
-       7,   10, 
-       0,    0, 
-       0,    0, 
-
- 
-       9,    8,    8,    8, 0x0a,
-      30,    8,    8,    8, 0x0a,
-      55,    8,    8,    8, 0x0a,
-      69,    8,    8,    8, 0x0a,
-     103,   97,    8,    8, 0x08,
-     135,   97,    8,    8, 0x08,
-     166,    8,    8,    8, 0x08,
-
-       0        
-}
-
-
-

- -

-
- - - - -
const char qt_meta_stringdata_LogForm[] [static]
-
-
- -

-Initial value:

 {
-    "LogForm\0\0append(type_message)\0"
-    "on_clearButton_clicked()\0eraseOldLog()\0"
-    "on_filterEdit_textChanged()\0state\0"
-    "on_checkShare_stateChanged(int)\0"
-    "on_checkFile_stateChanged(int)\0"
-    "on_SaveLogButton_clicked()\0"
-}
-
-
-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/moc__login__windows_8cpp.html qtsmbstatus-2.1.1/html/moc__login__windows_8cpp.html --- qtsmbstatus-2.0.4/html/moc__login__windows_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/moc__login__windows_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,80 +0,0 @@ - - -qtsmbstatus.kdevelop: moc_login_windows.cpp File Reference - - - - - - -

moc_login_windows.cpp File Reference

- - - - - - -

Variables

static const uint qt_meta_data_login_windows []
static const char qt_meta_stringdata_login_windows []
-

Variable Documentation

- -
-
- - - - -
const uint qt_meta_data_login_windows[] [static]
-
-
- -

-Initial value:

 {
-
- 
-       1,       
-       0,       
-       0,    0, 
-       1,   10, 
-       0,    0, 
-       0,    0, 
-
- 
-      15,   14,   14,   14, 0x08,
-
-       0        
-}
-
-
-

- -

-
- - - - -
const char qt_meta_stringdata_login_windows[] [static]
-
-
- -

-Initial value:

 {
-    "login_windows\0\0Slot_login_button()\0"
-}
-
-
-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/moc__main__windows_8cpp.html qtsmbstatus-2.1.1/html/moc__main__windows_8cpp.html --- qtsmbstatus-2.0.4/html/moc__main__windows_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/moc__main__windows_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,127 +0,0 @@ - - -qtsmbstatus.kdevelop: moc_main_windows.cpp File Reference - - - - - - -

moc_main_windows.cpp File Reference

- - - - - - - - - - -

Variables

static const uint qt_meta_data_main_windows []
static const uint qt_meta_data_MyApplication []
static const char qt_meta_stringdata_main_windows []
static const char qt_meta_stringdata_MyApplication []
-

Variable Documentation

- -
-
- - - - -
const uint qt_meta_data_main_windows[] [static]
-
-
- -

- -

-

- -

-
- - - - -
const uint qt_meta_data_MyApplication[] [static]
-
-
- -

-Initial value:

 {
-
- 
-       1,       
-       0,       
-       0,    0, 
-       1,   10, 
-       0,    0, 
-       0,    0, 
-
- 
-      15,   14,   14,   14, 0x05,
-
-       0        
-}
-
-
-

- -

-
- - - - -
const char qt_meta_stringdata_main_windows[] [static]
-
-
- -

-Initial value:

 {
-    "main_windows\0\0refreshviewlog(type_message)\0"
-    "beforeQuit()\0helpAbout()\0helpAboutQt()\0"
-    "ConfigureSlot()\0MachineSearchSlot()\0"
-    "UserSearchSlot()\0ShareSearchSlot()\0"
-    "FileSearchSlot()\0AllSearchSlot()\0"
-    "NextSlot()\0Slot_connect()\0socketconnected()\0"
-    "socketclosed()\0SignalErrorAuth()\0"
-    "on_action_View_log_triggered()\0reason\0"
-    "trayicon_activated(QSystemTrayIcon::ActivationReason)\0"
-    "restore_minimize()\0configuration_changed()\0"
-    "InfoSMB()\0"
-}
-
-
-

- -

-
- - - - -
const char qt_meta_stringdata_MyApplication[] [static]
-
-
- -

-Initial value:

 {
-    "MyApplication\0\0quitMyApp()\0"
-}
-
-
-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/moc__process__smbd__exist_8cpp.html qtsmbstatus-2.1.1/html/moc__process__smbd__exist_8cpp.html --- qtsmbstatus-2.0.4/html/moc__process__smbd__exist_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/moc__process__smbd__exist_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,87 +0,0 @@ - - -qtsmbstatus.kdevelop: moc_process_smbd_exist.cpp File Reference - - - - - - -

moc_process_smbd_exist.cpp File Reference

- - - - - - -

Variables

static const uint qt_meta_data_process_smbd_exist []
static const char qt_meta_stringdata_process_smbd_exist []
-

Variable Documentation

- -
-
- - - - -
const uint qt_meta_data_process_smbd_exist[] [static]
-
-
- -

-Initial value:

 {
-
- 
-       1,       
-       0,       
-       0,    0, 
-       4,   10, 
-       0,    0, 
-       0,    0, 
-
- 
-      20,   19,   19,   19, 0x05,
-
- 
-      38,   19,   19,   19, 0x08,
-      52,   19,   19,   19, 0x08,
-      69,   19,   19,   19, 0x09,
-
-       0        
-}
-
-
-

- -

-
- - - - -
const char qt_meta_stringdata_process_smbd_exist[] [static]
-
-
- -

-Initial value:

 {
-    "process_smbd_exist\0\0ObjError(QString)\0"
-    "end_process()\0readFromStdout()\0"
-    "slot_EndProcessKill()\0"
-}
-
-
-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/moc__sendmessage__manager_8cpp.html qtsmbstatus-2.1.1/html/moc__sendmessage__manager_8cpp.html --- qtsmbstatus-2.0.4/html/moc__sendmessage__manager_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/moc__sendmessage__manager_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,87 +0,0 @@ - - -qtsmbstatus.kdevelop: moc_sendmessage_manager.cpp File Reference - - - - - - -

moc_sendmessage_manager.cpp File Reference

- - - - - - -

Variables

static const uint qt_meta_data_Sendmessage_manager []
static const char qt_meta_stringdata_Sendmessage_manager []
-

Variable Documentation

- -
-
- - - - -
const uint qt_meta_data_Sendmessage_manager[] [static]
-
-
- -

-Initial value:

 {
-
- 
-       1,       
-       0,       
-       0,    0, 
-       4,   10, 
-       0,    0, 
-       0,    0, 
-
- 
-      21,   20,   20,   20, 0x05,
-
- 
-      39,   20,   20,   20, 0x08,
-      56,   20,   20,   20, 0x08,
-      69,   20,   20,   20, 0x08,
-
-       0        
-}
-
-
-

- -

-
- - - - -
const char qt_meta_stringdata_Sendmessage_manager[] [static]
-
-
- -

-Initial value:

 {
-    "Sendmessage_manager\0\0ObjError(QString)\0"
-    "readFromStdout()\0ReadStderr()\0"
-    "end_process()\0"
-}
-
-
-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/moc__server_8cpp.html qtsmbstatus-2.1.1/html/moc__server_8cpp.html --- qtsmbstatus-2.0.4/html/moc__server_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/moc__server_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,80 +0,0 @@ - - -qtsmbstatus.kdevelop: moc_server.cpp File Reference - - - - - - -

moc_server.cpp File Reference

- - - - - - -

Variables

static const uint qt_meta_data_Server []
static const char qt_meta_stringdata_Server []
-

Variable Documentation

- -
-
- - - - -
const uint qt_meta_data_Server[] [static]
-
-
- -

-Initial value:

 {
-
- 
-       1,       
-       0,       
-       0,    0, 
-       1,   10, 
-       0,    0, 
-       0,    0, 
-
- 
-       8,    7,    7,    7, 0x0a,
-
-       0        
-}
-
-
-

- -

-
- - - - -
const char qt_meta_stringdata_Server[] [static]
-
-
- -

-Initial value:

 {
-    "Server\0\0stopserver()\0"
-}
-
-
-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/moc__smbmanager_8cpp.html qtsmbstatus-2.1.1/html/moc__smbmanager_8cpp.html --- qtsmbstatus-2.0.4/html/moc__smbmanager_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/moc__smbmanager_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,88 +0,0 @@ - - -qtsmbstatus.kdevelop: moc_smbmanager.cpp File Reference - - - - - - -

moc_smbmanager.cpp File Reference

- - - - - - -

Variables

static const uint qt_meta_data_smbmanager []
static const char qt_meta_stringdata_smbmanager []
-

Variable Documentation

- -
-
- - - - -
const uint qt_meta_data_smbmanager[] [static]
-
-
- -

-Initial value:

 {
-
- 
-       1,       
-       0,       
-       0,    0, 
-       5,   10, 
-       0,    0, 
-       0,    0, 
-
- 
-      12,   11,   11,   11, 0x05,
-      43,   11,   11,   11, 0x05,
-
- 
-      61,   11,   11,   11, 0x08,
-      75,   11,   11,   11, 0x08,
-      87,   11,   11,   11, 0x08,
-
-       0        
-}
-
-
-

- -

-
- - - - -
const char qt_meta_stringdata_smbmanager[] [static]
-
-
- -

-Initial value:

 {
-    "smbmanager\0\0signal_std_output(QStringList)\0"
-    "ObjError(QString)\0end_process()\0"
-    "read_data()\0ReadStderr()\0"
-}
-
-
-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/moc__smbstatus_8cpp.html qtsmbstatus-2.1.1/html/moc__smbstatus_8cpp.html --- qtsmbstatus-2.0.4/html/moc__smbstatus_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/moc__smbstatus_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,87 +0,0 @@ - - -qtsmbstatus.kdevelop: moc_smbstatus.cpp File Reference - - - - - - -

moc_smbstatus.cpp File Reference

- - - - - - -

Variables

static const uint qt_meta_data_smbstatus []
static const char qt_meta_stringdata_smbstatus []
-

Variable Documentation

- -
-
- - - - -
const uint qt_meta_data_smbstatus[] [static]
-
-
- -

-Initial value:

 {
-
- 
-       1,       
-       0,       
-       0,    0, 
-       4,   10, 
-       0,    0, 
-       0,    0, 
-
- 
-      11,   10,   10,   10, 0x05,
-      41,   36,   10,   10, 0x05,
-      94,   91,   10,   10, 0x05,
-     135,  129,   10,   10, 0x05,
-
-       0        
-}
-
-
-

- -

-
- - - - -
const char qt_meta_stringdata_smbstatus[] [static]
-
-
- -

-Initial value:

 {
-    "smbstatus\0\0setSambaVersion(QString)\0"
-    ",,,,\0add_user(QString,QString,QString,QString,QString)\0"
-    ",,\0add_share(QString,QString,QString)\0"
-    ",,,,,\0"
-    "add_lockedfile(QString,QString,QString,QString,QString,QString)\0"
-}
-
-
-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/mysortfilterproxymodel_8cpp.html qtsmbstatus-2.1.1/html/mysortfilterproxymodel_8cpp.html --- qtsmbstatus-2.0.4/html/mysortfilterproxymodel_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/mysortfilterproxymodel_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: mysortfilterproxymodel.cpp File Reference - - - - - - -

mysortfilterproxymodel.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/mysortfilterproxymodel_8h.html qtsmbstatus-2.1.1/html/mysortfilterproxymodel_8h.html --- qtsmbstatus-2.0.4/html/mysortfilterproxymodel_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/mysortfilterproxymodel_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,32 +0,0 @@ - - -qtsmbstatus.kdevelop: mysortfilterproxymodel.h File Reference - - - - - - -

mysortfilterproxymodel.h File Reference

-

-Go to the source code of this file. - - - - - -

Classes

class  MySortFilterProxyModel
 Reimplement QSortFilterProxyModel. More...
-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/mysortfilterproxymodel_8h-source.html qtsmbstatus-2.1.1/html/mysortfilterproxymodel_8h-source.html --- qtsmbstatus-2.0.4/html/mysortfilterproxymodel_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/mysortfilterproxymodel_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,67 +0,0 @@ - - -qtsmbstatus.kdevelop: mysortfilterproxymodel.h Source File - - - - - - -

mysortfilterproxymodel.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef MYSORTFILTERPROXYMODEL_H
-00022 #define MYSORTFILTERPROXYMODEL_H
-00023 
-00024 #include <QSortFilterProxyModel>
-00025 
-00026 
-00027 class MySortFilterProxyModel : public QSortFilterProxyModel
-00028 {
-00029 public:
-00030         MySortFilterProxyModel(QString share_label,QString file_label,QObject *parent);
-00031         virtual ~MySortFilterProxyModel();
-00032         bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
-00033         void setFilterFile(bool );
-00034         void setFilterShare(bool );
-00035 private:
-00036         QString fileLabel;
-00037         QString shareLabel;
-00038         bool MShare;
-00039         bool MFile;
-00040 };
-00041 
-00042 
-00043 #endif
-00044 
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/namespaces.html qtsmbstatus-2.1.1/html/namespaces.html --- qtsmbstatus-2.0.4/html/namespaces.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/namespaces.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,24 +0,0 @@ - - -qtsmbstatus.kdevelop: Namespace Index - - - - - -

qtsmbstatus.kdevelop Namespace List

Here is a list of all namespaces with brief descriptions: - -
Ui
-
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/namespaceUi.html qtsmbstatus-2.1.1/html/namespaceUi.html --- qtsmbstatus-2.0.4/html/namespaceUi.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/namespaceUi.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,35 +0,0 @@ - - -qtsmbstatus.kdevelop: Ui Namespace Reference - - - - - -

Ui Namespace Reference

-

- - - - - - - - - - - -

Classes

class  configure
class  form_smbstatus
class  logform
class  login_dialog
-


Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/pam_8cpp.html qtsmbstatus-2.1.1/html/pam_8cpp.html --- qtsmbstatus-2.0.4/html/pam_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/pam_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,159 +0,0 @@ - - -qtsmbstatus.kdevelop: pam.cpp File Reference - - - - - - -

pam.cpp File Reference

- - - - - - - - - - - - - -

Functions

int auth (char *username, char *passwd)
int checkUserPass_real ()
static int pamConversationFunction (int num_msg, const struct pam_message **msg, struct pam_response **resp, void *appdata_ptr)

Variables

static char * pamPassword
static char * pamUsername
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
int auth (char *  username,
char *  passwd 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
int checkUserPass_real (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static int pamConversationFunction (int  num_msg,
const struct pam_message **  msg,
struct pam_response **  resp,
void *  appdata_ptr 
) [static]
-
-
- -

- -

-

-


Variable Documentation

- -
-
- - - - -
char * pamPassword [static]
-
-
- -

- -

-

- -

-
- - - - -
char* pamUsername [static]
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/pam_8h.html qtsmbstatus-2.1.1/html/pam_8h.html --- qtsmbstatus-2.0.4/html/pam_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/pam_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,80 +0,0 @@ - - -qtsmbstatus.kdevelop: pam.h File Reference - - - - - - -

pam.h File Reference

-

-Go to the source code of this file. - - - - - - - -

Defines

#define PAM_SERVICE_NAME   "qtsmbstatusd"

Functions

int auth (char *username, char *passwd)
-


Define Documentation

- -
-
- - - - -
#define PAM_SERVICE_NAME   "qtsmbstatusd"
-
-
- -

- -

-

-


Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
int auth (char *  username,
char *  passwd 
)
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/pam_8h-source.html qtsmbstatus-2.1.1/html/pam_8h-source.html --- qtsmbstatus-2.0.4/html/pam_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/pam_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,36 +0,0 @@ - - -qtsmbstatus.kdevelop: pam.h Source File - - - - - - -

pam.h

Go to the documentation of this file.
00001 #include <pwd.h>
-00002 #include <grp.h>
-00003 #include <sys/types.h>
-00004 #include <string.h>
-00005 #include <stdio.h>
-00006 extern "C" {
-00007   #include <security/pam_appl.h>
-00008   #include <security/pam_misc.h>
-00009 }
-00010 #define PAM_SERVICE_NAME "qtsmbstatusd"
-00011 
-00012 int auth(char *username,char* passwd);
-00013 
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/pamthread_8cpp.html qtsmbstatus-2.1.1/html/pamthread_8cpp.html --- qtsmbstatus-2.0.4/html/pamthread_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/pamthread_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: pamthread.cpp File Reference - - - - - - -

pamthread.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/pamthread_8h.html qtsmbstatus-2.1.1/html/pamthread_8h.html --- qtsmbstatus-2.0.4/html/pamthread_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/pamthread_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,56 +0,0 @@ - - -qtsmbstatus.kdevelop: pamthread.h File Reference - - - - - - -

pamthread.h File Reference

-

-Go to the source code of this file. - - - - - - - - -

Classes

class  PamThread
 Authenticate with PAM. More...

Functions

void debugQt (const QString &message)
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/pamthread_8h-source.html qtsmbstatus-2.1.1/html/pamthread_8h-source.html --- qtsmbstatus-2.0.4/html/pamthread_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/pamthread_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,69 +0,0 @@ - - -qtsmbstatus.kdevelop: pamthread.h Source File - - - - - - -

pamthread.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef PAMTHREAD_H
-00022 #define PAMTHREAD_H
-00023 
-00024 #include <QThread>
-00025 
-00026 class QString;
-00027 
-00028 //authentication
-00029 #include "pam.h"
-00030 
-00031 extern void debugQt(const QString & message);
-00032 
-00033 class PamThread : public QThread {
-00034 public:
-00035         PamThread();
-00036         virtual ~PamThread();
-00037         static int compteur_objet;
-00038         bool auth_resu;
-00039         virtual void run();
-00040         void setAuth(const QString & name,const QString & passwd);
-00041 private:
-00042         QString Name;
-00043         QString Passwd;
-00044 };
-00045 
-00046 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/process__smbd__exist_8cpp.html qtsmbstatus-2.1.1/html/process__smbd__exist_8cpp.html --- qtsmbstatus-2.0.4/html/process__smbd__exist_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/process__smbd__exist_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: process_smbd_exist.cpp File Reference - - - - - - -

process_smbd_exist.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/process__smbd__exist_8h.html qtsmbstatus-2.1.1/html/process__smbd__exist_8h.html --- qtsmbstatus-2.0.4/html/process__smbd__exist_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/process__smbd__exist_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,56 +0,0 @@ - - -qtsmbstatus.kdevelop: process_smbd_exist.h File Reference - - - - - - -

process_smbd_exist.h File Reference

-

-Go to the source code of this file. - - - - - - - - -

Classes

class  process_smbd_exist
 test if PID it's a correct smbd process. More...

Functions

void debugQt (const QString &message)
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/process__smbd__exist_8h-source.html qtsmbstatus-2.1.1/html/process__smbd__exist_8h-source.html --- qtsmbstatus-2.0.4/html/process__smbd__exist_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/process__smbd__exist_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,78 +0,0 @@ - - -qtsmbstatus.kdevelop: process_smbd_exist.h Source File - - - - - - -

process_smbd_exist.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020  
-00021 #ifndef PROCESS_SMBD_EXIST_H
-00022 #define PROCESS_SMBD_EXIST_H
-00023 
-00024 #include <QObject>
-00025 #include <Q3Process>
-00026 
-00027 class QString;
-00028 
-00029 #include "disconnect_manager.h"
-00030 
-00031 
-00032 extern void debugQt(const QString & message);
-00033 
-00034 class process_smbd_exist : public QObject
-00035 {
-00036 Q_OBJECT
-00037 public:
-00038     process_smbd_exist(const QString & MyPID, const QString & USER,QObject *parent = 0);
-00039     virtual ~process_smbd_exist();
-00040         static int compteur_objet;
-00041 private: // Private attributes
-00042         Q3Process* proc;
-00043         QString MyPid;
-00044         QString UserSamba;
-00045         enum {begin,find} State;
-00046 private slots: // Private slots
-00047         void end_process();
-00048         void readFromStdout();
-00049 protected slots:
-00050     virtual void slot_EndProcessKill();
-00051 signals: // Signals
-00052         void ObjError(const QString & );
-00053 };
-00054 
-00055 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/qrc__client_8cpp.html qtsmbstatus-2.1.1/html/qrc__client_8cpp.html --- qtsmbstatus-2.0.4/html/qrc__client_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/qrc__client_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,126 +0,0 @@ - - -qtsmbstatus.kdevelop: qrc_client.cpp File Reference - - - - - - -

qrc_client.cpp File Reference

- - - - - - - - - - - - - -

Functions

int qCleanupResources_client ()
int qInitResources_client ()

Variables

static const
-unsigned char 
qt_resource_data []
static const
-unsigned char 
qt_resource_name []
static const
-unsigned char 
qt_resource_struct []
-

Function Documentation

- -
-
- - - - - - - - -
int qCleanupResources_client (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
int qInitResources_client (  ) 
-
-
- -

- -

-

-


Variable Documentation

- -
-
- - - - -
const unsigned char qt_resource_data[] [static]
-
-
- -

- -

-

- -

-
- - - - -
const unsigned char qt_resource_name[] [static]
-
-
- -

- -

-

- -

-
- - - - -
const unsigned char qt_resource_struct[] [static]
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/qtsmbstatus_8xpm.html qtsmbstatus-2.1.1/html/qtsmbstatus_8xpm.html --- qtsmbstatus-2.0.4/html/qtsmbstatus_8xpm.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/qtsmbstatus_8xpm.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,45 +0,0 @@ - - -qtsmbstatus.kdevelop: qtsmbstatus.xpm File Reference - - - - - - -

qtsmbstatus.xpm File Reference

- - - - -

Variables

static char * qtsmbstatus_xpm []
-

Variable Documentation

- -
-
- - - - -
char* qtsmbstatus_xpm[] [static]
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/sendmessage__manager_8cpp.html qtsmbstatus-2.1.1/html/sendmessage__manager_8cpp.html --- qtsmbstatus-2.0.4/html/sendmessage__manager_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/sendmessage__manager_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: sendmessage_manager.cpp File Reference - - - - - - -

sendmessage_manager.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/sendmessage__manager_8h.html qtsmbstatus-2.1.1/html/sendmessage__manager_8h.html --- qtsmbstatus-2.0.4/html/sendmessage__manager_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/sendmessage__manager_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,56 +0,0 @@ - - -qtsmbstatus.kdevelop: sendmessage_manager.h File Reference - - - - - - -

sendmessage_manager.h File Reference

-

-Go to the source code of this file. - - - - - - - - -

Classes

class  Sendmessage_manager
 Send message popup (smbclient required). More...

Functions

void debugQt (const QString &message)
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/sendmessage__manager_8h-source.html qtsmbstatus-2.1.1/html/sendmessage__manager_8h-source.html --- qtsmbstatus-2.0.4/html/sendmessage__manager_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/sendmessage__manager_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,75 +0,0 @@ - - -qtsmbstatus.kdevelop: sendmessage_manager.h Source File - - - - - - -

sendmessage_manager.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef SENDMESSAGE_MANAGER_H
-00022 #define SENDMESSAGE_MANAGER_H
-00023 
-00024 #include <QObject>
-00025 #include <Q3Process>
-00026 
-00027 class QString;
-00028 
-00029 
-00030 extern void debugQt(const QString & message);
-00031 
-00032 class Sendmessage_manager : public QObject  {
-00033    Q_OBJECT
-00034 public: 
-00035         Sendmessage_manager(const QString & machine,const QString & message,QObject *parent=0);
-00036         virtual ~Sendmessage_manager();
-00037         static int compteur_objet;
-00038 private: // Private attributes
-00039         Q3Process* proc;
-00040         QString my_message;
-00041         QString to_machine;
-00042         bool error_proc;
-00043         enum {begin,error} State;
-00044 private slots: // Private slots
-00045   void readFromStdout();
-00046   void ReadStderr();
-00047   void end_process();
-00048 signals:
-00049         void ObjError(const QString & );
-00050 };
-00051 
-00052 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/server_2clientsocket_8cpp.html qtsmbstatus-2.1.1/html/server_2clientsocket_8cpp.html --- qtsmbstatus-2.0.4/html/server_2clientsocket_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/server_2clientsocket_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,45 +0,0 @@ - - -qtsmbstatus.kdevelop: clientsocket.cpp File Reference - - - - - - -

server/clientsocket.cpp File Reference

- - - - -

Variables

SSL_CTX * ssl_ctx
-

Variable Documentation

- -
-
- - - - -
SSL_CTX* ssl_ctx
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/server_2clientsocket_8h.html qtsmbstatus-2.1.1/html/server_2clientsocket_8h.html --- qtsmbstatus-2.0.4/html/server_2clientsocket_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/server_2clientsocket_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,279 +0,0 @@ - - -qtsmbstatus.kdevelop: clientsocket.h File Reference - - - - - - -

server/clientsocket.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Classes

class  ClientSocket
 This class dialogs with server. More...

Functions

void debugQt (const QString &message)
void Socket_print_error (int errorcode)
void SSL_print_error (int errorcode)

Variables

QStringList AllowUserDisconnect
 Allow client to disconnect user.
QStringList AllowUserSendMsg
 Allow client to send message.
QString Certificat
bool daemonize
bool debug_qtsmbstatus
 view debug messages
Q_UINT16 port_server
 TCP port.
QString Private_key
QString ssl_password
QString version_qtsmbstatus
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

- -

-
- - - - - - - - - -
void Socket_print_error (int  errorcode  ) 
-
-
- -

-Print to stderr, QSocketDevice error

Parameters:
- - -
errorcode code error
-
-
See also:
SSL_print_error
- -
-

- -

-
- - - - - - - - - -
void SSL_print_error (int  errorcode  ) 
-
-
- -

-Print to stderr, TLS/SSL error

Parameters:
- - -
errorcode code error
-
-
See also:
Socket_print_error
- -
-

-


Variable Documentation

- -
-
- - - - -
QStringList AllowUserDisconnect
-
-
- -

-Allow client to disconnect user. -

- -

-

- -

-
- - - - -
QStringList AllowUserSendMsg
-
-
- -

-Allow client to send message. -

- -

-

- -

-
- - - - -
QString Certificat
-
-
- -

- -

-

- -

-
- - - - -
bool daemonize
-
-
- -

- -

-

- -

-
- - - - -
bool debug_qtsmbstatus
-
-
- -

-view debug messages -

- -

-

- -

-
- - - - -
Q_UINT16 port_server
-
-
- -

-TCP port. -

- -

-

- -

-
- - - - -
QString Private_key
-
-
- -

- -

-

- -

-
- - - - -
QString ssl_password
-
-
- -

- -

-

- -

-
- - - - -
QString version_qtsmbstatus
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/server_2clientsocket_8h-source.html qtsmbstatus-2.1.1/html/server_2clientsocket_8h-source.html --- qtsmbstatus-2.0.4/html/server_2clientsocket_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/server_2clientsocket_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,119 +0,0 @@ - - -qtsmbstatus.kdevelop: clientsocket.h Source File - - - - - - -

server/clientsocket.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef CLIENTSOCKET_H
-00022 #define CLIENTSOCKET_H
-00023 
-00024 //SSL
-00025 #include<openssl/ssl.h>
-00026 #include <openssl/err.h>
-00027 
-00028 //Qt
-00029 #include <QObject>
-00030 
-00031 class Q3SocketDevice;
-00032 class QSocketNotifier;
-00033 class Q3CString;
-00034 class QTimer;
-00035 
-00036 #include "process_smbd_exist.h"
-00037 #include "sendmessage_manager.h"
-00038 #include "smbmanager.h"
-00039 #include "pamthread.h"
-00040 #include "../common/core_syntax.h"
-00041 
-00042 extern void debugQt(const QString & message);
-00043 extern void SSL_print_error(int errorcode);
-00044 extern void Socket_print_error (int errorcode);
-00045 
-00046 extern bool debug_qtsmbstatus;
-00047 extern bool daemonize;
-00048 extern Q_UINT16 port_server;
-00049 extern QString Certificat;
-00050 extern QString Private_key;
-00051 extern QString ssl_password;
-00052 extern QString version_qtsmbstatus;
-00053 extern QStringList AllowUserDisconnect;
-00054 extern QStringList AllowUserSendMsg;
-00055 
-00056 class ClientSocket: public QObject {
-00057         Q_OBJECT
-00058 public:
-00059         ClientSocket( const int & sock, QObject *parent=0);
-00060         virtual ~ClientSocket();
-00061         static int compteur_objet;
-00062 private: //attributes
-00063         Q3SocketDevice *socketdevice;
-00064         QSocketNotifier * sn_read;
-00065         QSocketNotifier * sn_exception;
-00066         int echo;
-00067         static int TimoutTimerEcho;
-00068         QTimer * echo_timer;
-00069         int socket;
-00071         bool AuthUser;
-00073         bool permitDisconnectUser;
-00075         bool permitSendMsg;
-00076         bool SSL_init;
-00077         SSL* ssl;
-00078         PamThread * pamthread;
-00079         QTimer *timer;
-00080         enum command {auth_rq,auth_ack,end,kill_user,send_msg,smb_rq,smb_data,end_smb_rq,not_imp1,server_info,error_auth,error_command,error_obj,echo_request,echo_reply} ;
-00081 private slots:
-00082         void readClient();
-00083         void Exception();
-00084         void ObjError(const QString & error_txt);
-00085         void slot_smbstatus(const QStringList &);
-00086         void slot_pam();
-00087         void slot_echo_timer();
-00088 public slots:
-00089         void socketConnectionClose();
-00090 private://methods
-00091         void sendToClient(int cmd,const QString & em_txt="");
-00092         void core (const Q3CString & rcv_txt) ;
-00093         void CmdKillUser(const QString & texte);
-00094         void CmdSendMsg(const QString & texte);
-00095         void CmdSmbRq();
-00096         void CmdAuthRq(const QString & texte);
-00097 };
-00098 
-00099 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/server_2main_8cpp.html qtsmbstatus-2.1.1/html/server_2main_8cpp.html --- qtsmbstatus-2.0.4/html/server_2main_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/server_2main_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,352 +0,0 @@ - - -qtsmbstatus.kdevelop: main.cpp File Reference - - - - - - -

server/main.cpp File Reference

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Functions

void GetUserDisconnect (QString variable)
void GetUserSend (QString variable)
int main (int argc, char *argv[])
void readConfigFile ()
void signal_handler (int)
void unsupported_options (char *erreur, const QString &usage)
 command line error
bool validatePort (const int &port)

Variables

QStringList AllowUserDisconnect
 Allow client to disconnect user.
QStringList AllowUserSendMsg
 Allow client to send message.
QString Certificat = "/etc/qtsmbstatusd/server.pem"
bool daemonize = false
Servermyserver
QString Private_key = "/etc/qtsmbstatusd/privkey.pem"
QString ssl_password = "password"
-

Function Documentation

- -
-
- - - - - - - - - -
void GetUserDisconnect (QString  variable  ) 
-
-
- -

-Add user to a list

Parameters:
- - -
variable username
-
-
See also:
AllowUserDisconnect
- -
-

- -

-
- - - - - - - - - -
void GetUserSend (QString  variable  ) 
-
-
- -

-Add user to a list

Parameters:
- - -
variable username
-
-
See also:
AllowUserSendMsg
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
int main (int  argc,
char *  argv[] 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
void readConfigFile (  ) 
-
-
- -

-Read configuration file -

-

- -

-
- - - - - - - - - -
void signal_handler (int   ) 
-
-
- -

-Receive SIGTERM, SIGINT or SIGQUIT signal -

-

- -

-
- - - - - - - - - - - - - - - - - - -
void unsupported_options (char *  erreur,
const QString &  usage 
)
-
-
- -

-command line error -

- -

-

- -

-
- - - - - - - - - -
bool validatePort (const int &  port  ) 
-
-
- -

-Test if TCP port is valid

Parameters:
- - -
port port number
-
-
Return values:
- - - -
true TCP port is valid
false TCP port is not valid
-
- -
-

-


Variable Documentation

- -
-
- - - - -
QStringList AllowUserDisconnect
-
-
- -

-Allow client to disconnect user. -

- -

-

- -

-
- - - - -
QStringList AllowUserSendMsg
-
-
- -

-Allow client to send message. -

- -

-

- -

-
- - - - -
QString Certificat = "/etc/qtsmbstatusd/server.pem"
-
-
- -

- -

-

- -

-
- - - - -
bool daemonize = false
-
-
- -

- -

-

- -

-
- - - - -
Server* myserver
-
-
- -

- -

-

- -

-
- - - - -
QString Private_key = "/etc/qtsmbstatusd/privkey.pem"
-
-
- -

- -

-

- -

-
- - - - -
QString ssl_password = "password"
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/server_2moc__clientsocket_8cpp.html qtsmbstatus-2.1.1/html/server_2moc__clientsocket_8cpp.html --- qtsmbstatus-2.0.4/html/server_2moc__clientsocket_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/server_2moc__clientsocket_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,89 +0,0 @@ - - -qtsmbstatus.kdevelop: moc_clientsocket.cpp File Reference - - - - - - -

server/moc_clientsocket.cpp File Reference

- - - - - - -

Variables

static const uint qt_meta_data_ClientSocket []
static const char qt_meta_stringdata_ClientSocket []
-

Variable Documentation

- -
-
- - - - -
const uint qt_meta_data_ClientSocket[] [static]
-
-
- -

-Initial value:

 {
-
- 
-       1,       
-       0,       
-       0,    0, 
-       7,   10, 
-       0,    0, 
-       0,    0, 
-
- 
-      14,   13,   13,   13, 0x08,
-      27,   13,   13,   13, 0x08,
-      49,   39,   13,   13, 0x08,
-      67,   13,   13,   13, 0x08,
-      95,   13,   13,   13, 0x08,
-     106,   13,   13,   13, 0x08,
-     124,   13,   13,   13, 0x0a,
-
-       0        
-}
-
-
-

- -

-
- - - - -
const char qt_meta_stringdata_ClientSocket[] [static]
-
-
- -

-Initial value:

 {
-    "ClientSocket\0\0readClient()\0Exception()\0"
-    "error_txt\0ObjError(QString)\0"
-    "slot_smbstatus(QStringList)\0slot_pam()\0"
-    "slot_echo_timer()\0socketConnectionClose()\0"
-}
-
-
-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/server_2server_8cpp.html qtsmbstatus-2.1.1/html/server_2server_8cpp.html --- qtsmbstatus-2.0.4/html/server_2server_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/server_2server_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,71 +0,0 @@ - - -qtsmbstatus.kdevelop: server.cpp File Reference - - - - - - -

server/server.cpp File Reference

- - - - -

Functions

int pem_passwd_cb (char *buf, int size, int rwflag, void *password)
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int pem_passwd_cb (char *  buf,
int  size,
int  rwflag,
void *  password 
)
-
-
- -

-password callback for ssl key usage -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/server_2server_8h.html qtsmbstatus-2.1.1/html/server_2server_8h.html --- qtsmbstatus-2.0.4/html/server_2server_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/server_2server_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,51 +0,0 @@ - - -qtsmbstatus.kdevelop: server.h File Reference - - - - - - -

server/server.h File Reference

-

-Go to the source code of this file. - - - - - - - - -

Classes

class  Server
 The Server class handles new connections to the server. More...

Variables

SSL_CTX * ssl_ctx
-


Variable Documentation

- -
-
- - - - -
SSL_CTX* ssl_ctx
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/server_2server_8h-source.html qtsmbstatus-2.1.1/html/server_2server_8h-source.html --- qtsmbstatus-2.0.4/html/server_2server_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/server_2server_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,64 +0,0 @@ - - -qtsmbstatus.kdevelop: server.h Source File - - - - - - -

server/server.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef SERVER_H
-00022 #define SERVER_H
-00023 
-00024 #include <Q3ServerSocket>
-00025 
-00026 #include "clientsocket.h"
-00027 
-00028 extern SSL_CTX* ssl_ctx;
-00029 
-00030 class Server : public Q3ServerSocket
-00031 {
-00032     Q_OBJECT
-00033 public:
-00034         Server( QObject* parent=0 );
-00035         virtual ~Server();
-00036         void newConnection( int socket );
-00037 public slots:
-00038         void stopserver();
-00039 };
-00040 
-00041 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/service_8cpp.html qtsmbstatus-2.1.1/html/service_8cpp.html --- qtsmbstatus-2.0.4/html/service_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/service_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: service.cpp File Reference - - - - - - -

service.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/service_8h.html qtsmbstatus-2.1.1/html/service_8h.html --- qtsmbstatus-2.0.4/html/service_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/service_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,75 +0,0 @@ - - -qtsmbstatus.kdevelop: service.h File Reference - - - - - - -

service.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - -

Classes

class  service
 Class of service items (share or locked file). More...

Functions

void debugQt (const QString &message)

Variables

QList< Q3ListViewItem * > Q3ListViewItemList
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Variable Documentation

- -
-
- - - - -
QList<Q3ListViewItem *> Q3ListViewItemList
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/service_8h-source.html qtsmbstatus-2.1.1/html/service_8h-source.html --- qtsmbstatus-2.0.4/html/service_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/service_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,72 +0,0 @@ - - -qtsmbstatus.kdevelop: service.h Source File - - - - - - -

service.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef SERVICE_H
-00022 #define SERVICE_H
-00023 
-00024 #include <QPixmap>
-00025 #include <Q3ListView>
-00026 
-00027 
-00028 extern void debugQt(const QString & message);
-00029 extern QList<Q3ListViewItem *> Q3ListViewItemList;
-00030 
-00031 class service : public Q3ListViewItem  {
-00032 public:
-00033         service(Q3ListViewItem * parent,const QString & PID,const QString & Share,const QString & DateOpen);
-00034         service(Q3ListViewItem * parent,const QString & PID,const QString & FileName,const QString & DenyMode,const QString & RW,const QString & Oplock,const QString & DateOpen);
-00035         virtual ~service();
-00036         static int compteur_objet;
-00037         bool mark;
-00038         QString share;
-00039         QString pid;
-00040         QString filename;
-00041         QString denymode;
-00042         QString rw;
-00043         QString oplock;
-00044         QString dateopen;
-00045         int TypeOfService;
-00051         enum {Tshare,Tlockedfile} TypeService;
-00052 };
-00053 
-00054 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/smbmanager_8cpp.html qtsmbstatus-2.1.1/html/smbmanager_8cpp.html --- qtsmbstatus-2.0.4/html/smbmanager_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/smbmanager_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: smbmanager.cpp File Reference - - - - - - -

smbmanager.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/smbmanager_8h.html qtsmbstatus-2.1.1/html/smbmanager_8h.html --- qtsmbstatus-2.0.4/html/smbmanager_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/smbmanager_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,55 +0,0 @@ - - -qtsmbstatus.kdevelop: smbmanager.h File Reference - - - - - - -

smbmanager.h File Reference

-

-Go to the source code of this file. - - - - - - - -

Classes

class  smbmanager

Functions

void debugQt (const QString &message)
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/smbmanager_8h-source.html qtsmbstatus-2.1.1/html/smbmanager_8h-source.html --- qtsmbstatus-2.0.4/html/smbmanager_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/smbmanager_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,78 +0,0 @@ - - -qtsmbstatus.kdevelop: smbmanager.h Source File - - - - - - -

smbmanager.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef SMBMANAGER_H
-00022 #define SMBMANAGER_H
-00023 
-00024 #include <Q3Process>
-00025 #include <QObject>
-00026 
-00027 class QStringList;
-00028 
-00029 
-00030 
-00031 extern void debugQt(const QString & message);
-00032 
-00033 class smbmanager : public QObject  {
-00034    Q_OBJECT
-00035 public: 
-00036         smbmanager(QObject * parent=0);
-00037         virtual ~smbmanager();
-00038         static int compteur_objet;
-00039 private: // Private attributes
-00040         Q3Process* proc;
-00041         QStringList data;
-00042         bool error_proc;
-00043         bool stError;
-00044   
-00045 private slots: // Private slots
-00046         void end_process ();
-00047         void read_data ();
-00048         void ReadStderr();
-00049   
-00050 signals: // Signals
-00051         void signal_std_output(const QStringList  & );
-00052         void ObjError(const QString & );
-00053 };
-00054 
-00055 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/smbstatus_8cpp.html qtsmbstatus-2.1.1/html/smbstatus_8cpp.html --- qtsmbstatus-2.0.4/html/smbstatus_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/smbstatus_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: smbstatus.cpp File Reference - - - - - - -

smbstatus.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/smbstatus_8h.html qtsmbstatus-2.1.1/html/smbstatus_8h.html --- qtsmbstatus-2.0.4/html/smbstatus_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/smbstatus_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,56 +0,0 @@ - - -qtsmbstatus.kdevelop: smbstatus.h File Reference - - - - - - -

smbstatus.h File Reference

-

-Go to the source code of this file. - - - - - - - - -

Classes

class  smbstatus
 Analyse smbstatus reply. More...

Functions

void debugQt (const QString &message)
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/smbstatus_8h-source.html qtsmbstatus-2.1.1/html/smbstatus_8h-source.html --- qtsmbstatus-2.0.4/html/smbstatus_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/smbstatus_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,82 +0,0 @@ - - -qtsmbstatus.kdevelop: smbstatus.h Source File - - - - - - -

smbstatus.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef SMBSTATUS_H
-00022 #define SMBSTATUS_H
-00023 
-00024 //Qt
-00025 #include <QObject>
-00026 #include <QStringList>
-00027 
-00028 class QString;
-00029 
-00030 
-00031 #include "linecore.h"
-00032 
-00033 
-00034 extern void debugQt(const QString & message);
-00035 
-00036 class smbstatus : public QObject
-00037 {
-00038         Q_OBJECT
-00039 public:
-00040         smbstatus(const QStringList &,QObject *parent=0);
-00041         virtual ~smbstatus();
-00042         void RQ_smbstatus();
-00043         static int compteur_objet;
-00044 signals:
-00045         void setSambaVersion (const QString &);
-00046         void add_user (const QString &,const QString &,const QString &,const QString &,const QString &);
-00047         void add_share(const QString &,const QString &,const QString &);
-00048         void add_lockedfile(const QString &,const QString &,const QString &,const QString &,const QString &,const QString &);
-00049 private: // Private methods
-00050         void what_part(QString part);
-00051 
-00052 private: // Private attributes
-00053         QStringList ListSmbstatus;
-00054         int version_samba;
-00056         enum {unknown,version2,version3} enum_version_samba;
-00058         enum {header_connexions, connexions, header_services, services, header_locked_files, locked_files} readingpart;
-00059 };
-00060 
-00061 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/structLineCore_1_1record.html qtsmbstatus-2.1.1/html/structLineCore_1_1record.html --- qtsmbstatus-2.0.4/html/structLineCore_1_1record.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/structLineCore_1_1record.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,141 +0,0 @@ - - -qtsmbstatus.kdevelop: LineCore::record Struct Reference - - - - - - - -

LineCore::record Struct Reference

-

-List of all members. - - - - - - - - - - - - - - -

Public Attributes

Q_INT32 Begin
Q_INT32 End
QString Ident
Q_INT32 New_Begin
Q_INT32 New_End
QString Value
-


Member Data Documentation

- -
-
- - - - -
Q_INT32 LineCore::record::Begin
-
-
- -

- -

-

- -

-
- - - - -
Q_INT32 LineCore::record::End
-
-
- -

- -

-

- -

-
- - - - -
QString LineCore::record::Ident
-
-
- -

- -

-

- -

-
- - - - -
Q_INT32 LineCore::record::New_Begin
-
-
- -

- -

-

- -

-
- - - - -
Q_INT32 LineCore::record::New_End
-
-
- -

- -

-

- -

-
- - - - -
QString LineCore::record::Value
-
-
- -

- -

-

-


The documentation for this struct was generated from the following file: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/structLineCore_1_1record-members.html qtsmbstatus-2.1.1/html/structLineCore_1_1record-members.html --- qtsmbstatus-2.0.4/html/structLineCore_1_1record-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/structLineCore_1_1record-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,35 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

LineCore::record Member List

This is the complete list of members for LineCore::record, including all inherited members.

- - - - - - -
BeginLineCore::record
EndLineCore::record
IdentLineCore::record
New_BeginLineCore::record
New_EndLineCore::record
ValueLineCore::record


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/structtype__message.html qtsmbstatus-2.1.1/html/structtype__message.html --- qtsmbstatus-2.0.4/html/structtype__message.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/structtype__message.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,126 +0,0 @@ - - -qtsmbstatus.kdevelop: type_message Struct Reference - - - - - - -

type_message Struct Reference

-

-List of all members. - - - - - - - - - - - - -

Public Attributes

QString date
QString machine
QString opened
short unsigned int type_message
QString user
-


Member Data Documentation

- -
-
- - - - -
QString type_message::date
-
-
- -

- -

-

- -

-
- - - - -
QString type_message::machine
-
-
- -

- -

-

- -

-
- - - - -
QString type_message::opened
-
-
- -

- -

-

- -

-
- - - - -
short unsigned int type_message::type_message
-
-
- -

-

    -
  • 0 = share
      -
    • 1 = file
    -
- -
-

- -

-
- - - - -
QString type_message::user
-
-
- -

- -

-

-


The documentation for this struct was generated from the following file: -
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/structtype__message-members.html qtsmbstatus-2.1.1/html/structtype__message-members.html --- qtsmbstatus-2.0.4/html/structtype__message-members.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/structtype__message-members.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,34 +0,0 @@ - - -qtsmbstatus.kdevelop: Member List - - - - - - -

type_message Member List

This is the complete list of members for type_message, including all inherited members.

- - - - - -
datetype_message
machinetype_message
openedtype_message
type_messagetype_message
usertype_message


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/tab_b.gif et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/tab_b.gif sont différents. Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/tab_l.gif et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/tab_l.gif sont différents. Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/html/tab_r.gif et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/html/tab_r.gif sont différents. diff -Nru qtsmbstatus-2.0.4/html/tabs.css qtsmbstatus-2.1.1/html/tabs.css --- qtsmbstatus-2.0.4/html/tabs.css 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/tabs.css 1970-01-01 01:00:00.000000000 +0100 @@ -1,102 +0,0 @@ -/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ - -DIV.tabs -{ - float : left; - width : 100%; - background : url("tab_b.gif") repeat-x bottom; - margin-bottom : 4px; -} - -DIV.tabs UL -{ - margin : 0px; - padding-left : 10px; - list-style : none; -} - -DIV.tabs LI, DIV.tabs FORM -{ - display : inline; - margin : 0px; - padding : 0px; -} - -DIV.tabs FORM -{ - float : right; -} - -DIV.tabs A -{ - float : left; - background : url("tab_r.gif") no-repeat right top; - border-bottom : 1px solid #84B0C7; - font-size : x-small; - font-weight : bold; - text-decoration : none; -} - -DIV.tabs A:hover -{ - background-position: 100% -150px; -} - -DIV.tabs A:link, DIV.tabs A:visited, -DIV.tabs A:active, DIV.tabs A:hover -{ - color: #1A419D; -} - -DIV.tabs SPAN -{ - float : left; - display : block; - background : url("tab_l.gif") no-repeat left top; - padding : 5px 9px; - white-space : nowrap; -} - -DIV.tabs INPUT -{ - float : right; - display : inline; - font-size : 1em; -} - -DIV.tabs TD -{ - font-size : x-small; - font-weight : bold; - text-decoration : none; -} - - - -/* Commented Backslash Hack hides rule from IE5-Mac \*/ -DIV.tabs SPAN {float : none;} -/* End IE5-Mac hack */ - -DIV.tabs A:hover SPAN -{ - background-position: 0% -150px; -} - -DIV.tabs LI.current A -{ - background-position: 100% -150px; - border-width : 0px; -} - -DIV.tabs LI.current SPAN -{ - background-position: 0% -150px; - padding-bottom : 6px; -} - -DIV.nav -{ - background : none; - border : none; - border-bottom : 1px solid #84B0C7; -} diff -Nru qtsmbstatus-2.0.4/html/ui__configure_8h.html qtsmbstatus-2.1.1/html/ui__configure_8h.html --- qtsmbstatus-2.0.4/html/ui__configure_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/ui__configure_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,36 +0,0 @@ - - -qtsmbstatus.kdevelop: ui_configure.h File Reference - - - - - - -

ui_configure.h File Reference

-

-Go to the source code of this file. - - - - - - - - - -

Namespaces

namespace  Ui

Classes

class  Ui::configure
class  Ui_configure
-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/ui__configure_8h-source.html qtsmbstatus-2.1.1/html/ui__configure_8h-source.html --- qtsmbstatus-2.0.4/html/ui__configure_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/ui__configure_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,295 +0,0 @@ - - -qtsmbstatus.kdevelop: ui_configure.h Source File - - - - - - -

ui_configure.h

Go to the documentation of this file.
00001 /********************************************************************************
-00002 ** Form generated from reading ui file 'configure.ui'
-00003 **
-00004 ** Created: Fri Nov 2 17:29:54 2007
-00005 **      by: Qt User Interface Compiler version 4.3.2
-00006 **
-00007 ** WARNING! All changes made in this file will be lost when recompiling ui file!
-00008 ********************************************************************************/
-00009 
-00010 #ifndef UI_CONFIGURE_H
-00011 #define UI_CONFIGURE_H
-00012 
-00013 #include <Qt3Support/Q3MimeSourceFactory>
-00014 #include <QtCore/QVariant>
-00015 #include <QtGui/QAction>
-00016 #include <QtGui/QApplication>
-00017 #include <QtGui/QButtonGroup>
-00018 #include <QtGui/QCheckBox>
-00019 #include <QtGui/QDialog>
-00020 #include <QtGui/QGridLayout>
-00021 #include <QtGui/QGroupBox>
-00022 #include <QtGui/QLabel>
-00023 #include <QtGui/QLineEdit>
-00024 #include <QtGui/QPushButton>
-00025 #include <QtGui/QSpacerItem>
-00026 #include <QtGui/QSpinBox>
-00027 
-00028 class Ui_configure
-00029 {
-00030 public:
-00031     QGridLayout *gridLayout;
-00032     QGroupBox *groupBox_3;
-00033     QGridLayout *gridLayout1;
-00034     QLabel *textLabel1_4;
-00035     QSpinBox *limitLogBox;
-00036     QLabel *textLabel1_5;
-00037     QCheckBox *checkIcon;
-00038     QCheckBox *checkNotification;
-00039     QCheckBox *checkLogActivity;
-00040     QSpacerItem *spacerItem;
-00041     QSpacerItem *spacerItem1;
-00042     QGroupBox *groupBox_2;
-00043     QGridLayout *gridLayout2;
-00044     QSpacerItem *spacerItem2;
-00045     QLabel *textLabel1_2;
-00046     QSpinBox *spinInterval;
-00047     QCheckBox *checkViewHiddenShares;
-00048     QGroupBox *groupBox;
-00049     QGridLayout *gridLayout3;
-00050     QLabel *textLabel1_3_2;
-00051     QCheckBox *checkAutoconnect;
-00052     QLabel *textLabel1_3;
-00053     QLineEdit *EditUsername;
-00054     QLineEdit *EditHost;
-00055     QSpacerItem *spacerItem3;
-00056     QSpacerItem *spacerItem4;
-00057     QPushButton *okButton;
-00058     QPushButton *cancelButton;
-00059 
-00060     void setupUi(QDialog *configure)
-00061     {
-00062     if (configure->objectName().isEmpty())
-00063         configure->setObjectName(QString::fromUtf8("configure"));
-00064     configure->resize(483, 411);
-00065     gridLayout = new QGridLayout(configure);
-00066     gridLayout->setSpacing(6);
-00067     gridLayout->setMargin(9);
-00068     gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
-00069     groupBox_3 = new QGroupBox(configure);
-00070     groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
-00071     gridLayout1 = new QGridLayout(groupBox_3);
-00072     gridLayout1->setSpacing(6);
-00073     gridLayout1->setMargin(9);
-00074     gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
-00075     textLabel1_4 = new QLabel(groupBox_3);
-00076     textLabel1_4->setObjectName(QString::fromUtf8("textLabel1_4"));
-00077     textLabel1_4->setMinimumSize(QSize(151, 0));
-00078     textLabel1_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
-00079     textLabel1_4->setWordWrap(false);
-00080 
-00081     gridLayout1->addWidget(textLabel1_4, 3, 0, 1, 1);
-00082 
-00083     limitLogBox = new QSpinBox(groupBox_3);
-00084     limitLogBox->setObjectName(QString::fromUtf8("limitLogBox"));
-00085     limitLogBox->setMaximum(99);
-00086     limitLogBox->setMinimum(1);
-00087 
-00088     gridLayout1->addWidget(limitLogBox, 3, 1, 1, 1);
-00089 
-00090     textLabel1_5 = new QLabel(groupBox_3);
-00091     textLabel1_5->setObjectName(QString::fromUtf8("textLabel1_5"));
-00092     textLabel1_5->setLayoutDirection(Qt::LeftToRight);
-00093     textLabel1_5->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
-00094     textLabel1_5->setWordWrap(false);
-00095 
-00096     gridLayout1->addWidget(textLabel1_5, 3, 2, 1, 1);
-00097 
-00098     checkIcon = new QCheckBox(groupBox_3);
-00099     checkIcon->setObjectName(QString::fromUtf8("checkIcon"));
-00100 
-00101     gridLayout1->addWidget(checkIcon, 0, 1, 1, 3);
-00102 
-00103     checkNotification = new QCheckBox(groupBox_3);
-00104     checkNotification->setObjectName(QString::fromUtf8("checkNotification"));
-00105 
-00106     gridLayout1->addWidget(checkNotification, 1, 1, 1, 3);
-00107 
-00108     checkLogActivity = new QCheckBox(groupBox_3);
-00109     checkLogActivity->setObjectName(QString::fromUtf8("checkLogActivity"));
-00110 
-00111     gridLayout1->addWidget(checkLogActivity, 2, 1, 1, 3);
-00112 
-00113     spacerItem = new QSpacerItem(151, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
-00114 
-00115     gridLayout1->addItem(spacerItem, 3, 3, 1, 1);
-00116 
-00117 
-00118     gridLayout->addWidget(groupBox_3, 2, 0, 1, 3);
-00119 
-00120     spacerItem1 = new QSpacerItem(261, 27, QSizePolicy::Expanding, QSizePolicy::Minimum);
-00121 
-00122     gridLayout->addItem(spacerItem1, 3, 1, 1, 1);
-00123 
-00124     groupBox_2 = new QGroupBox(configure);
-00125     groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
-00126     gridLayout2 = new QGridLayout(groupBox_2);
-00127     gridLayout2->setSpacing(6);
-00128     gridLayout2->setMargin(9);
-00129     gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
-00130     spacerItem2 = new QSpacerItem(231, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
-00131 
-00132     gridLayout2->addItem(spacerItem2, 1, 2, 1, 1);
-00133 
-00134     textLabel1_2 = new QLabel(groupBox_2);
-00135     textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
-00136     textLabel1_2->setMinimumSize(QSize(151, 0));
-00137     textLabel1_2->setWordWrap(false);
-00138 
-00139     gridLayout2->addWidget(textLabel1_2, 1, 0, 1, 1);
-00140 
-00141     spinInterval = new QSpinBox(groupBox_2);
-00142     spinInterval->setObjectName(QString::fromUtf8("spinInterval"));
-00143     spinInterval->setMaximum(300);
-00144     spinInterval->setMinimum(3);
-00145 
-00146     gridLayout2->addWidget(spinInterval, 1, 1, 1, 1);
-00147 
-00148     checkViewHiddenShares = new QCheckBox(groupBox_2);
-00149     checkViewHiddenShares->setObjectName(QString::fromUtf8("checkViewHiddenShares"));
-00150 
-00151     gridLayout2->addWidget(checkViewHiddenShares, 0, 1, 1, 2);
-00152 
-00153 
-00154     gridLayout->addWidget(groupBox_2, 1, 0, 1, 3);
-00155 
-00156     groupBox = new QGroupBox(configure);
-00157     groupBox->setObjectName(QString::fromUtf8("groupBox"));
-00158     gridLayout3 = new QGridLayout(groupBox);
-00159     gridLayout3->setSpacing(6);
-00160     gridLayout3->setMargin(9);
-00161     gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
-00162     textLabel1_3_2 = new QLabel(groupBox);
-00163     textLabel1_3_2->setObjectName(QString::fromUtf8("textLabel1_3_2"));
-00164     textLabel1_3_2->setMinimumSize(QSize(151, 0));
-00165     textLabel1_3_2->setWordWrap(false);
-00166 
-00167     gridLayout3->addWidget(textLabel1_3_2, 1, 0, 1, 1);
-00168 
-00169     checkAutoconnect = new QCheckBox(groupBox);
-00170     checkAutoconnect->setObjectName(QString::fromUtf8("checkAutoconnect"));
-00171 
-00172     gridLayout3->addWidget(checkAutoconnect, 2, 1, 1, 1);
-00173 
-00174     textLabel1_3 = new QLabel(groupBox);
-00175     textLabel1_3->setObjectName(QString::fromUtf8("textLabel1_3"));
-00176     textLabel1_3->setWordWrap(false);
-00177 
-00178     gridLayout3->addWidget(textLabel1_3, 0, 0, 1, 1);
-00179 
-00180     EditUsername = new QLineEdit(groupBox);
-00181     EditUsername->setObjectName(QString::fromUtf8("EditUsername"));
-00182 
-00183     gridLayout3->addWidget(EditUsername, 1, 1, 1, 1);
-00184 
-00185     EditHost = new QLineEdit(groupBox);
-00186     EditHost->setObjectName(QString::fromUtf8("EditHost"));
-00187 
-00188     gridLayout3->addWidget(EditHost, 0, 1, 1, 1);
-00189 
-00190     spacerItem3 = new QSpacerItem(91, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
-00191 
-00192     gridLayout3->addItem(spacerItem3, 1, 2, 1, 1);
-00193 
-00194     spacerItem4 = new QSpacerItem(91, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
-00195 
-00196     gridLayout3->addItem(spacerItem4, 0, 2, 1, 1);
-00197 
-00198 
-00199     gridLayout->addWidget(groupBox, 0, 0, 1, 3);
-00200 
-00201     okButton = new QPushButton(configure);
-00202     okButton->setObjectName(QString::fromUtf8("okButton"));
-00203 
-00204     gridLayout->addWidget(okButton, 3, 0, 1, 1);
-00205 
-00206     cancelButton = new QPushButton(configure);
-00207     cancelButton->setObjectName(QString::fromUtf8("cancelButton"));
-00208     cancelButton->setAutoDefault(false);
-00209 
-00210     gridLayout->addWidget(cancelButton, 3, 2, 1, 1);
-00211 
-00212     textLabel1_4->setBuddy(limitLogBox);
-00213     textLabel1_2->setBuddy(spinInterval);
-00214     textLabel1_3_2->setBuddy(EditUsername);
-00215     textLabel1_3->setBuddy(EditHost);
-00216     QWidget::setTabOrder(EditHost, EditUsername);
-00217     QWidget::setTabOrder(EditUsername, checkAutoconnect);
-00218     QWidget::setTabOrder(checkAutoconnect, checkViewHiddenShares);
-00219     QWidget::setTabOrder(checkViewHiddenShares, spinInterval);
-00220     QWidget::setTabOrder(spinInterval, checkIcon);
-00221     QWidget::setTabOrder(checkIcon, checkNotification);
-00222     QWidget::setTabOrder(checkNotification, checkLogActivity);
-00223     QWidget::setTabOrder(checkLogActivity, limitLogBox);
-00224     QWidget::setTabOrder(limitLogBox, okButton);
-00225     QWidget::setTabOrder(okButton, cancelButton);
-00226 
-00227     retranslateUi(configure);
-00228     QObject::connect(cancelButton, SIGNAL(clicked()), configure, SLOT(close()));
-00229     QObject::connect(okButton, SIGNAL(clicked()), configure, SLOT(SlotOk()));
-00230     QObject::connect(okButton, SIGNAL(clicked()), configure, SLOT(accept()));
-00231 
-00232     QMetaObject::connectSlotsByName(configure);
-00233     } // setupUi
-00234 
-00235     void retranslateUi(QDialog *configure)
-00236     {
-00237     configure->setWindowTitle(QApplication::translate("configure", "Configure", 0, QApplication::UnicodeUTF8));
-00238     groupBox_3->setTitle(QApplication::translate("configure", "Notifications and log", 0, QApplication::UnicodeUTF8));
-00239     textLabel1_4->setText(QApplication::translate("configure", "Limit log:", 0, QApplication::UnicodeUTF8));
-00240     textLabel1_5->setText(QApplication::translate("configure", "days", 0, QApplication::UnicodeUTF8));
-00241     checkIcon->setToolTip(QString());
-00242     checkIcon->setText(QApplication::translate("configure", "Iconize QtSmbstatus in system tray", 0, QApplication::UnicodeUTF8));
-00243     checkNotification->setToolTip(QApplication::translate("configure", "Show activities in \"balloon messages\"", 0, QApplication::UnicodeUTF8));
-00244     checkNotification->setText(QApplication::translate("configure", "Status notification messages", 0, QApplication::UnicodeUTF8));
-00245     checkLogActivity->setToolTip(QString());
-00246     checkLogActivity->setText(QApplication::translate("configure", "Log SMB/CIFS activities", 0, QApplication::UnicodeUTF8));
-00247     groupBox_2->setTitle(QApplication::translate("configure", "Smbstatus", 0, QApplication::UnicodeUTF8));
-00248     textLabel1_2->setText(QApplication::translate("configure", "<p align=\"right\">Interval:</p>", 0, QApplication::UnicodeUTF8));
-00249     spinInterval->setToolTip(QApplication::translate("configure", "Interval between smbstatus requests in seconds, (interval > 2)", 0, QApplication::UnicodeUTF8));
-00250     checkViewHiddenShares->setToolTip(QApplication::translate("configure", "Show hidden shares (share$)", 0, QApplication::UnicodeUTF8));
-00251     checkViewHiddenShares->setText(QApplication::translate("configure", "Show hidden shares", 0, QApplication::UnicodeUTF8));
-00252     groupBox->setTitle(QApplication::translate("configure", "Connection", 0, QApplication::UnicodeUTF8));
-00253     textLabel1_3_2->setText(QApplication::translate("configure", "<p align=\"right\">Default Username:</p>", 0, QApplication::UnicodeUTF8));
-00254     checkAutoconnect->setToolTip(QApplication::translate("configure", "Autoconnect on qtsmbstatus startup", 0, QApplication::UnicodeUTF8));
-00255     checkAutoconnect->setText(QApplication::translate("configure", "Autoconnect", 0, QApplication::UnicodeUTF8));
-00256     textLabel1_3->setText(QApplication::translate("configure", "<p align=\"right\">Default host address:</p>", 0, QApplication::UnicodeUTF8));
-00257     EditUsername->setToolTip(QApplication::translate("configure", "Username (default :  username = root)", 0, QApplication::UnicodeUTF8));
-00258     EditUsername->setText(QString());
-00259     EditHost->setToolTip(QApplication::translate("configure", "Host Address", 0, QApplication::UnicodeUTF8));
-00260     EditHost->setText(QString());
-00261     okButton->setText(QApplication::translate("configure", "OK", 0, QApplication::UnicodeUTF8));
-00262     cancelButton->setText(QApplication::translate("configure", "Cancel", 0, QApplication::UnicodeUTF8));
-00263     Q_UNUSED(configure);
-00264     } // retranslateUi
-00265 
-00266 };
-00267 
-00268 namespace Ui {
-00269     class configure: public Ui_configure {};
-00270 } // namespace Ui
-00271 
-00272 #endif // UI_CONFIGURE_H
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/ui__form__smbstatus_8h.html qtsmbstatus-2.1.1/html/ui__form__smbstatus_8h.html --- qtsmbstatus-2.0.4/html/ui__form__smbstatus_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/ui__form__smbstatus_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,36 +0,0 @@ - - -qtsmbstatus.kdevelop: ui_form_smbstatus.h File Reference - - - - - - -

ui_form_smbstatus.h File Reference

-

-Go to the source code of this file. - - - - - - - - - -

Namespaces

namespace  Ui

Classes

class  Ui::form_smbstatus
class  Ui_form_smbstatus
-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/ui__form__smbstatus_8h-source.html qtsmbstatus-2.1.1/html/ui__form__smbstatus_8h-source.html --- qtsmbstatus-2.0.4/html/ui__form__smbstatus_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/ui__form__smbstatus_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,269 +0,0 @@ - - -qtsmbstatus.kdevelop: ui_form_smbstatus.h Source File - - - - - - -

ui_form_smbstatus.h

Go to the documentation of this file.
00001 /********************************************************************************
-00002 ** Form generated from reading ui file 'form_smbstatus.ui'
-00003 **
-00004 ** Created: Fri Nov 2 17:29:54 2007
-00005 **      by: Qt User Interface Compiler version 4.3.2
-00006 **
-00007 ** WARNING! All changes made in this file will be lost when recompiling ui file!
-00008 ********************************************************************************/
-00009 
-00010 #ifndef UI_FORM_SMBSTATUS_H
-00011 #define UI_FORM_SMBSTATUS_H
-00012 
-00013 #include <Qt3Support/Q3Header>
-00014 #include <Qt3Support/Q3ListView>
-00015 #include <QtCore/QVariant>
-00016 #include <QtGui/QAction>
-00017 #include <QtGui/QApplication>
-00018 #include <QtGui/QButtonGroup>
-00019 #include <QtGui/QComboBox>
-00020 #include <QtGui/QGridLayout>
-00021 #include <QtGui/QLabel>
-00022 #include <QtGui/QMainWindow>
-00023 #include <QtGui/QMenu>
-00024 #include <QtGui/QMenuBar>
-00025 #include <QtGui/QPushButton>
-00026 #include <QtGui/QSpacerItem>
-00027 #include <QtGui/QWidget>
-00028 
-00029 class Ui_form_smbstatus
-00030 {
-00031 public:
-00032     QAction *helpAboutAction;
-00033     QAction *helpAbout_QtAction;
-00034     QAction *configureConfigure_clientAction;
-00035     QAction *searchMachineAction;
-00036     QAction *searchUserAction;
-00037     QAction *searchShare_openAction;
-00038     QAction *searchFile_openAction;
-00039     QAction *searchNextAction;
-00040     QAction *searchAll;
-00041     QAction *action_Quit;
-00042     QAction *action_View_log;
-00043     QAction *action_Connect;
-00044     QWidget *widget;
-00045     QGridLayout *gridLayout;
-00046     QPushButton *pushButton_connect;
-00047     QLabel *textLabel1;
-00048     QSpacerItem *spacerItem;
-00049     QComboBox *comboBox_hostaddr;
-00050     Q3ListView *listView;
-00051     QMenuBar *MenuBar;
-00052     QMenu *Configure;
-00053     QMenu *Search;
-00054     QMenu *helpMenu;
-00055 
-00056     void setupUi(QMainWindow *form_smbstatus)
-00057     {
-00058     if (form_smbstatus->objectName().isEmpty())
-00059         form_smbstatus->setObjectName(QString::fromUtf8("form_smbstatus"));
-00060     form_smbstatus->resize(330, 608);
-00061     form_smbstatus->setWindowIcon(QIcon(QString::fromUtf8(":/icons/samba.png")));
-00062     helpAboutAction = new QAction(form_smbstatus);
-00063     helpAboutAction->setObjectName(QString::fromUtf8("helpAboutAction"));
-00064     helpAboutAction->setIcon(QIcon(QString::fromUtf8(":/icons/samba.png")));
-00065     helpAbout_QtAction = new QAction(form_smbstatus);
-00066     helpAbout_QtAction->setObjectName(QString::fromUtf8("helpAbout_QtAction"));
-00067     configureConfigure_clientAction = new QAction(form_smbstatus);
-00068     configureConfigure_clientAction->setObjectName(QString::fromUtf8("configureConfigure_clientAction"));
-00069     configureConfigure_clientAction->setEnabled(true);
-00070     configureConfigure_clientAction->setIcon(QIcon(QString::fromUtf8(":/icons/configure.png")));
-00071     searchMachineAction = new QAction(form_smbstatus);
-00072     searchMachineAction->setObjectName(QString::fromUtf8("searchMachineAction"));
-00073     searchUserAction = new QAction(form_smbstatus);
-00074     searchUserAction->setObjectName(QString::fromUtf8("searchUserAction"));
-00075     searchShare_openAction = new QAction(form_smbstatus);
-00076     searchShare_openAction->setObjectName(QString::fromUtf8("searchShare_openAction"));
-00077     searchFile_openAction = new QAction(form_smbstatus);
-00078     searchFile_openAction->setObjectName(QString::fromUtf8("searchFile_openAction"));
-00079     searchNextAction = new QAction(form_smbstatus);
-00080     searchNextAction->setObjectName(QString::fromUtf8("searchNextAction"));
-00081     searchAll = new QAction(form_smbstatus);
-00082     searchAll->setObjectName(QString::fromUtf8("searchAll"));
-00083     action_Quit = new QAction(form_smbstatus);
-00084     action_Quit->setObjectName(QString::fromUtf8("action_Quit"));
-00085     action_Quit->setIcon(QIcon(QString::fromUtf8(":/icons/exit.png")));
-00086     action_View_log = new QAction(form_smbstatus);
-00087     action_View_log->setObjectName(QString::fromUtf8("action_View_log"));
-00088     action_Connect = new QAction(form_smbstatus);
-00089     action_Connect->setObjectName(QString::fromUtf8("action_Connect"));
-00090     action_Connect->setIcon(QIcon(QString::fromUtf8(":/icons/connect_no.png")));
-00091     widget = new QWidget(form_smbstatus);
-00092     widget->setObjectName(QString::fromUtf8("widget"));
-00093     gridLayout = new QGridLayout(widget);
-00094     gridLayout->setSpacing(6);
-00095     gridLayout->setMargin(9);
-00096     gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
-00097     pushButton_connect = new QPushButton(widget);
-00098     pushButton_connect->setObjectName(QString::fromUtf8("pushButton_connect"));
-00099     pushButton_connect->setMinimumSize(QSize(24, 24));
-00100     pushButton_connect->setMaximumSize(QSize(24, 24));
-00101     pushButton_connect->setAutoDefault(false);
-00102     pushButton_connect->setDefault(false);
-00103 
-00104     gridLayout->addWidget(pushButton_connect, 0, 3, 1, 1);
-00105 
-00106     textLabel1 = new QLabel(widget);
-00107     textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
-00108     QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
-00109     sizePolicy.setHorizontalStretch(0);
-00110     sizePolicy.setVerticalStretch(0);
-00111     sizePolicy.setHeightForWidth(textLabel1->sizePolicy().hasHeightForWidth());
-00112     textLabel1->setSizePolicy(sizePolicy);
-00113     textLabel1->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
-00114     textLabel1->setWordWrap(false);
-00115 
-00116     gridLayout->addWidget(textLabel1, 0, 1, 1, 1);
-00117 
-00118     spacerItem = new QSpacerItem(50, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
-00119 
-00120     gridLayout->addItem(spacerItem, 0, 0, 1, 1);
-00121 
-00122     comboBox_hostaddr = new QComboBox(widget);
-00123     comboBox_hostaddr->setObjectName(QString::fromUtf8("comboBox_hostaddr"));
-00124     QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
-00125     sizePolicy1.setHorizontalStretch(0);
-00126     sizePolicy1.setVerticalStretch(0);
-00127     sizePolicy1.setHeightForWidth(comboBox_hostaddr->sizePolicy().hasHeightForWidth());
-00128     comboBox_hostaddr->setSizePolicy(sizePolicy1);
-00129     comboBox_hostaddr->setMinimumSize(QSize(100, 0));
-00130     comboBox_hostaddr->setEditable(true);
-00131     comboBox_hostaddr->setMaxCount(20);
-00132     comboBox_hostaddr->setInsertPolicy(QComboBox::NoInsert);
-00133     comboBox_hostaddr->setAutoCompletion(true);
-00134     comboBox_hostaddr->setDuplicatesEnabled(false);
-00135 
-00136     gridLayout->addWidget(comboBox_hostaddr, 0, 2, 1, 1);
-00137 
-00138     listView = new Q3ListView(widget);
-00139     listView->setObjectName(QString::fromUtf8("listView"));
-00140     listView->setFrameShadow(QFrame::Sunken);
-00141     listView->setResizeMode(Q3ListView::AllColumns);
-00142 
-00143     gridLayout->addWidget(listView, 1, 0, 1, 4);
-00144 
-00145     form_smbstatus->setCentralWidget(widget);
-00146     MenuBar = new QMenuBar(form_smbstatus);
-00147     MenuBar->setObjectName(QString::fromUtf8("MenuBar"));
-00148     MenuBar->setEnabled(true);
-00149     MenuBar->setGeometry(QRect(0, 0, 330, 29));
-00150     Configure = new QMenu(MenuBar);
-00151     Configure->setObjectName(QString::fromUtf8("Configure"));
-00152     Search = new QMenu(MenuBar);
-00153     Search->setObjectName(QString::fromUtf8("Search"));
-00154     helpMenu = new QMenu(MenuBar);
-00155     helpMenu->setObjectName(QString::fromUtf8("helpMenu"));
-00156     form_smbstatus->setMenuBar(MenuBar);
-00157 
-00158     MenuBar->addAction(Configure->menuAction());
-00159     MenuBar->addAction(Search->menuAction());
-00160     MenuBar->addAction(helpMenu->menuAction());
-00161     Configure->addAction(action_Connect);
-00162     Configure->addSeparator();
-00163     Configure->addAction(action_View_log);
-00164     Configure->addAction(configureConfigure_clientAction);
-00165     Configure->addSeparator();
-00166     Configure->addAction(action_Quit);
-00167     Search->addAction(searchAll);
-00168     Search->addSeparator();
-00169     Search->addAction(searchMachineAction);
-00170     Search->addAction(searchUserAction);
-00171     Search->addAction(searchShare_openAction);
-00172     Search->addAction(searchFile_openAction);
-00173     Search->addSeparator();
-00174     Search->addAction(searchNextAction);
-00175     helpMenu->addAction(helpAboutAction);
-00176     helpMenu->addAction(helpAbout_QtAction);
-00177 
-00178     retranslateUi(form_smbstatus);
-00179     QObject::connect(helpAboutAction, SIGNAL(activated()), form_smbstatus, SLOT(helpAbout()));
-00180     QObject::connect(helpAbout_QtAction, SIGNAL(activated()), form_smbstatus, SLOT(helpAboutQt()));
-00181     QObject::connect(pushButton_connect, SIGNAL(clicked()), form_smbstatus, SLOT(Slot_connect()));
-00182     QObject::connect(configureConfigure_clientAction, SIGNAL(activated()), form_smbstatus, SLOT(ConfigureSlot()));
-00183     QObject::connect(searchFile_openAction, SIGNAL(activated()), form_smbstatus, SLOT(FileSearchSlot()));
-00184     QObject::connect(searchMachineAction, SIGNAL(activated()), form_smbstatus, SLOT(MachineSearchSlot()));
-00185     QObject::connect(searchShare_openAction, SIGNAL(activated()), form_smbstatus, SLOT(ShareSearchSlot()));
-00186     QObject::connect(searchUserAction, SIGNAL(activated()), form_smbstatus, SLOT(UserSearchSlot()));
-00187     QObject::connect(searchNextAction, SIGNAL(activated()), form_smbstatus, SLOT(NextSlot()));
-00188     QObject::connect(searchAll, SIGNAL(activated()), form_smbstatus, SLOT(AllSearchSlot()));
-00189 
-00190     QMetaObject::connectSlotsByName(form_smbstatus);
-00191     } // setupUi
-00192 
-00193     void retranslateUi(QMainWindow *form_smbstatus)
-00194     {
-00195     form_smbstatus->setWindowTitle(QApplication::translate("form_smbstatus", "qtsmbstatus", 0, QApplication::UnicodeUTF8));
-00196     helpAboutAction->setText(QApplication::translate("form_smbstatus", "&About QtSmbstatus", 0, QApplication::UnicodeUTF8));
-00197     helpAboutAction->setIconText(QApplication::translate("form_smbstatus", "&About QtSmbstatus", 0, QApplication::UnicodeUTF8));
-00198     helpAboutAction->setToolTip(QApplication::translate("form_smbstatus", "&About QtSmbstatus", 0, QApplication::UnicodeUTF8));
-00199     helpAboutAction->setStatusTip(QApplication::translate("form_smbstatus", "About QtSmbstatus", 0, QApplication::UnicodeUTF8));
-00200     helpAboutAction->setShortcut(QString());
-00201     helpAbout_QtAction->setText(QApplication::translate("form_smbstatus", "About &Qt", 0, QApplication::UnicodeUTF8));
-00202     helpAbout_QtAction->setIconText(QApplication::translate("form_smbstatus", "About &Qt", 0, QApplication::UnicodeUTF8));
-00203     helpAbout_QtAction->setToolTip(QApplication::translate("form_smbstatus", "About &Qt", 0, QApplication::UnicodeUTF8));
-00204     helpAbout_QtAction->setStatusTip(QApplication::translate("form_smbstatus", "About Qt", 0, QApplication::UnicodeUTF8));
-00205     configureConfigure_clientAction->setText(QApplication::translate("form_smbstatus", "&Configure client", 0, QApplication::UnicodeUTF8));
-00206     configureConfigure_clientAction->setIconText(QApplication::translate("form_smbstatus", "&Configure client", 0, QApplication::UnicodeUTF8));
-00207     configureConfigure_clientAction->setStatusTip(QApplication::translate("form_smbstatus", "Configure QtSmbstatus client", 0, QApplication::UnicodeUTF8));
-00208     searchMachineAction->setText(QApplication::translate("form_smbstatus", "&Machine", 0, QApplication::UnicodeUTF8));
-00209     searchMachineAction->setIconText(QApplication::translate("form_smbstatus", "&Machine", 0, QApplication::UnicodeUTF8));
-00210     searchMachineAction->setStatusTip(QApplication::translate("form_smbstatus", "Search machine", 0, QApplication::UnicodeUTF8));
-00211     searchUserAction->setText(QApplication::translate("form_smbstatus", "&User", 0, QApplication::UnicodeUTF8));
-00212     searchUserAction->setIconText(QApplication::translate("form_smbstatus", "&User", 0, QApplication::UnicodeUTF8));
-00213     searchUserAction->setStatusTip(QApplication::translate("form_smbstatus", "Search user", 0, QApplication::UnicodeUTF8));
-00214     searchShare_openAction->setText(QApplication::translate("form_smbstatus", "Share &open", 0, QApplication::UnicodeUTF8));
-00215     searchShare_openAction->setIconText(QApplication::translate("form_smbstatus", "Share &open", 0, QApplication::UnicodeUTF8));
-00216     searchShare_openAction->setStatusTip(QApplication::translate("form_smbstatus", "Search share open", 0, QApplication::UnicodeUTF8));
-00217     searchFile_openAction->setText(QApplication::translate("form_smbstatus", "&Locked file", 0, QApplication::UnicodeUTF8));
-00218     searchFile_openAction->setIconText(QApplication::translate("form_smbstatus", "&Locked file", 0, QApplication::UnicodeUTF8));
-00219     searchFile_openAction->setStatusTip(QApplication::translate("form_smbstatus", "Search file open", 0, QApplication::UnicodeUTF8));
-00220     searchNextAction->setText(QApplication::translate("form_smbstatus", "&Next", 0, QApplication::UnicodeUTF8));
-00221     searchNextAction->setIconText(QApplication::translate("form_smbstatus", "&Next", 0, QApplication::UnicodeUTF8));
-00222     searchNextAction->setStatusTip(QApplication::translate("form_smbstatus", "Next", 0, QApplication::UnicodeUTF8));
-00223     searchNextAction->setShortcut(QApplication::translate("form_smbstatus", "F3", 0, QApplication::UnicodeUTF8));
-00224     searchAll->setText(QApplication::translate("form_smbstatus", "&Find text", 0, QApplication::UnicodeUTF8));
-00225     searchAll->setIconText(QApplication::translate("form_smbstatus", "&Find text", 0, QApplication::UnicodeUTF8));
-00226     searchAll->setStatusTip(QApplication::translate("form_smbstatus", "Find text", 0, QApplication::UnicodeUTF8));
-00227     searchAll->setShortcut(QApplication::translate("form_smbstatus", "F5", 0, QApplication::UnicodeUTF8));
-00228     action_Quit->setText(QApplication::translate("form_smbstatus", "&Quit", 0, QApplication::UnicodeUTF8));
-00229     action_Quit->setStatusTip(QApplication::translate("form_smbstatus", "Quit QtSmbstatus", 0, QApplication::UnicodeUTF8));
-00230     action_View_log->setText(QApplication::translate("form_smbstatus", "&Show CIFS/SMB activities", 0, QApplication::UnicodeUTF8));
-00231     action_Connect->setText(QApplication::translate("form_smbstatus", "Co&nnect", 0, QApplication::UnicodeUTF8));
-00232     pushButton_connect->setToolTip(QApplication::translate("form_smbstatus", "Connect/Disconnect", 0, QApplication::UnicodeUTF8));
-00233     pushButton_connect->setText(QString());
-00234     textLabel1->setText(QApplication::translate("form_smbstatus", "Host:", 0, QApplication::UnicodeUTF8));
-00235     Configure->setTitle(QApplication::translate("form_smbstatus", "&File", 0, QApplication::UnicodeUTF8));
-00236     Search->setTitle(QApplication::translate("form_smbstatus", "&Search", 0, QApplication::UnicodeUTF8));
-00237     helpMenu->setTitle(QApplication::translate("form_smbstatus", "&Help", 0, QApplication::UnicodeUTF8));
-00238     } // retranslateUi
-00239 
-00240 };
-00241 
-00242 namespace Ui {
-00243     class form_smbstatus: public Ui_form_smbstatus {};
-00244 } // namespace Ui
-00245 
-00246 #endif // UI_FORM_SMBSTATUS_H
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/ui__log_8h.html qtsmbstatus-2.1.1/html/ui__log_8h.html --- qtsmbstatus-2.0.4/html/ui__log_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/ui__log_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,36 +0,0 @@ - - -qtsmbstatus.kdevelop: ui_log.h File Reference - - - - - - -

ui_log.h File Reference

-

-Go to the source code of this file. - - - - - - - - - -

Namespaces

namespace  Ui

Classes

class  Ui::logform
class  Ui_logform
-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/ui__log_8h-source.html qtsmbstatus-2.1.1/html/ui__log_8h-source.html --- qtsmbstatus-2.0.4/html/ui__log_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/ui__log_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,210 +0,0 @@ - - -qtsmbstatus.kdevelop: ui_log.h Source File - - - - - - -

ui_log.h

Go to the documentation of this file.
00001 /********************************************************************************
-00002 ** Form generated from reading ui file 'log.ui'
-00003 **
-00004 ** Created: Fri Nov 2 17:29:54 2007
-00005 **      by: Qt User Interface Compiler version 4.3.2
-00006 **
-00007 ** WARNING! All changes made in this file will be lost when recompiling ui file!
-00008 ********************************************************************************/
-00009 
-00010 #ifndef UI_LOG_H
-00011 #define UI_LOG_H
-00012 
-00013 #include <QtCore/QVariant>
-00014 #include <QtGui/QAction>
-00015 #include <QtGui/QApplication>
-00016 #include <QtGui/QButtonGroup>
-00017 #include <QtGui/QCheckBox>
-00018 #include <QtGui/QDialog>
-00019 #include <QtGui/QGridLayout>
-00020 #include <QtGui/QHBoxLayout>
-00021 #include <QtGui/QLabel>
-00022 #include <QtGui/QLineEdit>
-00023 #include <QtGui/QPushButton>
-00024 #include <QtGui/QSpacerItem>
-00025 #include <QtGui/QTableView>
-00026 
-00027 class Ui_logform
-00028 {
-00029 public:
-00030     QGridLayout *gridLayout;
-00031     QHBoxLayout *hboxLayout;
-00032     QPushButton *clearButton;
-00033     QSpacerItem *spacerItem;
-00034     QPushButton *SaveLogButton;
-00035     QSpacerItem *spacerItem1;
-00036     QPushButton *pushButton;
-00037     QHBoxLayout *hboxLayout1;
-00038     QCheckBox *checkShare;
-00039     QSpacerItem *spacerItem2;
-00040     QCheckBox *checkFile;
-00041     QSpacerItem *spacerItem3;
-00042     QLabel *textLabel1;
-00043     QLineEdit *filterEdit;
-00044     QTableView *tableView;
-00045 
-00046     void setupUi(QDialog *logform)
-00047     {
-00048     if (logform->objectName().isEmpty())
-00049         logform->setObjectName(QString::fromUtf8("logform"));
-00050     logform->resize(863, 699);
-00051     gridLayout = new QGridLayout(logform);
-00052 #ifndef Q_OS_MAC
-00053     gridLayout->setSpacing(6);
-00054 #endif
-00055 #ifndef Q_OS_MAC
-00056     gridLayout->setMargin(9);
-00057 #endif
-00058     gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
-00059     hboxLayout = new QHBoxLayout();
-00060 #ifndef Q_OS_MAC
-00061     hboxLayout->setSpacing(6);
-00062 #endif
-00063 #ifndef Q_OS_MAC
-00064     hboxLayout->setMargin(0);
-00065 #endif
-00066     hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
-00067     clearButton = new QPushButton(logform);
-00068     clearButton->setObjectName(QString::fromUtf8("clearButton"));
-00069     QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(0));
-00070     sizePolicy.setHorizontalStretch(0);
-00071     sizePolicy.setVerticalStretch(0);
-00072     sizePolicy.setHeightForWidth(clearButton->sizePolicy().hasHeightForWidth());
-00073     clearButton->setSizePolicy(sizePolicy);
-00074     clearButton->setIcon(QIcon(QString::fromUtf8(":/icons/clear.png")));
-00075     clearButton->setAutoDefault(false);
-00076 
-00077     hboxLayout->addWidget(clearButton);
-00078 
-00079     spacerItem = new QSpacerItem(40, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);
-00080 
-00081     hboxLayout->addItem(spacerItem);
-00082 
-00083     SaveLogButton = new QPushButton(logform);
-00084     SaveLogButton->setObjectName(QString::fromUtf8("SaveLogButton"));
-00085     SaveLogButton->setIcon(QIcon(QString::fromUtf8(":/icons/filesaveas.png")));
-00086     SaveLogButton->setAutoDefault(false);
-00087 
-00088     hboxLayout->addWidget(SaveLogButton);
-00089 
-00090     spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
-00091 
-00092     hboxLayout->addItem(spacerItem1);
-00093 
-00094     pushButton = new QPushButton(logform);
-00095     pushButton->setObjectName(QString::fromUtf8("pushButton"));
-00096     sizePolicy.setHeightForWidth(pushButton->sizePolicy().hasHeightForWidth());
-00097     pushButton->setSizePolicy(sizePolicy);
-00098     pushButton->setAutoDefault(false);
-00099 
-00100     hboxLayout->addWidget(pushButton);
-00101 
-00102 
-00103     gridLayout->addLayout(hboxLayout, 3, 0, 1, 1);
-00104 
-00105     hboxLayout1 = new QHBoxLayout();
-00106 #ifndef Q_OS_MAC
-00107     hboxLayout1->setSpacing(6);
-00108 #endif
-00109     hboxLayout1->setMargin(0);
-00110     hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
-00111     checkShare = new QCheckBox(logform);
-00112     checkShare->setObjectName(QString::fromUtf8("checkShare"));
-00113     checkShare->setIcon(QIcon(QString::fromUtf8(":/icons/folder_open.png")));
-00114     checkShare->setChecked(true);
-00115 
-00116     hboxLayout1->addWidget(checkShare);
-00117 
-00118     spacerItem2 = new QSpacerItem(21, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);
-00119 
-00120     hboxLayout1->addItem(spacerItem2);
-00121 
-00122     checkFile = new QCheckBox(logform);
-00123     checkFile->setObjectName(QString::fromUtf8("checkFile"));
-00124     checkFile->setIcon(QIcon(QString::fromUtf8(":/icons/document.png")));
-00125     checkFile->setChecked(true);
-00126 
-00127     hboxLayout1->addWidget(checkFile);
-00128 
-00129     spacerItem3 = new QSpacerItem(20, 25, QSizePolicy::Fixed, QSizePolicy::Minimum);
-00130 
-00131     hboxLayout1->addItem(spacerItem3);
-00132 
-00133     textLabel1 = new QLabel(logform);
-00134     textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
-00135     QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
-00136     sizePolicy1.setHorizontalStretch(0);
-00137     sizePolicy1.setVerticalStretch(0);
-00138     sizePolicy1.setHeightForWidth(textLabel1->sizePolicy().hasHeightForWidth());
-00139     textLabel1->setSizePolicy(sizePolicy1);
-00140     textLabel1->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
-00141     textLabel1->setWordWrap(false);
-00142 
-00143     hboxLayout1->addWidget(textLabel1);
-00144 
-00145     filterEdit = new QLineEdit(logform);
-00146     filterEdit->setObjectName(QString::fromUtf8("filterEdit"));
-00147 
-00148     hboxLayout1->addWidget(filterEdit);
-00149 
-00150 
-00151     gridLayout->addLayout(hboxLayout1, 0, 0, 1, 1);
-00152 
-00153     tableView = new QTableView(logform);
-00154     tableView->setObjectName(QString::fromUtf8("tableView"));
-00155     tableView->setSelectionMode(QAbstractItemView::SingleSelection);
-00156     tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
-00157 
-00158     gridLayout->addWidget(tableView, 1, 0, 1, 1);
-00159 
-00160 
-00161     retranslateUi(logform);
-00162     QObject::connect(pushButton, SIGNAL(clicked()), logform, SLOT(hide()));
-00163 
-00164     QMetaObject::connectSlotsByName(logform);
-00165     } // setupUi
-00166 
-00167     void retranslateUi(QDialog *logform)
-00168     {
-00169     logform->setWindowTitle(QApplication::translate("logform", "View Activities", 0, QApplication::UnicodeUTF8));
-00170     clearButton->setText(QApplication::translate("logform", "Clear", 0, QApplication::UnicodeUTF8));
-00171     SaveLogButton->setText(QApplication::translate("logform", "Save log", 0, QApplication::UnicodeUTF8));
-00172     pushButton->setText(QApplication::translate("logform", "Close", 0, QApplication::UnicodeUTF8));
-00173     checkShare->setToolTip(QApplication::translate("logform", "View/hide shares", 0, QApplication::UnicodeUTF8));
-00174     checkShare->setText(QString());
-00175     checkFile->setToolTip(QApplication::translate("logform", "View/hide files", 0, QApplication::UnicodeUTF8));
-00176     checkFile->setText(QString());
-00177     textLabel1->setText(QApplication::translate("logform", "Filter:", 0, QApplication::UnicodeUTF8));
-00178     Q_UNUSED(logform);
-00179     } // retranslateUi
-00180 
-00181 };
-00182 
-00183 namespace Ui {
-00184     class logform: public Ui_logform {};
-00185 } // namespace Ui
-00186 
-00187 #endif // UI_LOG_H
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/ui__login__dialog_8h.html qtsmbstatus-2.1.1/html/ui__login__dialog_8h.html --- qtsmbstatus-2.0.4/html/ui__login__dialog_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/ui__login__dialog_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,36 +0,0 @@ - - -qtsmbstatus.kdevelop: ui_login_dialog.h File Reference - - - - - - -

ui_login_dialog.h File Reference

-

-Go to the source code of this file. - - - - - - - - - -

Namespaces

namespace  Ui

Classes

class  Ui::login_dialog
class  Ui_login_dialog
-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/ui__login__dialog_8h-source.html qtsmbstatus-2.1.1/html/ui__login__dialog_8h-source.html --- qtsmbstatus-2.0.4/html/ui__login__dialog_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/ui__login__dialog_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,178 +0,0 @@ - - -qtsmbstatus.kdevelop: ui_login_dialog.h Source File - - - - - - -

ui_login_dialog.h

Go to the documentation of this file.
00001 /********************************************************************************
-00002 ** Form generated from reading ui file 'login_dialog.ui'
-00003 **
-00004 ** Created: Fri Nov 2 17:29:54 2007
-00005 **      by: Qt User Interface Compiler version 4.3.2
-00006 **
-00007 ** WARNING! All changes made in this file will be lost when recompiling ui file!
-00008 ********************************************************************************/
-00009 
-00010 #ifndef UI_LOGIN_DIALOG_H
-00011 #define UI_LOGIN_DIALOG_H
-00012 
-00013 #include <Qt3Support/Q3MimeSourceFactory>
-00014 #include <QtCore/QVariant>
-00015 #include <QtGui/QAction>
-00016 #include <QtGui/QApplication>
-00017 #include <QtGui/QButtonGroup>
-00018 #include <QtGui/QDialog>
-00019 #include <QtGui/QGridLayout>
-00020 #include <QtGui/QHBoxLayout>
-00021 #include <QtGui/QLabel>
-00022 #include <QtGui/QLineEdit>
-00023 #include <QtGui/QPushButton>
-00024 #include <QtGui/QSpacerItem>
-00025 
-00026 class Ui_login_dialog
-00027 {
-00028 public:
-00029     QGridLayout *gridLayout;
-00030     QSpacerItem *spacerItem;
-00031     QLabel *label_username;
-00032     QHBoxLayout *hboxLayout;
-00033     QPushButton *bt_login;
-00034     QSpacerItem *spacerItem1;
-00035     QPushButton *bt_exit;
-00036     QLineEdit *input_username;
-00037     QLineEdit *input_password;
-00038     QLabel *label_password;
-00039 
-00040     void setupUi(QDialog *login_dialog)
-00041     {
-00042     if (login_dialog->objectName().isEmpty())
-00043         login_dialog->setObjectName(QString::fromUtf8("login_dialog"));
-00044     login_dialog->resize(302, 161);
-00045     QFont font;
-00046     font.setFamily(QString::fromUtf8("Arial"));
-00047     font.setPointSize(11);
-00048     login_dialog->setFont(font);
-00049     gridLayout = new QGridLayout(login_dialog);
-00050     gridLayout->setSpacing(6);
-00051     gridLayout->setMargin(9);
-00052     gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
-00053     spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
-00054 
-00055     gridLayout->addItem(spacerItem, 2, 1, 1, 1);
-00056 
-00057     label_username = new QLabel(login_dialog);
-00058     label_username->setObjectName(QString::fromUtf8("label_username"));
-00059     QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(5));
-00060     sizePolicy.setHorizontalStretch(0);
-00061     sizePolicy.setVerticalStretch(0);
-00062     sizePolicy.setHeightForWidth(label_username->sizePolicy().hasHeightForWidth());
-00063     label_username->setSizePolicy(sizePolicy);
-00064     label_username->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
-00065     label_username->setWordWrap(false);
-00066 
-00067     gridLayout->addWidget(label_username, 0, 0, 1, 1);
-00068 
-00069     hboxLayout = new QHBoxLayout();
-00070     hboxLayout->setSpacing(6);
-00071     hboxLayout->setMargin(0);
-00072     hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
-00073     bt_login = new QPushButton(login_dialog);
-00074     bt_login->setObjectName(QString::fromUtf8("bt_login"));
-00075     QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(5));
-00076     sizePolicy1.setHorizontalStretch(0);
-00077     sizePolicy1.setVerticalStretch(0);
-00078     sizePolicy1.setHeightForWidth(bt_login->sizePolicy().hasHeightForWidth());
-00079     bt_login->setSizePolicy(sizePolicy1);
-00080 
-00081     hboxLayout->addWidget(bt_login);
-00082 
-00083     spacerItem1 = new QSpacerItem(51, 37, QSizePolicy::Preferred, QSizePolicy::Minimum);
-00084 
-00085     hboxLayout->addItem(spacerItem1);
-00086 
-00087     bt_exit = new QPushButton(login_dialog);
-00088     bt_exit->setObjectName(QString::fromUtf8("bt_exit"));
-00089     sizePolicy1.setHeightForWidth(bt_exit->sizePolicy().hasHeightForWidth());
-00090     bt_exit->setSizePolicy(sizePolicy1);
-00091 
-00092     hboxLayout->addWidget(bt_exit);
-00093 
-00094 
-00095     gridLayout->addLayout(hboxLayout, 3, 0, 1, 2);
-00096 
-00097     input_username = new QLineEdit(login_dialog);
-00098     input_username->setObjectName(QString::fromUtf8("input_username"));
-00099     QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(1));
-00100     sizePolicy2.setHorizontalStretch(0);
-00101     sizePolicy2.setVerticalStretch(0);
-00102     sizePolicy2.setHeightForWidth(input_username->sizePolicy().hasHeightForWidth());
-00103     input_username->setSizePolicy(sizePolicy2);
-00104 
-00105     gridLayout->addWidget(input_username, 0, 1, 1, 1);
-00106 
-00107     input_password = new QLineEdit(login_dialog);
-00108     input_password->setObjectName(QString::fromUtf8("input_password"));
-00109     sizePolicy2.setHeightForWidth(input_password->sizePolicy().hasHeightForWidth());
-00110     input_password->setSizePolicy(sizePolicy2);
-00111     input_password->setEchoMode(QLineEdit::Password);
-00112 
-00113     gridLayout->addWidget(input_password, 1, 1, 1, 1);
-00114 
-00115     label_password = new QLabel(login_dialog);
-00116     label_password->setObjectName(QString::fromUtf8("label_password"));
-00117     sizePolicy.setHeightForWidth(label_password->sizePolicy().hasHeightForWidth());
-00118     label_password->setSizePolicy(sizePolicy);
-00119     label_password->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
-00120     label_password->setWordWrap(false);
-00121 
-00122     gridLayout->addWidget(label_password, 1, 0, 1, 1);
-00123 
-00124     label_username->setBuddy(input_username);
-00125     label_password->setBuddy(input_password);
-00126     QWidget::setTabOrder(input_password, bt_login);
-00127     QWidget::setTabOrder(bt_login, bt_exit);
-00128     QWidget::setTabOrder(bt_exit, input_username);
-00129 
-00130     retranslateUi(login_dialog);
-00131     QObject::connect(bt_login, SIGNAL(clicked()), login_dialog, SLOT(accept()));
-00132     QObject::connect(bt_exit, SIGNAL(clicked()), login_dialog, SLOT(reject()));
-00133     QObject::connect(bt_login, SIGNAL(clicked()), login_dialog, SLOT(Slot_login_button()));
-00134 
-00135     QMetaObject::connectSlotsByName(login_dialog);
-00136     } // setupUi
-00137 
-00138     void retranslateUi(QDialog *login_dialog)
-00139     {
-00140     login_dialog->setWindowTitle(QApplication::translate("login_dialog", "Connect to qtsmbstatus server", 0, QApplication::UnicodeUTF8));
-00141     label_username->setText(QApplication::translate("login_dialog", "Username", 0, QApplication::UnicodeUTF8));
-00142     bt_login->setText(QApplication::translate("login_dialog", "login", 0, QApplication::UnicodeUTF8));
-00143     bt_exit->setText(QApplication::translate("login_dialog", "exit", 0, QApplication::UnicodeUTF8));
-00144     input_username->setText(QApplication::translate("login_dialog", "root", 0, QApplication::UnicodeUTF8));
-00145     label_password->setText(QApplication::translate("login_dialog", "Password", 0, QApplication::UnicodeUTF8));
-00146     Q_UNUSED(login_dialog);
-00147     } // retranslateUi
-00148 
-00149 };
-00150 
-00151 namespace Ui {
-00152     class login_dialog: public Ui_login_dialog {};
-00153 } // namespace Ui
-00154 
-00155 #endif // UI_LOGIN_DIALOG_H
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/user_8cpp.html qtsmbstatus-2.1.1/html/user_8cpp.html --- qtsmbstatus-2.0.4/html/user_8cpp.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/user_8cpp.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ - - -qtsmbstatus.kdevelop: user.cpp File Reference - - - - - - -

user.cpp File Reference

- -
-
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/user_8h.html qtsmbstatus-2.1.1/html/user_8h.html --- qtsmbstatus-2.0.4/html/user_8h.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/user_8h.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,75 +0,0 @@ - - -qtsmbstatus.kdevelop: user.h File Reference - - - - - - -

user.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - -

Classes

class  user
 Class of user items. More...

Functions

void debugQt (const QString &message)

Variables

QList< Q3ListViewItem * > Q3ListViewItemList
-


Function Documentation

- -
-
- - - - - - - - - -
void debugQt (const QString &  message  ) 
-
-
- -

-view debug messages. The message is printed to stderr. -

-

-


Variable Documentation

- -
-
- - - - -
QList<Q3ListViewItem *> Q3ListViewItemList
-
-
- -

- -

-

-


Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/html/user_8h-source.html qtsmbstatus-2.1.1/html/user_8h-source.html --- qtsmbstatus-2.0.4/html/user_8h-source.html 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/html/user_8h-source.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,71 +0,0 @@ - - -qtsmbstatus.kdevelop: user.h Source File - - - - - - -

user.h

Go to the documentation of this file.
00001 /***************************************************************************
-00002  *   Copyright (C) 2004 by Daniel Rocher                                   *
-00003  *   daniel.rocher@adella.org                                              *
-00004  *                                                                         *
-00005  *   This program is free software; you can redistribute it and/or modify  *
-00006  *   it under the terms of the GNU General Public License as published by  *
-00007  *   the Free Software Foundation; either version 2 of the License, or     *
-00008  *   (at your option) any later version.                                   *
-00009  *                                                                         *
-00010  *   This program is distributed in the hope that it will be useful,       *
-00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
-00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
-00013  *   GNU General Public License for more details.                          *
-00014  *                                                                         *
-00015  *   You should have received a copy of the GNU General Public License     *
-00016  *   along with this program; if not, write to the                         *
-00017  *   Free Software Foundation, Inc.,                                       *
-00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
-00019  ***************************************************************************/
-00020 
-00021 #ifndef USER_H
-00022 #define USER_H
-00023 
-00024 #include <QPixmap>
-00025 #include <Q3ListView>
-00026 
-00027 #include "service.h"
-00028 
-00029 
-00030 extern void debugQt(const QString & message);
-00031 extern QList<Q3ListViewItem *> Q3ListViewItemList;
-00032 
-00033 class user : public Q3ListViewItem  {
-00034 public:
-00035         user(Q3ListViewItem * parent,const QString & PID,const QString & Username, const QString & Group);
-00036         virtual ~user();
-00037         bool append_share(const QString & PID,const QString & Share,const QString & DateOpen);
-00038         bool append_lockedfile(const QString & PID,const QString & File,const QString & DenyMode,const QString & RW,const QString & Oplock,const QString & DateOpen);
-00039         void refresh_childs();
-00040         void mark_childs();
-00041         static int compteur_objet;
-00042         bool mark;
-00043         QString username;
-00044         QString group;
-00045         QString pid;
-00046 };
-00047 
-00048 #endif
-

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  - -doxygen 1.5.3
- - diff -Nru qtsmbstatus-2.0.4/INSTALL qtsmbstatus-2.1.1/INSTALL --- qtsmbstatus-2.0.4/INSTALL 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/INSTALL 2009-04-12 14:46:48.000000000 +0200 @@ -1,22 +1,24 @@ QtSmbstatus : ============= -QtSmbstatus (client) require qt4>=4.2 and openssl -QtSmbstatusd (server) require qt4>=4.2, openssl and pam +qtsmbstatus-light and qtsmbstatus-client requires Qt>=4.3 +qtsmbstatus-server requires Qt>=4.3 and pam + you must install it before. -You need Qt (from Trolltech) at least version 4.2 to be able to compile +You need Qt (from Trolltech) at least version 4.3 to be able to compile QtSmbstatus. Most Linux distributions normally already package the latest version of Qt. However, you need the development package as well (sometimes named as qt-devel or qt4-devel, it varies depends on the distributions). -Required to compile qtsmbstatus-client: qt4-dev>=4.2 and ssl-dev -Required to compile qtsmbstatus-server: qt4-dev>=4.2 , ssl-dev and pam-dev +Required to compile qtsmbstatus-light: qt4-dev>=4.3 +Required to compile qtsmbstatus-client: qt4-dev>=4.3 +Required to compile qtsmbstatus-server: qt4-dev>=4.3 and pam-dev (or libpam-dev) The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type - 'qmake' to create Makefile + 'qmake' (or qmake-qt4) to create Makefile 2. Type `make' to compile the package. @@ -41,4 +43,4 @@ - Mac OS X -- Mac OS X 10.3+ - Embedded Linux -- Linux platforms with framebuffer support -See Trolltech's web site for the complete list of supported platform and compilers. \ Pas de fin de ligne à la fin du fichier. +See Trolltech's web site for the complete list of supported platform and compilers. diff -Nru qtsmbstatus-2.0.4/light/configure_windowsl.cpp qtsmbstatus-2.1.1/light/configure_windowsl.cpp --- qtsmbstatus-2.0.4/light/configure_windowsl.cpp 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/light/configure_windowsl.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,106 @@ +/*************************************************************************** + * Copyright (C) 2004 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + + +#include + +#include "configure_windowsl.h" + +extern uint int_qtsmbstatus_version; + +/** + \class configure_windowsl + \brief Configure Qtsmbstatus-Light + \param parent pointer to the parent object + \date 2008-11-15 + \version 1.0 + \author Daniel Rocher +*/ +configure_windowsl::configure_windowsl(QWidget *parent) + : QDialog(parent) +{ + debugQt("configure_windowsl::configure_windowsl()"); + this->setAttribute(Qt::WA_DeleteOnClose); + setupUi(this); + groupBox->setVisible (false); + QSettings settings; + settings.beginGroup("/Configuration"); + uint last_known_release=settings.value("lastKnownRelease",int_qtsmbstatus_version).toUInt(); + if (last_known_release>int_qtsmbstatus_version) + { + labelNewRelease->setText("

" + +labelNewRelease->text()+" : " + +""+ + +"Downloads

"); + labelNewRelease->setTextFormat ( Qt::RichText ); + labelNewRelease->setTextInteractionFlags (Qt::LinksAccessibleByMouse); + labelNewRelease->setOpenExternalLinks (true); + } else + labelNewRelease->hide(); + + spinInterval->setValue (settings.value("interval",interval).toInt()); + checkViewHiddenShares->setChecked (settings.value("viewHiddenShares",view_hidden_shares).toBool()); + checkIcon->setChecked(settings.value("systemTray",iconize).toBool()); + checkNotification->setChecked(settings.value("notificationMessages",show_messages).toBool()); + checkLogActivity->setChecked(settings.value("logActivity",log_activity).toBool()); + limitLogBox->setValue (settings.value("limitLog",limitLog).toInt()); + checkNewRelease->setChecked(settings.value("checkNewRelease",check_new_release).toBool()); + // first time + on_checkIcon_toggled(checkIcon->isChecked()); + on_checkLogActivity_toggled(checkLogActivity->isChecked()); + settings.endGroup(); +} + + +configure_windowsl::~configure_windowsl() +{ + debugQt("configure_windowsl::~configure_windowsl()"); +} + +void configure_windowsl::on_checkIcon_toggled(bool checked ) +{ + debugQt("configure_windowsl::on_checkIcon_toggled()"); + checkNotification->setEnabled(checked); +} + +void configure_windowsl::on_checkLogActivity_toggled(bool checked) +{ + debugQt("configure_windowsl::on_checkLogActivity_toggled()"); + limitLogBox->setEnabled(checked); +} + +/** + Save configuration +*/ +void configure_windowsl::on_okButton_clicked() +{ + debugQt("configure_windowsl::on_okButton_clicked() - Save Config file"); + interval = spinInterval->value (); + view_hidden_shares = checkViewHiddenShares->isChecked (); + iconize=checkIcon->isChecked(); + show_messages=checkNotification->isChecked(); + log_activity=checkLogActivity->isChecked(); + limitLog=limitLogBox->value (); + check_new_release=checkNewRelease->isChecked(); + // save configuration + writeConfigFile(); + emit (configuration_changed()); +} + diff -Nru qtsmbstatus-2.0.4/light/configure_windowsl.h qtsmbstatus-2.1.1/light/configure_windowsl.h --- qtsmbstatus-2.0.4/light/configure_windowsl.h 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/light/configure_windowsl.h 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,51 @@ +/*************************************************************************** + * Copyright (C) 2004 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +#ifndef CONFIGURE_WINDOWSL_H +#define CONFIGURE_WINDOWSL_H + +#include "build/ui/ui_configure.h" + +extern void debugQt(const QString & message); +extern void writeConfigFile(); + +extern int interval; // Interval, in seconds, between every request to smbstatus +extern bool view_hidden_shares; // View hidden shares (share$) +extern bool iconize; // Iconize QtSmbstatus on system tray +extern bool show_messages; // show status notification messages +extern bool log_activity; // log SMB/CIFS activities +extern int limitLog; // limit log (number of days) +extern bool check_new_release; // check for new release of qtsmbstatus + +class configure_windowsl : public QDialog, public Ui::configure +{ +Q_OBJECT +public: + configure_windowsl(QWidget *parent = 0); + virtual ~configure_windowsl(); +signals: + void configuration_changed(); +private slots: // Private slots + virtual void on_okButton_clicked(); + virtual void on_checkIcon_toggled(bool); + virtual void on_checkLogActivity_toggled(bool checked); +}; + +#endif diff -Nru qtsmbstatus-2.0.4/light/light.pro qtsmbstatus-2.1.1/light/light.pro --- qtsmbstatus-2.0.4/light/light.pro 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/light/light.pro 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,108 @@ + +TEMPLATE = app + +CONFIG += release \ + warn_on + +TARGET = qtsmbstatusl + +MOC_DIR = ./build/moc +OBJECTS_DIR = ./build +DESTDIR = ./bin +UI_DIR = ./build/ui +RCC_DIR = ./build/rcc + +SOURCES += main.cpp \ + ../client/mainwindows.cpp \ + lmain_windows.cpp \ + ../client/server.cpp \ + ../client/machine.cpp \ + ../client/service.cpp \ + ../client/user.cpp \ + ../client/smbstatus.cpp \ + configure_windowsl.cpp \ + ../client/linecore.cpp \ + ../common/common.cpp \ + ../client/log.cpp \ + ../client/mysortfilterproxymodel.cpp \ + ../client/instances_dlg.cpp \ + ../server/smbmanager.cpp \ + ../server/process_smbd_exist.cpp \ + ../server/sendmessage_manager.cpp \ + ../server/disconnect_manager.cpp + +HEADERS += ../client/mainwindows.h \ + lmain_windows.h \ + ../client/server.h \ + ../client/machine.h \ + ../client/service.h \ + ../client/user.h \ + ../client/smbstatus.h \ + ../client/linecore.h \ + ../common/core_syntax.h \ + configure_windowsl.h \ + ../client/log.h \ + ../client/mysortfilterproxymodel.h \ + ../client/instances_dlg.h \ + ../server/smbmanager.h \ + ../server/process_smbd_exist.h \ + ../server/sendmessage_manager.h \ + ../server/disconnect_manager.h + +RESOURCES = ../client/client.qrc + +RC_FILE = ../client/qtsmbstatus.rc + +FORMS += ../client/form_smbstatus.ui \ + ../client/configure.ui \ + ../client/log.ui + +# install +unix { + # Translation + TRANSDIR = /usr/local/share/qtsmbstatus + TRANSFILES = ../client/tr/*.qm + trans.path = $$TRANSDIR + trans.files = $$TRANSFILES + + # Documentation + DOCDIR = /usr/local/share/doc/qtsmbstatusl + DOCFILES = ../README \ + ../README-FR \ + ../INSTALL \ + ../COPYING + doc.path = $$DOCDIR + doc.files = $$DOCFILES + + #icons + ICONSDIR = /usr/share/pixmaps + ICONSFILES = qtsmbstatusl.xpm + icons.path = $$ICONSDIR + icons.files = $$ICONSFILES + + #menu + MENUDIR = /usr/share/applications + MENUFILES = qtsmbstatusl.desktop + menu.path = $$MENUDIR + menu.files = $$MENUFILES + + #manpage + MANDIR = /usr/local/share/man/man7 + MANFILES = qtsmbstatusl.7.gz + manpage.path = $$MANDIR + manpage.files = $$MANFILES + + + target.path = /usr/local/bin + + INSTALLS += trans \ + target \ + doc \ + icons \ + menu \ + manpage +} + + +QT += network + diff -Nru qtsmbstatus-2.0.4/light/lmain_windows.cpp qtsmbstatus-2.1.1/light/lmain_windows.cpp --- qtsmbstatus-2.0.4/light/lmain_windows.cpp 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/light/lmain_windows.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,153 @@ +/*************************************************************************** + * Copyright (C) 2004 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + + +#include + +#include "lmain_windows.h" + +extern QList QTreeWidgetItemList; + +/** + \class main_windowsl + \brief Main Window for QtSmbstatus Light + \date 2008-11-16 + \version 2.1 + \author Daniel Rocher +*/ +main_windowsl::main_windowsl(QWidget *parent) : MainWindows(parent) +{ + debugQt("main_windowsl::main_windowsl()"); + this->setWindowTitle ( "QtSmbstatus light "+version_qtsmbstatus); // forms title + qApp->setWindowIcon ( QIcon (":/icons/qtsmbstatusl.png") ); + trayicon->setToolTip ( windowTitle ()); + trayicon->setIcon (qApp->windowIcon()); + helpAboutAction->setIcon(qApp->windowIcon()); + + currentIndexOfListItem=0; + QString SearchTxt=""; + + //delete unused widgets + action_Connect->deleteLater(); + textLabel1->deleteLater(); + comboBox_hostaddr->deleteLater(); + pushButton_connect->deleteLater(); + #if QT_VERSION >= 0x040400 + horizontalLayout->deleteLater(); + #endif + + permitDisconnectUser=true; + permitSendMsg=true; + + searchNextAction->setEnabled ( false ); + firstTime=true; + timerinfoSmb.start(10000); + + // start smbstatus request + slot_timer(); // first time + timerSmbRequest.start (interval*1000); + + // create icon server on treeWidget + item_server = new server( treeWidget ); + +} + +main_windowsl::~main_windowsl() +{ + debugQt("main_windowsl::~main_windowsl()"); +} + + +/** + On close event. +*/ +void main_windowsl::closeEvent(QCloseEvent *e) +{ + debugQt("main_windowsl::closeEvent(QCloseEvent *e)"); + if (trayicon->isVisible()) + { + this->hide (); + logform->hide(); + e->ignore(); + } + else + { + treeWidget->clear(); + timerinfoSmb.stop(); + timerSmbRequest.stop(); + saveWindowSize(); + logform->close(); + logform->deleteLater(); + QTimer::singleShot(800, qApp, SLOT(quit())); // wait before quit + e->accept(); + } +} + + +/** + Slot %smbstatus timer + Request %smbstatus to %server +*/ +void main_windowsl::slot_timer() +{ + debugQt("main_windowsl::slot_timer()"); + if (! smbstatus_rq_started) { + smbstatus_rq_started=true; + smbmanager* processus_smbstatus = new smbmanager(this); + connect(processus_smbstatus,SIGNAL(ObjError(const QString &)),msgError, SLOT(showMessage (const QString &)) ); + connect( processus_smbstatus, SIGNAL(signal_std_output(const QStringList &)),this, SLOT(AnalysisSmbstatus(const QStringList &)) ); + } +} + + +/** + send message to an %user + \sa MainWindows::slotSendMessage MainWindows::slotSendMessageAllUsers +*/ +void main_windowsl::sendMessage(const QString & machine,const QString & message) { + debugQt("main_windowsl::sendMessage()"); + Sendmessage_manager* send_msg = new Sendmessage_manager(machine,message,this); + connect(send_msg,SIGNAL(ObjError(const QString &)),msgError, SLOT(showMessage (const QString &)) ); +} + +/** + disconnect an %user + \sa MainWindows::slotDisconnectUser +*/ +void main_windowsl::disconnectUser(const QString & pid,const QString & user) { + debugQt("main_windowsl::disconnectUser()"); + process_smbd_exist* killSmbProc = new process_smbd_exist(pid,user,this); + connect(killSmbProc,SIGNAL(ObjError(const QString &)),msgError, SLOT(showMessage (const QString &)) ); +} + +/** + Configure qtsmbstatus light (open form) + \sa configure_windowsl + */ +void main_windowsl::on_configureAction_triggered() +{ + debugQt("main_windowsl::on_configureAction_triggered()"); + configure_windowsl * configurate = new configure_windowsl(this); + connect (configurate,SIGNAL(configuration_changed()),this, SLOT(configuration_changed())); + configurate->exec(); +} + + + diff -Nru qtsmbstatus-2.0.4/light/lmain_windows.h qtsmbstatus-2.1.1/light/lmain_windows.h --- qtsmbstatus-2.0.4/light/lmain_windows.h 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/light/lmain_windows.h 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,49 @@ +/*************************************************************************** + * Copyright (C) 2004 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + + +#ifndef MAIN_WINDOWSL_H +#define MAIN_WINDOWSL_H + + +#include "configure_windowsl.h" +#include "../client/mainwindows.h" +#include "../server/smbmanager.h" +#include "../server/sendmessage_manager.h" +#include "../server/process_smbd_exist.h" +#include "../server/disconnect_manager.h" + +class main_windowsl : public MainWindows { + Q_OBJECT +public: + main_windowsl(QWidget *parent=0); + virtual ~main_windowsl(); +private slots: // Private slots + virtual void slot_timer(); + virtual void sendMessage(const QString & machine,const QString & message); + virtual void disconnectUser(const QString & pid,const QString & user); + virtual void on_configureAction_triggered(); +protected: + virtual void closeEvent(QCloseEvent *e); +}; + +#endif + + diff -Nru qtsmbstatus-2.0.4/light/main.cpp qtsmbstatus-2.1.1/light/main.cpp --- qtsmbstatus-2.0.4/light/main.cpp 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/light/main.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,227 @@ +/*************************************************************************** + * Copyright (C) 2004 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +#include +#include + +#include "../client/smbstatus.h" +#include "../client/instances_dlg.h" +#include "../server/process_smbd_exist.h" +#include "../server/sendmessage_manager.h" +#include "../server/smbmanager.h" +#include "lmain_windows.h" + + +extern void unsupported_options(char *error, const QString & usage); +extern void debugQt(const QString & message); +extern void writeToConsole(const QString & message); + +extern uint int_qtsmbstatus_version; + + +/** + Save configuration file (create if not exist) + \sa readConfigFile +*/ +void writeConfigFile() +{ + debugQt("WriteConfigFile()"); + // new format + // qtsmbstatus >= 2.0.1 + QSettings settings; + settings.beginGroup("/Configuration"); + settings.setValue("qtsmbstatusVersion",int_qtsmbstatus_version); + settings.setValue("interval",interval); + settings.setValue("viewHiddenShares",view_hidden_shares); + settings.setValue("systemTray",iconize); + settings.setValue("notificationMessages",show_messages); + settings.setValue("logActivity",log_activity); + settings.setValue("limitLog",limitLog); + settings.setValue("checkNewRelease",check_new_release); + settings.endGroup(); +} + + +/** + Read configuration file. + \sa writeConfigFile +*/ +void readConfigFile() +{ + debugQt("readConfigFile()"); + + QSettings settings; + settings.beginGroup("/Configuration"); + if (!settings.contains ("uuid")) + settings.setValue("uuid",QUuid::createUuid().toString ()); + int interval_conf=settings.value("interval",interval).toInt(); + if (interval_conf>2) interval=interval_conf; + view_hidden_shares=settings.value("viewHiddenShares",view_hidden_shares).toBool(); + iconize=settings.value("systemTray",iconize).toBool(); + show_messages=settings.value("notificationMessages",show_messages).toBool(); + log_activity=settings.value("logActivity",log_activity).toBool(); + limitLog=settings.value("limitLog",limitLog).toInt(); + check_new_release=settings.value("checkNewRelease",check_new_release).toBool(); + settings.endGroup(); +} + +int main(int argc, char *argv[]) +{ + bool ok; + QString usage="\n Usage: qtsmbstatusl -i -m -v --help\n\n" + " -h|--help : Show this help\n" + " -i : Interval between smbstatus requests in seconds, (interval > 2) - default value = " + QString::number(interval) + "\n" + " -v : Show qtsmbstatusl version\n" + " -m : Show debug messages\n\n" + "example: qtsmbstatusl -i 50\n\n"; + + #ifdef Q_WS_WIN + // for windows only - get install directory (register when qtsmbstatus has been installed) + QSettings settings(QSettings::SystemScope,"qtsmbstatus", "settings"); + if (settings.contains ( "path") ) + { + QString qtsmbstatus_path = settings.value("path").toString (); + QDir::setCurrent ( qtsmbstatus_path ); + } + #endif + + MyApplication app( argc, argv ); + app.setApplicationName("qtsmbstatusl"); + #if QT_VERSION >= 0x040400 + app.setApplicationVersion(version_qtsmbstatus); + #endif + app.setOrganizationName("adella.org"); + app.setOrganizationDomain("qtsmbstatus.free.fr"); + + // read configuration file + readConfigFile(); + + + int optch; + extern int opterr; + opterr = 1; // show getopt errors + + if( app.arguments().contains("--help")) { + writeToConsole(usage); + return 0; + } + + while ((optch = getopt(argc, argv, "hi:vm")) != -1) { + switch (optch) { + case 'h': + writeToConsole(usage); + return 0; + break; + case 'v': + writeToConsole("QtSmbstatus Light version : " + version_qtsmbstatus); // view qtsmbstatus version + return 0; + break; + case 'i': + interval=(QString(optarg)).toInt(&ok); + if (ok==false) // bad conversion, quit + { + writeToConsole("\nbad syntax for -i\n" + usage); + return 1; + } + if (interval<3) + { + writeToConsole("\nInterval it must be higher than two seconds (option: -i)\n"); + return 1; + } + break; + case 'm': + debug_qtsmbstatus=true; // view message debug + break; + default: // '?' + writeToConsole(usage); + return 1; + } + } + + if (optind < argc) { + printf("\nUnknown option: %s\n\n",argv[optind]); + return 1; + } + + // < translate > + QTranslator qtTranslator; + qtTranslator.load("qt_" + QLocale::system().name()); + app.installTranslator(&qtTranslator); + + + QString translate_file; + QTranslator myappTranslator; + // only windows + #ifdef Q_WS_WIN + translate_file= QDir::currentPath () + QString( "/tr/qtsmbstatus_"); + myappTranslator.load(translate_file+ QLocale::system().name()); + #else + translate_file=QString("/usr/share/qtsmbstatus/qtsmbstatus_"); + myappTranslator.load(translate_file+ QLocale::system().name()); + if (myappTranslator.isEmpty()) + { + translate_file=QString("/usr/local/share/qtsmbstatus/qtsmbstatus_"); + myappTranslator.load(translate_file+ QLocale::system().name()); + } + #endif + + app.installTranslator( &myappTranslator ); + // < /translate > + + app.setQuitOnLastWindowClosed ( false ); + main_windowsl fenetre_principale; + if (debug_qtsmbstatus) + { + instances_dlg * tempdlg = new instances_dlg(&fenetre_principale); + tempdlg->appendObject(&LineCore::compteur_objet,"LineCore"); + tempdlg->appendObject(&server::compteur_objet,"server"); + tempdlg->appendObject(&machine::compteur_objet,"machine"); + tempdlg->appendObject(&user::compteur_objet,"user"); + tempdlg->appendObject(&service::compteur_objet,"service"); + tempdlg->appendObject(&smbstatus::compteur_objet,"disconnect_manager"); + tempdlg->appendObject(&disconnect_manager::compteur_objet,"disconnect_manager"); + tempdlg->appendObject(&process_smbd_exist::compteur_objet,"process_smbd_exist"); + tempdlg->appendObject(&Sendmessage_manager::compteur_objet,"Sendmessage_manager"); + tempdlg->appendObject(&smbmanager::compteur_objet,"smbmanager"); + tempdlg->show(); + } + app.connect (&app, SIGNAL(quitMyApp()),&fenetre_principale,SLOT(beforeQuit())); + fenetre_principale.show(); + int value_return=app.exec(); + + // for debug only + debugQt("\n\n ___________ OBJECTS _________________"); + debugQt("LineCore : "+QString::number(LineCore::compteur_objet)); + debugQt("server : "+QString::number(server::compteur_objet)); + debugQt("machine : "+ QString::number(machine::compteur_objet)); + debugQt("user : "+ QString::number(user::compteur_objet)); + debugQt("service : "+ QString::number(service::compteur_objet)); + debugQt("smbstatus : "+ QString::number(smbstatus::compteur_objet)); + debugQt("disconnect_manager : "+QString::number(disconnect_manager::compteur_objet)); + debugQt("process_smbd_exist : "+QString::number(process_smbd_exist::compteur_objet)); + debugQt("Sendmessage_manager : "+ QString::number(Sendmessage_manager::compteur_objet)); + debugQt("smbmanager : "+ QString::number(smbmanager::compteur_objet)); + if ((LineCore::compteur_objet+server::compteur_objet+disconnect_manager::compteur_objet + +process_smbd_exist::compteur_objet+Sendmessage_manager::compteur_objet+smbmanager::compteur_objet + +machine::compteur_objet+user::compteur_objet+service::compteur_objet+smbstatus::compteur_objet)==0) + debugQt("\nDeleted objects : OK\n"); else debugQt("\nDeleted objects : Error !\n"); + return value_return; +} + Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/light/qtsmbstatusl.7.gz et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/light/qtsmbstatusl.7.gz sont différents. diff -Nru qtsmbstatus-2.0.4/light/qtsmbstatusl.desktop qtsmbstatus-2.1.1/light/qtsmbstatusl.desktop --- qtsmbstatus-2.0.4/light/qtsmbstatusl.desktop 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/light/qtsmbstatusl.desktop 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,13 @@ +[Desktop Entry] +Name=QtSmbstatus Light +Comment=QtSmbstatus is a GUI (graphical user interface) for smbstatus +Comment[fr]=QtSmbstatus - une interface graphique à smbstatus +Comment[es]=QtSmbstatus - una interface grafica de smbstatus +Comment[ru]=QtSmbstatus - графический интейфейс для smbstatus +Comment[uk]=QtSmbstatus - графічний інтерфейс для smbstatus +Exec=qtsmbstatusl +Terminal=false +Type=Application +Icon=qtsmbstatusl +Categories=Qt;Network;Utility; +StartupNotify=false diff -Nru qtsmbstatus-2.0.4/light/qtsmbstatusl.xpm qtsmbstatus-2.1.1/light/qtsmbstatusl.xpm --- qtsmbstatus-2.0.4/light/qtsmbstatusl.xpm 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/light/qtsmbstatusl.xpm 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,612 @@ +/* XPM */ +static char * qtsmbstatusl_xpm[] = { +"32 32 577 2", +" c None", +". c #525252", +"+ c #4E4E4E", +"@ c #494949", +"# c #454545", +"$ c #404040", +"% c #3C3C3C", +"& c #363636", +"* c #323232", +"= c #2E2E2E", +"- c #292929", +"; c #242424", +"> c #202020", +", c #1B1B1B", +"' c #191919", +") c #626262", +"! c #878686", +"~ c #817D7D", +"{ c #7D7272", +"] c #766060", +"^ c #6F4E4E", +"/ c #5D5D5D", +"( c #6F6F70", +"_ c #67696B", +": c #595D63", +"< c #4A515B", +"[ c #2E363F", +"} c #1D1D1D", +"| c #4D4D4D", +"1 c #868686", +"2 c #FBEEEE", +"3 c #F4D0D0", +"4 c #EDB4B4", +"5 c #E38C8C", +"6 c #D86767", +"7 c #2D2D2D", +"8 c #B7B8B8", +"9 c #E2E9F2", +"0 c #CCD8E8", +"a c #ABBEDA", +"b c #8BA7CD", +"c c #526988", +"d c #2A2A2A", +"e c #4A4A4A", +"f c #121214", +"g c #2B2B2D", +"h c #2F2F2F", +"i c #474747", +"j c #F4D2D2", +"k c #EBAFAF", +"l c #E69797", +"m c #DE7575", +"n c #CF5555", +"o c #272727", +"p c #ADAFB2", +"q c #C1CEE3", +"r c #AEC0DC", +"s c #8FA9CF", +"t c #7898C4", +"u c #506586", +"v c #39393A", +"w c #141416", +"x c #3C3C3D", +"y c #1F1F21", +"z c #1B1B1C", +"A c #181817", +"B c #535353", +"C c #9B9A9A", +"D c #9B9391", +"E c #C6A1A0", +"F c #E08D8D", +"G c #DA6565", +"H c #C74646", +"I c #222222", +"J c #A0A4AB", +"K c #A7BAD8", +"L c #98B0D2", +"M c #809CC8", +"N c #6C8DC0", +"O c #566C8D", +"P c #1D1D1E", +"Q c #28282A", +"R c #202022", +"S c #020204", +"T c #0C0C0C", +"U c #0A0A0B", +"V c #171717", +"W c #A8A4A3", +"X c #7E7978", +"Y c #635D5B", +"Z c #585351", +"` c #7E7B78", +" . c #C37675", +".. c #BE3131", +"+. c #1C1C1C", +"@. c #8892A0", +"#. c #84A1CA", +"$. c #7998C5", +"%. c #6689BD", +"&. c #5880B7", +"*. c #445B7C", +"=. c #131315", +"-. c #060507", +";. c #060608", +">. c #1A1A1B", +",. c #101011", +"'. c #030305", +"). c #C8BFBD", +"!. c #9B8F8D", +"~. c #8E807D", +"{. c #736063", +"]. c #6C5C5F", +"^. c #685D5F", +"/. c #746E6E", +"(. c #A78C8A", +"_. c #313030", +":. c #6F7F94", +"<. c #688CBD", +"[. c #5F83BA", +"}. c #4E77B3", +"|. c #4570AF", +"1. c #395074", +"2. c #8D8C8C", +"3. c #1A191A", +"4. c #908F8F", +"5. c #3C3C3B", +"6. c #080809", +"7. c #212122", +"8. c #A19A97", +"9. c #796E6C", +"0. c #817572", +"a. c #8C7D7F", +"b. c #7D6F71", +"c. c #776D6E", +"d. c #827A7B", +"e. c #837E7E", +"f. c #9E9A9A", +"g. c #858E9D", +"h. c #4670AD", +"i. c #3C67A6", +"j. c #2E5C9F", +"k. c #28569B", +"l. c #324C70", +"m. c #949494", +"n. c #71716F", +"o. c #605C53", +"p. c #858179", +"q. c #656463", +"r. c #A4A4A4", +"s. c #1F1F1F", +"t. c #000000", +"u. c #928D89", +"v. c #655C59", +"w. c #685E5A", +"x. c #827577", +"y. c #918587", +"z. c #897F80", +"A. c #92898A", +"B. c #9A9292", +"C. c #948E8D", +"D. c #8F8A88", +"E. c #979595", +"F. c #444E5C", +"G. c #0B1A30", +"H. c #101E34", +"I. c #2F3844", +"J. c #807E7D", +"K. c #7F6932", +"L. c #B9982B", +"M. c #B29833", +"N. c #6B5D27", +"O. c #888478", +"P. c #77726D", +"Q. c #675F5A", +"R. c #6D6464", +"S. c #857B7C", +"T. c #A09697", +"U. c #9F9596", +"V. c #A69B9C", +"W. c #AAA1A0", +"X. c #9B9491", +"Y. c #9C9794", +"Z. c #AFACA9", +"`. c #A2A49E", +" + c #4E5A48", +".+ c #475241", +"++ c #6F5628", +"@+ c #DDA914", +"#+ c #ECC315", +"$+ c #F3D426", +"%+ c #EBC918", +"&+ c #A48118", +"*+ c #1D1708", +"=+ c #030304", +"-+ c #837F7C", +";+ c #706A65", +">+ c #6E6565", +",+ c #7B7273", +"'+ c #ABA0A1", +")+ c #A99D9F", +"!+ c #A99E9D", +"~+ c #A29A97", +"{+ c #A6A09C", +"]+ c #AEAAA6", +"^+ c #BAB7B3", +"/+ c #C1BFBC", +"(+ c #B7BFB3", +"_+ c #7F6E4D", +":+ c #D4A310", +"<+ c #E6C015", +"[+ c #D9B219", +"}+ c #C49411", +"|+ c #96742D", +"1+ c #221E16", +"2+ c #252525", +"3+ c #343333", +"4+ c #A2A2A1", +"5+ c #777271", +"6+ c #7A7474", +"7+ c #847A7B", +"8+ c #8D8384", +"9+ c #A79B9D", +"0+ c #A79C9D", +"a+ c #AAA0A1", +"b+ c #ABA2A2", +"c+ c #AFA5A6", +"d+ c #B8AEAF", +"e+ c #BDB4B4", +"f+ c #BEB7B5", +"g+ c #C2BCBA", +"h+ c #C4BAA7", +"i+ c #BA9138", +"j+ c #C19E53", +"k+ c #C3AF82", +"l+ c #CAC9C8", +"m+ c #444446", +"n+ c #666662", +"o+ c #B7B4AB", +"p+ c #898584", +"q+ c #837C7C", +"r+ c #82797A", +"s+ c #8E8485", +"t+ c #ADA3A4", +"u+ c #A89E9F", +"v+ c #ACA2A3", +"w+ c #B0A6A7", +"x+ c #B7ACAD", +"y+ c #BDB1B1", +"z+ c #BDB3B2", +"A+ c #C0B8B6", +"B+ c #CEC6C4", +"C+ c #D5D1CD", +"D+ c #E2E1E0", +"E+ c #FAF9F9", +"F+ c #9F9FA0", +"G+ c #212123", +"H+ c #1C1C1E", +"I+ c #2F2F30", +"J+ c #111111", +"K+ c #525246", +"L+ c #C6C58C", +"M+ c #BBB9A3", +"N+ c #85807F", +"O+ c #766F6F", +"P+ c #887E7F", +"Q+ c #9B9192", +"R+ c #B4AAAB", +"S+ c #AEA4A5", +"T+ c #B2A6A7", +"U+ c #B7A9A9", +"V+ c #BDAFAF", +"W+ c #C1B3B4", +"X+ c #C3B6B6", +"Y+ c #C5B9B8", +"Z+ c #E6E1DE", +"`+ c #E2DEDC", +" @ c #EEEEEE", +".@ c #222223", +"+@ c #040406", +"@@ c #3A3A3B", +"#@ c #494836", +"$@ c #B5B36A", +"%@ c #A9A64F", +"&@ c #B2AF78", +"*@ c #8C8786", +"=@ c #7C7575", +"-@ c #867C7D", +";@ c #918788", +">@ c #988E8F", +",@ c #B9AFB0", +"'@ c #B6ACAD", +")@ c #B0A6A6", +"!@ c #B0A4A4", +"~@ c #B8ABAB", +"{@ c #C5B5B6", +"]@ c #C8B7B8", +"^@ c #CAC0BD", +"/@ c #DED8D5", +"(@ c #E2E0DF", +"_@ c #7C7C7B", +":@ c #040404", +"<@ c #171719", +"[@ c #060606", +"}@ c #3B3B1D", +"|@ c #9E9C39", +"1@ c #929127", +"2@ c #8B891C", +"3@ c #969247", +"4@ c #9B9595", +"5@ c #8D8485", +"6@ c #908687", +"7@ c #B1A7A8", +"8@ c #C0B8B8", +"9@ c #B2ACAA", +"0@ c #AFA7A5", +"a@ c #B8ADAC", +"b@ c #C2B4B4", +"c@ c #C7B7B8", +"d@ c #CDBFBC", +"e@ c #D4CAC5", +"f@ c #D8D3CF", +"g@ c #DCDCD8", +"h@ c #424242", +"i@ c #181819", +"j@ c #060607", +"k@ c #1D1C1E", +"l@ c #010101", +"m@ c #121106", +"n@ c #31300C", +"o@ c #2C2B07", +"p@ c #292804", +"q@ c #232200", +"r@ c #555342", +"s@ c #A6A3A0", +"t@ c #8E8986", +"u@ c #948E8B", +"v@ c #978F8D", +"w@ c #988F8D", +"x@ c #9C9391", +"y@ c #B7B0AE", +"z@ c #C5BDBB", +"A@ c #B4ACAA", +"B@ c #B9B1AF", +"C@ c #C2BAB8", +"D@ c #CDC3BE", +"E@ c #D9CFCA", +"F@ c #DDD6D1", +"G@ c #D2CFC9", +"H@ c #D7D6D1", +"I@ c #343433", +"J@ c #1C1B1C", +"K@ c #161617", +"L@ c #323231", +"M@ c #9B9995", +"N@ c #979490", +"O@ c #98928F", +"P@ c #968E8B", +"Q@ c #948B89", +"R@ c #998E8E", +"S@ c #A59B9A", +"T@ c #C6BDBC", +"U@ c #CBC1C0", +"V@ c #C0B7B5", +"W@ c #CBC2BE", +"X@ c #DFD6D1", +"Y@ c #E0DAD4", +"Z@ c #E8E3DD", +"`@ c #DEDBD5", +" # c #4E4E4D", +".# c #2B2A2B", +"+# c #AAAAAA", +"@# c #C4C2BE", +"## c #A5A19E", +"$# c #999491", +"%# c #9C9492", +"&# c #9D9292", +"*# c #9C9090", +"=# c #9E9292", +"-# c #B6A9A9", +";# c #D4C7C6", +"># c #D0C6C2", +",# c #E4DBD6", +"'# c #F7F1EB", +")# c #EDE8E2", +"!# c #D9D6CF", +"~# c #666665", +"{# c #4A4949", +"]# c #323131", +"^# c #858585", +"/# c #313132", +"(# c #7A7978", +"_# c #B7B3B3", +":# c #A8A3A2", +"<# c #A49F9C", +"[# c #9E9795", +"}# c #9E9493", +"|# c #9F9292", +"1# c #A89A9A", +"2# c #C5BBB7", +"3# c #DED5D0", +"4# c #F1EBE5", +"5# c #EAE5DF", +"6# c #CDCAC3", +"7# c #91908E", +"8# c #5B5B5C", +"9# c #242425", +"0# c #3B3B3B", +"a# c #424140", +"b# c #181715", +"c# c #DDDCDC", +"d# c #CACCC8", +"e# c #B3B3AF", +"f# c #A6A29F", +"g# c #A29997", +"h# c #A59998", +"i# c #AFA6A2", +"j# c #C2B9B4", +"k# c #E2DCD6", +"l# c #DED9D3", +"m# c #B9B6AF", +"n# c #BFBEBC", +"o# c #79797A", +"p# c #373738", +"q# c #B4820D", +"r# c #CB9C0E", +"s# c #766943", +"t# c #C0C0C0", +"u# c #FBFBFB", +"v# c #F7F8F7", +"w# c #DAD9D7", +"x# c #CBC7C6", +"y# c #C1BAB9", +"z# c #A49D99", +"A# c #B2ABA6", +"B# c #C5BFBA", +"C# c #D1CCC7", +"D# c #B3AFA9", +"E# c #C4C1BC", +"F# c #959491", +"G# c #343230", +"H# c #54472D", +"I# c #606060", +"J# c #8C600D", +"K# c #A3710C", +"L# c #DBA50D", +"M# c #F4BD0E", +"N# c #B78F13", +"O# c #59523F", +"P# c #CECECE", +"Q# c #F5F5F5", +"R# c #FAFAFA", +"S# c #F9F8F8", +"T# c #E8E5E2", +"U# c #DFDBD9", +"V# c #DCD9D6", +"W# c #E6D8B3", +"X# c #CEBE93", +"Y# c #C9C4BB", +"Z# c #B8B5AC", +"`# c #AFA99C", +" $ c #BE9B34", +".$ c #DAA40F", +"+$ c #F0BA16", +"@$ c #F5C121", +"#$ c #F5C01B", +"$$ c #F1BB10", +"%$ c #8D6F10", +"&$ c #232322", +"*$ c #9D9D9D", +"=$ c #FCFCFC", +"-$ c #F1F1F1", +";$ c #CCB372", +">$ c #DEA60E", +",$ c #AD8A3F", +"'$ c #906E20", +")$ c #C3BAA1", +"!$ c #BEB8AB", +"~$ c #B89A60", +"{$ c #EDB719", +"]$ c #F6C93E", +"^$ c #F6CD4A", +"/$ c #F5C11F", +"($ c #F5BD0E", +"_$ c #DFB112", +":$ c #312508", +"<$ c #393939", +"[$ c #F6F6F6", +"}$ c #FDFDFD", +"|$ c #DEDEDE", +"1$ c #B3995C", +"2$ c #E3AE17", +"3$ c #E2A90F", +"4$ c #E1A90D", +"5$ c #EFB810", +"6$ c #D4BF83", +"7$ c #AFA9A4", +"8$ c #C6BFBA", +"9$ c #EAB51C", +"0$ c #F6CC48", +"a$ c #F7CE4D", +"b$ c #C09C24", +"c$ c #B5AF9E", +"d$ c #EBEBEB", +"e$ c #F2F2F2", +"f$ c #F3F3F3", +"g$ c #E8E8E8", +"h$ c #C4C4C4", +"i$ c #787879", +"j$ c #6E5112", +"k$ c #E4B121", +"l$ c #F6CB45", +"m$ c #E0BD58", +"n$ c #BBB5AA", +"o$ c #B5B6B3", +"p$ c #585858", +"q$ c #C7C7C7", +"r$ c #906A1F", +"s$ c #E4B018", +"t$ c #EDBB24", +"u$ c #F3C22C", +"v$ c #F5BF16", +"w$ c #E3B114", +"x$ c #B1985E", +"y$ c #BEBEBE", +"z$ c #CBCBCB", +"A$ c #BFBFBF", +"B$ c #9A9A9A", +"C$ c #454546", +"D$ c #0F0F11", +"E$ c #715008", +"F$ c #E5AF17", +"G$ c #F7CE52", +"H$ c #F3C22D", +"I$ c #F1B90E", +"J$ c #E7B00E", +"K$ c #BB8A0E", +"L$ c #A07823", +"M$ c #C9C9C7", +"N$ c #CDCDCB", +"O$ c #2C2C2C", +"P$ c #646464", +"Q$ c #654918", +"R$ c #AB7C19", +"S$ c #C38F0C", +"T$ c #CE980D", +"U$ c #DFA80D", +"V$ c #EDB50D", +"W$ c #F2BA0E", +"X$ c #DDA50D", +"Y$ c #815A0C", +"Z$ c #0C0B0B", +"`$ c #141415", +" % c #0B0B0B", +".% c #050506", +"+% c #77530A", +"@% c #DBA30B", +"#% c #EBB616", +"$% c #E4AF18", +"%% c #C9940D", +"&% c #AC790C", +"*% c #967029", +"=% c #A0720F", +"-% c #BB860B", +";% c #CB930B", +">% c #AB780C", +",% c #624410", +"'% c #343334", +")% c #715014", +"!% c #B8820A", +"~% c #CF970B", +"{% c #AE7D0D", +"]% c #86704B", +"^% c #775010", +"/% c #614413", +"(% c #776D5D", +"_% c #755216", +":% c #7F5711", +" ", +" . + @ # $ % & * = - ; > , ' ", +" . ) ! ~ { ] ^ * / ( _ : < [ } ", +" | 1 2 3 4 5 6 7 8 9 0 a b c d e f g h ", +" i ~ j k l m n o p q r s t u v w x y z A = ", +" B C D E F G H I J K L M N O P Q R S T U V ", +" W X Y Z ` ...+.@.#.$.%.&.*.=.+.-.;.>.,.'. ", +").!.~.{.].^./.(._.:.<.[.}.|.1.v 2.3.d 4.5.6.7. ", +"8.9.0.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t. ", +"u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.T t. ", +" P.Q.R.S.T.U.V.W.X.Y.Z.`. +.+++@+#+$+%+&+*+=+ ", +" -+;+>+,+z.'+)+!+~+{+]+^+/+(+_+:+<+[+}+|+1+2+3+ ", +" +.4+5+6+7+8+9+0+a+b+c+d+e+f+g+h+i+j+k+l+m+$ P ", +" V n+o+p+q+r+s+a+t+u+v+w+x+y+z+A+B+C+D+E+F+G+H+I+ ", +" J+K+L+M+N+O+r+P+Q+R+S+v+T+U+V+W+X+Y+Z+`+ @.@+@,.@@ ", +" T #@$@%@&@*@=@-@;@>@,@'@)@!@~@V+{@]@^@/@(@_@:@=+<@ ", +" [@}@|@1@2@3@4@5@6@Q+>@7@8@9@0@a@b@c@d@e@f@g@h@i@j@k@ ", +" l@m@n@o@p@q@r@s@t@u@v@w@x@y@z@A@B@C@D@E@F@G@H@I@J@K@ ", +" t.t.t.t.t.t.L@M@N@O@P@Q@R@S@T@U@V@W@X@Y@Z@`@ #3++@.# ", +" +# @###$#%#&#*#=#-#;#>#,#'#)#!#~#{#S ]# ", +" ^# /#(#_#:#<#[#}#|#1#2#3#4#5#6#7#8#w 9# ", +" 0# a#b#^#c#d#e#f#g#h#i#j#k#l#m#n#o#p#9# ", +" +# q#r#s#t#u#v#w#x#y#z#A#B#C#D#E#F#G#H# ", +" I# J#K#L#M#N#O#P#u#Q#R#S#T#U#V#W#X#Y#Z#`# $ ", +" I# J#.$+$@$#$$$%$&$*$=$u#=$u#=$-$;$>$,$'$)$!$~$ ", +" +# K#{$]$^$/$($_$:$<$[$}$}$}$Q#|$1$2$3$4$5$6$7$8$ ", +" 0# K#9$0$a$#$($M#b$c$d$e$f$g$h$i$j$k$l$/$($M#m$n$o$ ", +" ^#p$q$q$r$s$t$u$v$($($w$x$y$z$A$B$C$D$E$F$G$H$I$J$K$L$M$N$", +" +#O$P$P$Q$R$S$T$U$V$W$X$Y$Z$`$ %.%+@+@+%@%#%$%%%&% ", +" *%=%-%;%>%,%a#'% )%!%~%{% ", +" ]%^%/%(% _%:% ", +" "}; diff -Nru qtsmbstatus-2.0.4/packages/deb/changelog qtsmbstatus-2.1.1/packages/deb/changelog --- qtsmbstatus-2.0.4/packages/deb/changelog 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/packages/deb/changelog 2009-04-12 14:46:48.000000000 +0200 @@ -1,3 +1,26 @@ +qtsmbstatus (2.1-0ubuntu1) jaunty; urgency=low + + * New upstream release (LP: #300445) + * Create package for qtsmbstatus-light + * Create a separate package for Languages (required by qtsmbstatus-client + and qtsmbstatus-light) + * Remove depend on openssl + * debian/qtsmbstatus-server.qtsmbstatusd.init: set the LANG environment + variable value + + -- Daniel Rocher Sun, 15 Feb 2009 19:46:20 +0100 + +qtsmbstatus (2.0.4-0ubuntu1) intrepid; urgency=low + + [ Daniel Rocher ] + * New upstream version + + [ Harald Sitter ] + * Changed distribution in changelog to intrepid + * Bump Standards-Version to 3.8.0 + + -- Harald Sitter Mon, 28 Jul 2008 14:40:59 +0200 + qtsmbstatus (2.0.3-0ubuntu1) hardy; urgency=low * Initial release (LP: #119179) diff -Nru qtsmbstatus-2.0.4/packages/deb/control qtsmbstatus-2.1.1/packages/deb/control --- qtsmbstatus-2.0.4/packages/deb/control 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/packages/deb/control 2009-04-12 14:46:48.000000000 +0200 @@ -3,20 +3,35 @@ Priority: optional Maintainer: Ubuntu MOTU Developers XSBC-Original-Maintainer: Daniel Rocher -Build-Depends: debhelper (>= 5), libqt4-dev, libssl-dev, libpam0g-dev -Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 5), libqt4-dev, libpam0g-dev +Standards-Version: 3.8.0 Homepage: http://qtsmbstatus.free.fr/ +Package: qtsmbstatus-language +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: qtsmbstatus-client (<= 2.0.99) +Description: QtSmbstatus languages package + This package will install additional languages for qtsmbstatus-client + and qtsmbstatus-light. + +Package: qtsmbstatus-light +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, qtsmbstatus-language, libqt4-sql +Description: GUI (graphical user interface) for smbstatus + Qtsmbstatus Light works only locally and doesn't require + qtsmbstatus-server. + Package: qtsmbstatus-client Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-sql, openssl +Depends: ${shlibs:Depends}, ${misc:Depends}, qtsmbstatus-language, libqt4-sql Description: GUI (graphical user interface) for smbstatus (client) It is meant to provide the possibility of administering remote machines. QtSmbstatus was designed as a client/server system secured with SSL. Package: qtsmbstatus-server Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-sql, openssl, samba +Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4-sql, samba Description: GUI (graphical user interface) for smbstatus (server) It is meant to provide the possibility of administering remote machines. QtSmbstatus was designed as a client/server system secured with SSL. diff -Nru qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-client.dirs qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-client.dirs --- qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-client.dirs 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-client.dirs 2009-04-12 14:46:48.000000000 +0200 @@ -1,4 +1,3 @@ usr/bin -usr/share/qtsmbstatus usr/share/pixmaps usr/share/applications diff -Nru qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-client.install qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-client.install --- qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-client.install 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-client.install 2009-04-12 14:46:48.000000000 +0200 @@ -1,4 +1,3 @@ client/bin/qtsmbstatus usr/bin/ -client/tr/*.qm usr/share/qtsmbstatus/ client/qtsmbstatus.xpm usr/share/pixmaps/ client/qtsmbstatus.desktop usr/share/applications/ diff -Nru qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-language.dirs qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-language.dirs --- qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-language.dirs 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-language.dirs 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1 @@ +usr/share/qtsmbstatus diff -Nru qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-language.install qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-language.install --- qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-language.install 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-language.install 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1 @@ +client/tr/*.qm usr/share/qtsmbstatus/ diff -Nru qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-light.dirs qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-light.dirs --- qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-light.dirs 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-light.dirs 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,3 @@ +usr/bin +usr/share/pixmaps +usr/share/applications diff -Nru qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-light.install qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-light.install --- qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-light.install 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-light.install 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,3 @@ +light/bin/qtsmbstatusl usr/bin/ +light/qtsmbstatusl.xpm usr/share/pixmaps/ +light/qtsmbstatusl.desktop usr/share/applications/ diff -Nru qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-light.manpages qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-light.manpages --- qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-light.manpages 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-light.manpages 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1 @@ +light/qtsmbstatusl.7.gz diff -Nru qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-light.menu qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-light.menu --- qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-light.menu 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-light.menu 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,6 @@ +?package(qtsmbstatus-light): \ + needs="X11" \ + section="Applications/Network/Monitoring" \ + title="QtSmbstatus Light" \ + icon="/usr/share/pixmaps/qtsmbstatusl.xpm" \ + command="qtsmbstatusl" diff -Nru qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-server.qtsmbstatusd.init qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-server.qtsmbstatusd.init --- qtsmbstatus-2.0.4/packages/deb/qtsmbstatus-server.qtsmbstatusd.init 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/packages/deb/qtsmbstatus-server.qtsmbstatusd.init 2009-04-12 14:46:48.000000000 +0200 @@ -23,20 +23,30 @@ # see if qtsmbstatusd is running pid=`ps ax | awk '{print $1,$5}' | grep $NAME | awk '{print $1}' | awk '{print $1}'` +# get locale +default_locale=en_US.UTF-8 +if [ -f /etc/default/locale ]; then + # Debian systems + system_locale=`grep -re "LANG=" /etc/default/locale | awk 'BEGIN { FS = "[\"]" } { print $2 }'` +fi + +if [ -z $system_locale ]; then system_locale=$default_locale; fi + # Start or stop the qtsmbstatusd server case $1 in start | restart | reload | force-reload) - if test "$pid" != ""; then - kill $pid + export LANG=$system_locale + if test "$pid" != ""; then + kill $pid if /usr/bin/qtsmbstatusd -d; then - echo "qtsmbstatusd server restarted." + echo "qtsmbstatusd server restarted." fi - else - if /usr/bin/qtsmbstatusd -d; then - echo "qtsmbstatusd server started." + else + if /usr/bin/qtsmbstatusd -d; then + echo "qtsmbstatusd server started." fi - fi - ;; + fi + ;; stop) if test "$pid" != ""; then kill -3 $pid diff -Nru qtsmbstatus-2.0.4/packages/rpm/client.spec qtsmbstatus-2.1.1/packages/rpm/client.spec --- qtsmbstatus-2.0.4/packages/rpm/client.spec 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/packages/rpm/client.spec 1970-01-01 01:00:00.000000000 +0100 @@ -1,142 +0,0 @@ -# SPECS - create RPM -# by Daniel Rocher -# Thanks: -# Mike A. Harris -# Stephane URBANOVSKI - - -%define instaldir_bin /usr/bin -%define instaldir_int /usr/share/qtsmbstatus -%define instaldir_icons /usr/share/pixmaps/ -%define instaldir_man /usr/local/share/man/man7/ -%define instaldir_menu /usr/share/applications/ - -# file .pro -%define qmake_pro client/client.pro - -%define is_mandrake %(test -e /etc/mandrake-release && echo 1 || echo 0) -%define is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0) -%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) - -%if %is_mandrake -%define distribution Mandrake -%endif - -%if %is_suse -%define distribution Suse -%endif - -%if %is_fedora -%define distribution Fedora -%endif - -Summary: A GUI for smbstatus with Qt -Name: qtsmbstatus-client -Version: 2.0.2 -Release: 1 -License: GPL -Vendor: ADELLA -Packager: Daniel ROCHER -Group: Networking/Other -URL: http://qtsmbstatus.free.fr -Source0: %{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-buildroot -BuildArchitectures: i586 - -%if "%{distribution}" == "Mandriva" || "%{distribution}" == "Mandrake" -# Mandrake / Mandriva requirements -BuildRequires: gcc-c++, XFree86-devel -BuildRequires: libqt4-dev >= 4.2 -BuildRequires: libopenssl-devel -Requires: openssl -Requires: libqt4-core >= 4.2, libqt4-gui >= 4.2, libqt4-sql >= 4.2, libqt4-qt3support >= 4.2 -%else -%if "%{distribution}" == "Suse" -# Suse requirements -BuildRequires: gcc-c++, XFree86-devel -BuildRequires: libqt4-devel >= 4.2 -BuildRequires: openssl-devel -Requires: openssl -Requires: libqt4 >= 4.2, libqt4-x11 >= 4.2, libqt4-sql >= 4.2, libqt4-qt3support >= 4.2 -%else -%if "%{distribution}" == "Fedora" -# Fedora requirements -BuildRequires: gcc-c++,libX11-devel -BuildRequires: qt4 >= 4.2, qt4-devel >= 4.2 -BuildRequires: openssl-devel -Requires: openssl -Requires: qt4 >= 4.2, qt4-x11 >= 4.2 -%else -#Unknown Distribution ! -%endif -%endif -%endif - -%description -QtSmbstatus is a smbstatus graphical interface (GUI). It is meant to provide -the possibility of administering remote machines. QtSmbstatus was designed -as a client/server system secured with SSL. A login and password is required -to log on to server. - - -%prep -# delete temporary files -rm %{_builddir}/* -r -f -rm %{_tmppath}/* -r -f - -%setup -q - -%build -# create Makefile -qmake-qt4 %{qmake_pro} - -lrelease-qt4 %{qmake_pro} - -# build -make - -%install - -mkdir -p $RPM_BUILD_ROOT/%{instaldir_bin} -mkdir -p $RPM_BUILD_ROOT/%{instaldir_int} -mkdir -p $RPM_BUILD_ROOT/%{instaldir_icons} -mkdir -p $RPM_BUILD_ROOT/%{instaldir_menu} -mkdir -p $RPM_BUILD_ROOT/%{instaldir_man} - -# bin -cp -a bin/qtsmbstatus $RPM_BUILD_ROOT/%{instaldir_bin} -# translations -cp -a client/tr/*.qm $RPM_BUILD_ROOT/%{instaldir_int} -#icons -cp -a client/qtsmbstatus.xpm $RPM_BUILD_ROOT/%{instaldir_icons} -#menu -cp -a client/qtsmbstatus.desktop $RPM_BUILD_ROOT/%{instaldir_menu} -#manpage -cp -a client/qtsmbstatus.7.gz $RPM_BUILD_ROOT/%{instaldir_man} - -%clean - -%preun - -%postun -if [ $1 = 0 ]; then -# If uninstall, remove directory -test -d $RPM_BUILD_ROOT/%{instaldir_int} && rmdir $RPM_BUILD_ROOT/%{instaldir_int} 2>/dev/null -fi - -%files -# defaults attr -%defattr(755,root,root) -%{instaldir_bin}/qtsmbstatus - -# defaults attr -%defattr(644,root,root) -%{instaldir_int}/*.qm -%attr(-,root,root) %doc README README-* INSTALL COPYING changelog -%{instaldir_icons}/*.xpm -%{instaldir_menu}/*.desktop -%{instaldir_man}/qtsmbstatus.7.gz - -%changelog -* Wed Nov 14 2007 - daniel.rocher (at) adella.org -- Initial release diff -Nru qtsmbstatus-2.0.4/packages/rpm/fedora/qtsmbstatus-2.0.5-init.patch qtsmbstatus-2.1.1/packages/rpm/fedora/qtsmbstatus-2.0.5-init.patch --- qtsmbstatus-2.0.4/packages/rpm/fedora/qtsmbstatus-2.0.5-init.patch 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/packages/rpm/fedora/qtsmbstatus-2.0.5-init.patch 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,151 @@ +diff -up qtsmbstatus-2.0.5/server/etc/qtsmbstatusd.init qtsmbstatus-2.0.5/server/etc/qtsmbstatusd +--- qtsmbstatus-2.0.5/server/etc/qtsmbstatusd.init 2008-08-28 17:41:46.000000000 +0200 ++++ qtsmbstatus-2.0.5/server/etc/qtsmbstatusd 2008-09-04 22:55:13.000000000 +0200 +@@ -1,8 +1,11 @@ + #!/bin/sh +-# script for qtsmbstatusd + # ++# qtsmbstatusd ++# ++# chkconfig: 35 99 20 ++# description: qtsmbstatusd server (QtSmbstatus is a graphical user \ ++# interface for smbstatus) + +-# For LSB + ### BEGIN INIT INFO + # Provides: qtsmbstatusd + # Required-Start: $samba +@@ -13,49 +16,88 @@ + # Description: QtSmbstatus is a graphical user interface for smbstatus + ### END INIT INFO + +-# For Mandrake/Mandriva/Fedora: +-# chkconfig: 35 99 20 +-# description: qtsmbstatusd server (QtSmbstatus is a graphical user interface for smbstatus) +- +- +-NAME=qtsmbstatusd +- +-# see if qtsmbstatusd is running +-pid=`ps ax | awk '{print $1,$5}' | grep $NAME | awk '{print $1}' | awk '{print $1}'` +- +-# Start or stop the qtsmbstatusd server +-case $1 in +- start | restart | reload | force-reload) +- if test "$pid" != ""; then +- kill $pid +- if /usr/bin/qtsmbstatusd -d; then +- echo "qtsmbstatusd server restarted." +- fi +- else +- if /usr/bin/qtsmbstatusd -d; then +- echo "qtsmbstatusd server started." +- fi +- fi +- ;; +- stop) +- if test "$pid" != ""; then +- kill -3 $pid +- fi +- echo "qtsmbstatusd server stopped" +- ;; +- +- status) +- if test "$pid" != ""; then +- echo "qtsmbstatusd : server is running." +- else +- echo "qtsmbstatusd : server is not running." +- fi +- ;; +- +- *) +- echo "Usage: qtsmbstatusd {start|stop|reload|restart|status|force-reload}" +- exit 1 +- ;; +-esac ++# Source function library. ++. /etc/rc.d/init.d/functions + +-exit 0 ++exec="/usr/bin/qtsmbstatusd" ++prog="qtsmbstatusd" ++config="/etc/qtsmbstatusd/qtsmbstatusd.conf" ++ ++[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog ++ ++lockfile=/var/lock/subsys/$prog ++ ++start() { ++ [ -x $exec ] || exit 5 ++ [ -f $config ] || exit 6 ++ echo -n $"Starting $prog: " ++ $exec -d ++ retval=$? ++ echo ++ [ $retval -eq 0 ] && touch $lockfile ++ return $retval ++} ++ ++stop() { ++ echo -n $"Stopping $prog: " ++ killproc $prog ++ retval=$? ++ echo ++ [ $retval -eq 0 ] && rm -f $lockfile ++ return $retval ++} ++ ++restart() { ++ stop ++ start ++} ++ ++reload() { ++ restart ++} ++ ++force_reload() { ++ restart ++} ++ ++rh_status() { ++ # run checks to determine if the service is running or use generic status ++ status $prog ++} ++ ++rh_status_q() { ++ rh_status >/dev/null 2>&1 ++} ++ ++ ++case "$1" in ++ start) ++ rh_status_q && exit 0 ++ $1 ++ ;; ++ stop) ++ rh_status_q || exit 0 ++ $1 ++ ;; ++ restart) ++ $1 ++ ;; ++ reload) ++ rh_status_q || exit 7 ++ $1 ++ ;; ++ force-reload) ++ force_reload ++ ;; ++ status) ++ rh_status ++ ;; ++ condrestart|try-restart) ++ rh_status_q || exit 0 ++ restart ++ ;; ++ *) ++ echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}" ++ exit 2 ++esac ++exit $? diff -Nru qtsmbstatus-2.0.4/packages/rpm/fedora/qtsmbstatus-2.1-init.patch qtsmbstatus-2.1.1/packages/rpm/fedora/qtsmbstatus-2.1-init.patch --- qtsmbstatus-2.0.4/packages/rpm/fedora/qtsmbstatus-2.1-init.patch 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/packages/rpm/fedora/qtsmbstatus-2.1-init.patch 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,170 @@ +diff -up qtsmbstatus-2.1/server/etc/qtsmbstatusd.init qtsmbstatus-2.1/server/etc/qtsmbstatusd +--- qtsmbstatus-2.1/server/etc/qtsmbstatusd.init 2008-11-19 15:34:11.000000000 +0100 ++++ qtsmbstatus-2.1/server/etc/qtsmbstatusd 2008-11-19 16:26:39.000000000 +0100 +@@ -1,8 +1,11 @@ + #!/bin/sh +-# script for qtsmbstatusd + # ++# qtsmbstatusd ++# ++# chkconfig: 35 99 20 ++# description: qtsmbstatusd server (QtSmbstatus is a graphical user \ ++# interface for smbstatus) + +-# For LSB + ### BEGIN INIT INFO + # Provides: qtsmbstatusd + # Required-Start: $samba +@@ -13,69 +16,99 @@ + # Description: QtSmbstatus is a graphical user interface for smbstatus + ### END INIT INFO + +-# For Mandrake/Mandriva/Fedora: +-# chkconfig: 35 99 20 +-# description: qtsmbstatusd server (QtSmbstatus is a graphical user interface for smbstatus) ++# Source function library. ++. /etc/rc.d/init.d/functions + ++exec="/usr/bin/qtsmbstatusd" ++prog="qtsmbstatusd" ++config="/etc/qtsmbstatusd/qtsmbstatusd.conf" + +-NAME=qtsmbstatusd ++[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog + +-# see if qtsmbstatusd is running +-pid=`ps ax | awk '{print $1,$5}' | grep $NAME | awk '{print $1}' | awk '{print $1}'` ++lockfile=/var/lock/subsys/$prog + + # get locale + default_locale=en_US.UTF-8 +-if [ -f /etc/default/locale ]; then +- # Debian systems +- system_locale=`grep -re "LANG=" /etc/default/locale | awk 'BEGIN { FS = "[\"]" } { print $2 }'` +-elif [ -f /etc/sysconfig/language ]; then +- # SuSE systems +- system_locale=`grep -re "LANG=" /etc/sysconfig/language | awk 'BEGIN { FS = "[\"]" } { print $2 }'` +-elif [ -f /etc/sysconfig/i18n ]; then ++if [ -f /etc/sysconfig/i18n ]; then + # RedHat/mandriva systems + system_locale=`grep -re "LANG=" /etc/sysconfig/i18n | awk 'BEGIN { FS = "[\"]" } { print $2 }'` +-elif [ -f /etc/profile ]; then +- #default +- system_locale=`grep -re "LANG=" /etc/profile | awk 'BEGIN { FS = "[\"]" } { print $2 }'` + fi + + if [ -z $system_locale ]; then system_locale=$default_locale; fi + +-# Start or stop the qtsmbstatusd server +-case $1 in +- start | restart | reload | force-reload) +- export LANG=$system_locale +- if test "$pid" != ""; then +- kill $pid +- if /usr/bin/qtsmbstatusd -d; then +- echo "qtsmbstatusd server restarted." +- fi +- else +- if /usr/bin/qtsmbstatusd -d; then +- echo "qtsmbstatusd server started." +- fi +- fi +- ;; +- stop) +- if test "$pid" != ""; then +- kill -3 $pid +- fi +- echo "qtsmbstatusd server stopped" +- ;; +- +- status) +- if test "$pid" != ""; then +- echo "qtsmbstatusd : server is running." +- else +- echo "qtsmbstatusd : server is not running." +- fi +- ;; +- +- *) +- echo "Usage: qtsmbstatusd {start|stop|reload|restart|status|force-reload}" +- exit 1 +- ;; +-esac +- +-exit 0 + ++start() { ++ [ -x $exec ] || exit 5 ++ [ -f $config ] || exit 6 ++ export LANG=$system_locale ++ echo -n $"Starting $prog: " ++ $exec -d ++ retval=$? ++ echo ++ [ $retval -eq 0 ] && touch $lockfile ++ return $retval ++} ++ ++stop() { ++ echo -n $"Stopping $prog: " ++ killproc $prog ++ retval=$? ++ echo ++ [ $retval -eq 0 ] && rm -f $lockfile ++ return $retval ++} ++ ++restart() { ++ stop ++ start ++} ++ ++reload() { ++ restart ++} ++ ++force_reload() { ++ restart ++} ++ ++rh_status() { ++ # run checks to determine if the service is running or use generic status ++ status $prog ++} ++ ++rh_status_q() { ++ rh_status >/dev/null 2>&1 ++} ++ ++ ++case "$1" in ++ start) ++ rh_status_q && exit 0 ++ $1 ++ ;; ++ stop) ++ rh_status_q || exit 0 ++ $1 ++ ;; ++ restart) ++ $1 ++ ;; ++ reload) ++ rh_status_q || exit 7 ++ $1 ++ ;; ++ force-reload) ++ force_reload ++ ;; ++ status) ++ rh_status ++ ;; ++ condrestart|try-restart) ++ rh_status_q || exit 0 ++ restart ++ ;; ++ *) ++ echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}" ++ exit 2 ++esac ++exit $? diff -Nru qtsmbstatus-2.0.4/packages/rpm/fedora/qtsmbstatus.spec qtsmbstatus-2.1.1/packages/rpm/fedora/qtsmbstatus.spec --- qtsmbstatus-2.0.4/packages/rpm/fedora/qtsmbstatus.spec 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/packages/rpm/fedora/qtsmbstatus.spec 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,190 @@ +# SPECS - create RPM +# by Daniel Rocher +# Thanks: +# Mike A. Harris +# Stephane URBANOVSKI +# Johan Cwiklinski + + +Summary: A GUI for smbstatus with Qt +Name: qtsmbstatus +Group: Applications/System +Version: 2.1 +Release: 1%{?dist} +License: GPLv2 +Vendor: ADELLA +Packager: Daniel Rocher +URL: http://qtsmbstatus.free.fr +Source0: http://qtsmbstatus.free.fr/files/qtsmbstatus-%{version}.tar.gz +Patch0: %{name}-%{version}-init.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: qt4-devel >= 4.3 desktop-file-utils +BuildRequires: pam-devel + +%description +QtSmbstatus is a smbstatus graphical interface (GUI). It is meant to provide +the possibility of administering remote machines. QtSmbstatus was designed +as a client/server system secured with SSL. + +%package language +Group: Applications/System +Summary: QtSmbstatus languages package +Conflicts: qtsmbstatus-client < 2.1 + +%description language +This package will install additional languages for qtsmbstatus-client + and qtsmbstatus-light. + +%package light +Group: Applications/System +Summary: A GUI for smbstatus with Qt +Requires: qtsmbstatus-language qt4-x11 >= 4.3 + +%description light +QtSmbstatus is a smbstatus graphical interface (GUI). Qtsmbstatus Light works + only locally and doesn't require qtsmbstatus-server. + +%package client +Group: Applications/System +Summary: A GUI for smbstatus with Qt (client) +Requires: qtsmbstatus-language qt4-x11 >= 4.3 + +%description client +QtSmbstatus is a smbstatus graphical interface (GUI). It is meant to provide +the possibility of administering remote machines. QtSmbstatus was designed +as a client/server system secured with SSL. A login and password is required +to log on to server. + +%package server +Group: Applications/System +Summary: A GUI for smbstatus with Qt (server) +Requires: pam samba samba-client +Requires: qt4 >= 4.3 + +%description server +QtSmbstatus is a smbstatus graphical interface (GUI). It is meant to provide +the possibility of administering remote machines. QtSmbstatus was designed +as a client/server system secured with SSL. A login and password is required +to log on to server. The server's application ought to be installed on host +where SAMBA executes. + + +%prep +%setup -q -n %{name}-%{version} +%patch0 -p1 -b .init + +%build +# create Makefile +qmake-qt4 + +# Internationalization +lrelease-qt4 client/tr/*.ts + +# build +make + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_bindir} +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/qtsmbstatus +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications +mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man7 +mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d +mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/qtsmbstatusd +mkdir -p $RPM_BUILD_ROOT/%{_initrddir} + + +# bin +cp -a client/bin/qtsmbstatus $RPM_BUILD_ROOT/%{_bindir} +cp -a server/bin/qtsmbstatusd $RPM_BUILD_ROOT/%{_bindir} +cp -a light/bin/qtsmbstatusl $RPM_BUILD_ROOT/%{_bindir} + +# server +cp -a server/pam.d/qtsmbstatusd $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/ +cp -a server/etc/qtsmbstatusd $RPM_BUILD_ROOT/%{_initrddir} +cp -a server/etc/privkey.pem server/etc/qtsmbstatusd.conf \ + server/etc/server.pem server/etc/qtsmbstatusd.users \ + $RPM_BUILD_ROOT/%{_sysconfdir}/qtsmbstatusd/ + +# translations +cp -a client/tr/*.qm $RPM_BUILD_ROOT/%{_datadir}/qtsmbstatus/ +#icons +cp -a client/qtsmbstatus.xpm $RPM_BUILD_ROOT/%{_datadir}/pixmaps/ +cp -a light/qtsmbstatusl.xpm $RPM_BUILD_ROOT/%{_datadir}/pixmaps/ +#menu +desktop-file-install --vendor="" \ + --dir=$RPM_BUILD_ROOT/%{_datadir}/applications client/qtsmbstatus.desktop +desktop-file-install --vendor="" \ + --dir=$RPM_BUILD_ROOT/%{_datadir}/applications light/qtsmbstatusl.desktop +#manpage +cp -a client/qtsmbstatus.7.gz $RPM_BUILD_ROOT/%{_mandir}/man7/ +cp -a server/qtsmbstatusd.7.gz $RPM_BUILD_ROOT/%{_mandir}/man7/ +cp -a light/qtsmbstatusl.7.gz $RPM_BUILD_ROOT/%{_mandir}/man7/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%post server +# postinstall: service +chkconfig --add qtsmbstatusd +%{_initrddir}/qtsmbstatusd start + +%preun server +# If uninstall +if [ $1 = 0 ]; then +# stop qtsmbstatus server and remove service +%{_initrddir}/qtsmbstatusd stop +# service +chkconfig --del qtsmbstatusd 2>/dev/null +fi + +%files language +%defattr(755,root,root) +%dir %{_datadir}/qtsmbstatus + +%defattr(644,root,root) +%{_datadir}/qtsmbstatus/*.qm +%attr(-,root,root) %doc README README-* INSTALL COPYING changelog + +%files light +%defattr(755,root,root) +%{_bindir}/qtsmbstatusl + +%defattr(644,root,root) +%attr(-,root,root) %doc README README-* INSTALL COPYING changelog +%{_datadir}/pixmaps/qtsmbstatusl.xpm +%{_datadir}/applications/qtsmbstatusl.desktop +%{_mandir}/man7/qtsmbstatusl.7.gz + +%files client +%defattr(755,root,root) +%{_bindir}/qtsmbstatus + +%defattr(644,root,root) +%attr(-,root,root) %doc README README-* INSTALL COPYING changelog +%{_datadir}/pixmaps/qtsmbstatus.xpm +%{_datadir}/applications/qtsmbstatus.desktop +%{_mandir}/man7/qtsmbstatus.7.gz + + +%files server +%defattr(755,root,root) +%{_bindir}/qtsmbstatusd +%{_initrddir}/qtsmbstatusd +%dir %{_sysconfdir}/qtsmbstatusd/ + +%defattr(644,root,root) +%config(noreplace) %{_sysconfdir}/pam.d/* +%attr(640,root,root) %config(noreplace) %{_sysconfdir}/qtsmbstatusd/* +%attr(-,root,root) %doc README README-* INSTALL COPYING changelog +%{_mandir}/man7/qtsmbstatusd.7.gz + +%changelog +* Wed Nov 19 2008 Daniel Rocher 2.1-1 +- New upstream version + +* Sun Aug 31 2008 Daniel Rocher 2.0.5-1 +- Initial release + diff -Nru qtsmbstatus-2.0.4/packages/rpm/server.spec qtsmbstatus-2.1.1/packages/rpm/server.spec --- qtsmbstatus-2.0.4/packages/rpm/server.spec 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/packages/rpm/server.spec 1970-01-01 01:00:00.000000000 +0100 @@ -1,176 +0,0 @@ -# SPECS - create RPM -# by Daniel Rocher -# Thanks: -# Mike A. Harris -# Stephane URBANOVSKI - - -# file .pro -%define qmake_pro server/server.pro - -%define instaldir_bin /usr/bin -%define instaldir_pam /etc/pam.d -%define instaldir_ini /etc/init.d -%define instaldir_qts /etc/qtsmbstatusd -%define instaldir_man /usr/local/share/man/man7/ - -%define is_mandrake %(test -e /etc/mandrake-release && echo 1 || echo 0) -%define is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0) -%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) - -%if %is_mandrake -%define distribution Mandrake -%endif - -%if %is_suse -%define distribution Suse -%endif - -%if %is_fedora -%define distribution Fedora -%endif - - -Summary: A GUI for smbstatus with Qt -Name: qtsmbstatus-server -Version: 2.0.2 -Release: 1 -License: GPL -Vendor: ADELLA -Packager: Daniel ROCHER -Group: Networking/Other -URL: http://qtsmbstatus.free.fr -Source0: %{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-buildroot -BuildArchitectures: i586 - -%if "%{distribution}" == "Mandriva" || "%{distribution}" == "Mandrake" -# Mandrake / Mandriva requirements -BuildRequires: gcc-c++, XFree86-devel -BuildRequires: libqt4-dev >= 4.2 -BuildRequires: libopenssl-devel -BuildRequires: pam-devel -Requires: openssl pam samba-server samba-client -Requires: libqt4-core >= 4.2, libqt4-gui >= 4.2, libqt4-sql >= 4.2, libqt4-qt3support >= 4.2 -%else -%if "%{distribution}" == "Suse" -# Suse requirements -BuildRequires: gcc-c++, XFree86-devel -BuildRequires: libqt4-devel >= 4.2 -BuildRequires: openssl-devel -BuildRequires: pam-devel -Requires: openssl pam samba samba-client -Requires: libqt4 >= 4.2, libqt4-x11 >= 4.2, libqt4-sql >= 4.2, libqt4-qt3support >= 4.2 -%else -%if "%{distribution}" == "Fedora" -# Fedora requirements -BuildRequires: gcc-c++,libX11-devel -BuildRequires: qt4 >= 4.2, qt4-devel >= 4.2 -BuildRequires: openssl-devel -BuildRequires: pam-devel -Requires: openssl pam samba samba-client -Requires: qt4 >= 4.2, qt4-x11 >= 4.2 -%else -#Unknown Distribution ! -%endif -%endif -%endif - - -%description -QtSmbstatus is a smbstatus graphical interface (GUI). It is meant to provide -the possibility of administering remote machines. QtSmbstatus was designed -as a client/server system secured with SSL. A login and password is required -to log on to server. The server's application ought to be installed on host -where SAMBA executes. - - -%prep -# delete temporary files -rm %{_builddir}/* -r -f -rm %{_tmppath}/* -r -f - -%setup -q - -%build -# create Makefile -qmake-qt4 %{qmake_pro} - -# build -make - -%install - -mkdir -p $RPM_BUILD_ROOT/%{instaldir_bin} -mkdir -p $RPM_BUILD_ROOT/%{instaldir_pam} -mkdir -p $RPM_BUILD_ROOT/%{instaldir_ini} -mkdir -p $RPM_BUILD_ROOT/%{instaldir_qts} -mkdir -p $RPM_BUILD_ROOT/%{instaldir_man} - -cp -a bin/qtsmbstatusd $RPM_BUILD_ROOT/%{instaldir_bin} -cp -a server/pam.d/qtsmbstatusd $RPM_BUILD_ROOT/%{instaldir_pam} -cp -a server/etc/qtsmbstatusd $RPM_BUILD_ROOT/%{instaldir_ini} -cp -a server/etc/privkey.pem server/etc/qtsmbstatusd.conf server/etc/server.pem server/etc/qtsmbstatusd.users $RPM_BUILD_ROOT/%{instaldir_qts} -#manpage -cp -a server/qtsmbstatusd.7.gz $RPM_BUILD_ROOT/%{instaldir_man} - -#====[ postinstall : -%post - -%if "%{distribution}" == "Mandriva" || "%{distribution}" == "Mandrake" || "%{distribution}" == "Fedora" -# service for mdk/mdv/fedora -chkconfig --add qtsmbstatusd -%else -%if "%{distribution}" == "Suse" -# service for suse -insserv qtsmbstatusd -%else -#Unknown Distribution ! -%endif -%endif -/etc/init.d/qtsmbstatusd start - -%clean - -#====[ pre uninstall : -%preun -# If uninstall -if [ $1 = 0 ]; then -# stop qtsmbstatus server and remove service -/etc/init.d/qtsmbstatusd stop -%if "%{distribution}" == "Mandriva" || "%{distribution}" == "Mandrake" || "%{distribution}" == "Fedora" -# service for mdk/mdv/fedora -chkconfig --del qtsmbstatusd 2>/dev/null -%else -%if "%{distribution}" == "Suse" -# service for suse -insserv -r qtsmbstatusd 2>/dev/null -%else -#Unknown Distribution ! -%endif -%endif -fi - -#====[ post uninstall : -%postun -if [ $1 = 0 ]; then -# If uninstall, remove directory -test -d $RPM_BUILD_ROOT/%{instaldir_qts} && rmdir $RPM_BUILD_ROOT/%{instaldir_qts} 2>/dev/null -fi - -%files -%defattr(750,root,root) -%{instaldir_bin}/qtsmbstatusd -%{instaldir_ini}/qtsmbstatusd - -%defattr(640,root,root) -%config(noreplace) %{instaldir_pam}/* -%config(noreplace) %{instaldir_qts}/* - -%attr(-,root,root) %doc README README-* INSTALL COPYING changelog - -%{instaldir_man}/qtsmbstatusd.7.gz - -%changelog -* Wed Nov 14 2007 - daniel.rocher (at) adella.org -- Initial release diff -Nru qtsmbstatus-2.0.4/packages/windows/nsi/qtsmbstatus.nsi qtsmbstatus-2.1.1/packages/windows/nsi/qtsmbstatus.nsi --- qtsmbstatus-2.0.4/packages/windows/nsi/qtsmbstatus.nsi 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/packages/windows/nsi/qtsmbstatus.nsi 2009-04-12 14:46:48.000000000 +0200 @@ -10,7 +10,7 @@ ;-------------------------------- Name "QtSmbstatus" -OutFile "qtsmbstatus-client.2.0.2-1.exe" +OutFile "qtsmbstatus-client.2.1-1.exe" InstallDir "$PROGRAMFILES\qtsmbstatus" InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\qtsmbstatus""UninstallString" diff -Nru qtsmbstatus-2.0.4/qtsmbstatus.kdevelop qtsmbstatus-2.1.1/qtsmbstatus.kdevelop --- qtsmbstatus-2.0.4/qtsmbstatus.kdevelop 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/qtsmbstatus.kdevelop 1970-01-01 01:00:00.000000000 +0100 @@ -1,217 +0,0 @@ - - - - Daniel Rocher - daniel.rocher@adella.org - 2.0.0 - KDevTrollProject - C++ - - Qt - - . - false - - - - - qtsmbstatus - - - - - - - - - false - false - - - *.o,*.lo,CVS - false - - - - - ada - ada_bugs_gcc - bash - bash_bugs - clanlib - w3c-dom-level2-html - fortran_bugs_gcc - gnome1 - gnustep - gtk - gtk_bugs - haskell - haskell_bugs_ghc - java_bugs_gcc - java_bugs_sun - kde2book - opengl - pascal_bugs_fp - php - php_bugs - perl - perl_bugs - python - python_bugs - ruby - ruby_bugs - sdl - stl - w3c-svg - sw - w3c-uaag10 - wxwidgets_bugs - - - KDE Libraries (Doxygen) - - - html/ - html/ - - - - - - - - - -m - - - - - false - false - false - false - - - false - false - 10 - - - - - /home/ubuntu/developement/projet_qtsmbstatus/qtsmbstatus/client/bin/qtsmbstatus - -m - executable - / - false - true - - - /home/ubuntu/developement/projet_qtsmbstatus/qtsmbstatus - true - false - false - - - server - - - false - 1 - false - - - 0 - false - - - - 2 - false - true - false - - - - - - - - - - - - - - - true - true - true - false - true - true - true - 250 - 400 - 250 - false - 0 - true - true - false - std=_GLIBCXX_STD;__gnu_cxx=std - true - false - false - false - true - true - true - false - .; - false - false - - - - set - m_,_ - theValue - true - true - - - false - 3 - /usr/share/qt3 - 3 - EmbeddedKDevDesigner - /usr/bin/qmake - /usr/bin/designer - - - - false - true - Vertical - - - - - .h - .cpp - - - - - - - - - - - - /home/ubuntu/Desktop/projet_qtsmbstatus/qtsmbstatus/tags - - - Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/qtsmbstatus.kdevelop.pcs et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/qtsmbstatus.kdevelop.pcs sont différents. diff -Nru qtsmbstatus-2.0.4/qtsmbstatus.kdevses qtsmbstatus-2.1.1/qtsmbstatus.kdevses --- qtsmbstatus-2.0.4/qtsmbstatus.kdevses 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/qtsmbstatus.kdevses 1970-01-01 01:00:00.000000000 +0100 @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -Nru qtsmbstatus-2.0.4/qtsmbstatus.pro qtsmbstatus-2.1.1/qtsmbstatus.pro --- qtsmbstatus-2.0.4/qtsmbstatus.pro 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/qtsmbstatus.pro 2009-04-12 14:46:48.000000000 +0200 @@ -1,4 +1,5 @@ TEMPLATE=subdirs SUBDIRS += client \ - server + server \ + light diff -Nru qtsmbstatus-2.0.4/qtsmbstatus.tag qtsmbstatus-2.1.1/qtsmbstatus.tag --- qtsmbstatus-2.0.4/qtsmbstatus.tag 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/qtsmbstatus.tag 1970-01-01 01:00:00.000000000 +0100 @@ -1,5114 +0,0 @@ - - - - index - QtSmbstatus - index - Introduction - - - client/clientsocket.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - client_2clientsocket_8cpp - - QList< Q3ListViewItem * > - Q3ListViewItemList - client_2clientsocket_8cpp.html - 2e030f72278b6e5bbaa0c9bb9d5f594f - - - - - server/clientsocket.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - server_2clientsocket_8cpp - - SSL_CTX * - ssl_ctx - server_2clientsocket_8cpp.html - 500f2070b7b9f34238a51cbf8f9b5024 - - - - - client/clientsocket.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - client_2clientsocket_8h - ClientSocket - - void - debugQt - client_2clientsocket_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - QString - host - client_2clientsocket_8h.html - 0564a52d02e84089184f50771f8ed743 - - - - int - interval - client_2clientsocket_8h.html - e0c690118932b32ef40a74bb6a259acd - - - - Q_UINT16 - port_server - client_2clientsocket_8h.html - acf72bcee2f2876dd1022fdac82d1f03 - - - - bool - view_hidden_shares - client_2clientsocket_8h.html - c9524c139a2a5e949acb2a0d38f2c273 - - - - - server/clientsocket.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - server_2clientsocket_8h - ClientSocket - - void - debugQt - server_2clientsocket_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - void - Socket_print_error - server_2clientsocket_8h.html - 85ffc8163231efbfe049af5a3b9823d0 - (int errorcode) - - - void - SSL_print_error - server_2clientsocket_8h.html - 2aeed3e7cb24fb45b4745c923f04ef3e - (int errorcode) - - - QStringList - AllowUserDisconnect - server_2clientsocket_8h.html - 4f6b434748682d469c57b1ee0a4094b4 - - - - QStringList - AllowUserSendMsg - server_2clientsocket_8h.html - 1ef8e25405af12f87fccb8234100ff48 - - - - QString - Certificat - server_2clientsocket_8h.html - 7c4a8535aba5b84e1c2c912114b764a4 - - - - bool - daemonize - server_2clientsocket_8h.html - 9c8772330cb4ae19acb959dd44d023d2 - - - - bool - debug_qtsmbstatus - server_2clientsocket_8h.html - 2c63f690768c323d694a4d25e80dd912 - - - - Q_UINT16 - port_server - server_2clientsocket_8h.html - acf72bcee2f2876dd1022fdac82d1f03 - - - - QString - Private_key - server_2clientsocket_8h.html - f74bba0767ddc4540620bdce1ef503d4 - - - - QString - ssl_password - server_2clientsocket_8h.html - ca81aafcf3f24b84a1fa97d47bb7a647 - - - - QString - version_qtsmbstatus - server_2clientsocket_8h.html - be7655986b4d2d6776180c1e69cedee7 - - - - - clientssl.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - clientssl_8cpp - - - clientssl.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - clientssl_8h - ClientSSL - - void - debugQt - clientssl_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - void - Socket_print_error - clientssl_8h.html - 85ffc8163231efbfe049af5a3b9823d0 - (int errorcode) - - - void - SSL_print_error - clientssl_8h.html - 2aeed3e7cb24fb45b4745c923f04ef3e - (int errorcode) - - - - common.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/common/ - common_8cpp - - QString - BoolToStr - common_8cpp.html - e0d7597e60d00fbf5cfade812056c3d9 - (bool &value) - - - void - debugQt - common_8cpp.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - void - Socket_print_error - common_8cpp.html - 85ffc8163231efbfe049af5a3b9823d0 - (int errorcode) - - - void - SSL_print_error - common_8cpp.html - 2aeed3e7cb24fb45b4745c923f04ef3e - (int errorcode) - - - bool - StrToBool - common_8cpp.html - 6031211c80ed919c966cb6819629919b - (QString &value) - - - void - unsupported_options - common_8cpp.html - 82dbffe4f678bf15aaa8f9b53e06ede1 - (char *erreur, const QString &usage) - - - bool - validatePort - common_8cpp.html - 648ac3ebd34f77031479d08340325e6b - (const int &port) - - - QString - auteur_qtsmbstatus - common_8cpp.html - 294a13e016cf686c449e4e93eb199b63 - - - - QString - date_qtsmbstatus - common_8cpp.html - 517d094eb372564eb4e6d706bcad0bb2 - - - - bool - debug_qtsmbstatus - common_8cpp.html - 2c63f690768c323d694a4d25e80dd912 - - - - uint - int_qtsmbstatus_version - common_8cpp.html - 9457b13072dda3a2511569a6df130326 - - - - QString - mail_qtsmbstatus - common_8cpp.html - e34b42086880f0defc75d5dba79bbac5 - - - - Q_UINT16 - port_server - common_8cpp.html - acf72bcee2f2876dd1022fdac82d1f03 - - - - QString - version_qtsmbstatus - common_8cpp.html - be7655986b4d2d6776180c1e69cedee7 - - - - QString - web_qtsmbstatus - common_8cpp.html - 3887059b00b1b4e6e1f62aae07d7a4d5 - - - - - configure_windows.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - configure__windows_8cpp - - - configure_windows.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - configure__windows_8h - configure_windows - - void - debugQt - configure__windows_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - void - readConfigFile - configure__windows_8h.html - 30034a50a8289c426318bdb8604cfd3a - () - - - void - writeConfigFile - configure__windows_8h.html - 2d7c50d7d21a6d9ac3667f414aac49c6 - () - - - bool - autoconnect - configure__windows_8h.html - 9ec78319c4910082cd06445737f01494 - - - - QString - host - configure__windows_8h.html - 0564a52d02e84089184f50771f8ed743 - - - - bool - iconize - configure__windows_8h.html - 79604de729f59a4883fa06b7d3048f5d - - - - int - interval - configure__windows_8h.html - e0c690118932b32ef40a74bb6a259acd - - - - int - limitLog - configure__windows_8h.html - b542a2d45ca1dafae7c8cb4757c41fb7 - - - - bool - log_activity - configure__windows_8h.html - 60f21f955ad470343a3dfec57cdc68fb - - - - QString - passwd_login - configure__windows_8h.html - 0549d05ad8a54ea045cbaaf9ea329665 - - - - Q_UINT16 - port_server - configure__windows_8h.html - acf72bcee2f2876dd1022fdac82d1f03 - - - - bool - show_messages - configure__windows_8h.html - 83b85784b7a4d0fdc38938317c16ec1b - - - - QString - username_login - configure__windows_8h.html - bca8ef9dbd9c8709dd7bd3332133f264 - - - - bool - view_hidden_shares - configure__windows_8h.html - c9524c139a2a5e949acb2a0d38f2c273 - - - - - core_syntax.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/common/ - core__syntax_8cpp - - - core_syntax.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/common/ - core__syntax_8h - core_syntax - - - disconnect_manager.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - disconnect__manager_8cpp - - - disconnect_manager.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - disconnect__manager_8h - disconnect_manager - - void - debugQt - disconnect__manager_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - - linecore.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - linecore_8cpp - - - linecore.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - linecore_8h - LineCore - LineCore::record - - void - debugQt - linecore_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - - log.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - log_8cpp - - #define - name_of_file - log_8cpp.html - 84f3a13acd21eee3982c53dcfdbcb6c2 - - - - #define - name_of_share - log_8cpp.html - a476b7eb8b772e8afe4f39f021a2b852 - - - - - log.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - log_8h - LogForm - - void - debugQt - log_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - int - limitLog - log_8h.html - b542a2d45ca1dafae7c8cb4757c41fb7 - - - - bool - Log_activity - log_8h.html - ca7c451fbafb606e14fd1db0ba1ccd79 - - - - - login_windows.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - login__windows_8cpp - - - login_windows.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - login__windows_8h - login_windows - - void - debugQt - login__windows_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - QString - passwd_login - login__windows_8h.html - 0549d05ad8a54ea045cbaaf9ea329665 - - - - QString - username_login - login__windows_8h.html - bca8ef9dbd9c8709dd7bd3332133f264 - - - - - machine.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - machine_8cpp - - - machine.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - machine_8h - machine - - void - debugQt - machine_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - QList< Q3ListViewItem * > - Q3ListViewItemList - machine_8h.html - 2e030f72278b6e5bbaa0c9bb9d5f594f - - - - - client/main.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - client_2main_8cpp - - QString - BoolToStr - client_2main_8cpp.html - e0d7597e60d00fbf5cfade812056c3d9 - (bool &value) - - - void - convertto201 - client_2main_8cpp.html - cf033a696426c36e3016fdf13285ab32 - () - - - int - main - client_2main_8cpp.html - 0ddf1224851353fc92bfbff6f499fa97 - (int argc, char *argv[]) - - - void - readConfigFile - client_2main_8cpp.html - 30034a50a8289c426318bdb8604cfd3a - () - - - bool - StrToBool - client_2main_8cpp.html - 6031211c80ed919c966cb6819629919b - (QString &value) - - - void - unsupported_options - client_2main_8cpp.html - 82dbffe4f678bf15aaa8f9b53e06ede1 - (char *erreur, const QString &usage) - - - bool - validatePort - client_2main_8cpp.html - 648ac3ebd34f77031479d08340325e6b - (const int &port) - - - void - writeConfigFile - client_2main_8cpp.html - 2d7c50d7d21a6d9ac3667f414aac49c6 - () - - - bool - autoconnect - client_2main_8cpp.html - 9ec78319c4910082cd06445737f01494 - - - - QString - host - client_2main_8cpp.html - 0564a52d02e84089184f50771f8ed743 - - - - bool - iconize - client_2main_8cpp.html - 79604de729f59a4883fa06b7d3048f5d - - - - uint - int_qtsmbstatus_version - client_2main_8cpp.html - 9457b13072dda3a2511569a6df130326 - - - - int - interval - client_2main_8cpp.html - e0c690118932b32ef40a74bb6a259acd - - - - int - limitLog - client_2main_8cpp.html - b542a2d45ca1dafae7c8cb4757c41fb7 - - - - bool - log_activity - client_2main_8cpp.html - 60f21f955ad470343a3dfec57cdc68fb - - - - QString - passwd_login - client_2main_8cpp.html - 0549d05ad8a54ea045cbaaf9ea329665 - - - - bool - show_messages - client_2main_8cpp.html - 83b85784b7a4d0fdc38938317c16ec1b - - - - QString - username_login - client_2main_8cpp.html - bca8ef9dbd9c8709dd7bd3332133f264 - - - - bool - view_hidden_shares - client_2main_8cpp.html - c9524c139a2a5e949acb2a0d38f2c273 - - - - - server/main.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - server_2main_8cpp - - void - GetUserDisconnect - server_2main_8cpp.html - b95e9cbaf4132548fd210b9507e7a603 - (QString variable) - - - void - GetUserSend - server_2main_8cpp.html - e7e0af2228ff5af04319a61c65566577 - (QString variable) - - - int - main - server_2main_8cpp.html - 0ddf1224851353fc92bfbff6f499fa97 - (int argc, char *argv[]) - - - void - readConfigFile - server_2main_8cpp.html - 30034a50a8289c426318bdb8604cfd3a - () - - - void - signal_handler - server_2main_8cpp.html - 8804db44b6d4c5752e6de5593562df06 - (int) - - - void - unsupported_options - server_2main_8cpp.html - 82dbffe4f678bf15aaa8f9b53e06ede1 - (char *erreur, const QString &usage) - - - bool - validatePort - server_2main_8cpp.html - 648ac3ebd34f77031479d08340325e6b - (const int &port) - - - QStringList - AllowUserDisconnect - server_2main_8cpp.html - 4f6b434748682d469c57b1ee0a4094b4 - - - - QStringList - AllowUserSendMsg - server_2main_8cpp.html - 1ef8e25405af12f87fccb8234100ff48 - - - - QString - Certificat - server_2main_8cpp.html - 7c4a8535aba5b84e1c2c912114b764a4 - - - - bool - daemonize - server_2main_8cpp.html - 9c8772330cb4ae19acb959dd44d023d2 - - - - Server * - myserver - server_2main_8cpp.html - 0821293bd36d12877c459a0bd92114a8 - - - - QString - Private_key - server_2main_8cpp.html - f74bba0767ddc4540620bdce1ef503d4 - - - - QString - ssl_password - server_2main_8cpp.html - ca81aafcf3f24b84a1fa97d47bb7a647 - - - - - main_windows.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - main__windows_8cpp - - - main_windows.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - main__windows_8h - main_windows - MyApplication - - void - debugQt - main__windows_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - QString - auteur_qtsmbstatus - main__windows_8h.html - 294a13e016cf686c449e4e93eb199b63 - - - - bool - autoconnect - main__windows_8h.html - 9ec78319c4910082cd06445737f01494 - - - - QString - date_qtsmbstatus - main__windows_8h.html - 517d094eb372564eb4e6d706bcad0bb2 - - - - bool - debug_qtsmbstatus - main__windows_8h.html - 2c63f690768c323d694a4d25e80dd912 - - - - QString - mail_qtsmbstatus - main__windows_8h.html - e34b42086880f0defc75d5dba79bbac5 - - - - QString - version_qtsmbstatus - main__windows_8h.html - be7655986b4d2d6776180c1e69cedee7 - - - - QString - web_qtsmbstatus - main__windows_8h.html - 3887059b00b1b4e6e1f62aae07d7a4d5 - - - - - client/moc_clientsocket.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - client_2moc__clientsocket_8cpp - - static const uint - qt_meta_data_ClientSocket - client_2moc__clientsocket_8cpp.html - 285534a53f015795d2de41056ca12ae6 - [] - - - static const char - qt_meta_stringdata_ClientSocket - client_2moc__clientsocket_8cpp.html - 9b6e1c0edcbf47fa6b96c3080402eee3 - [] - - - - server/moc_clientsocket.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - server_2moc__clientsocket_8cpp - - static const uint - qt_meta_data_ClientSocket - server_2moc__clientsocket_8cpp.html - 285534a53f015795d2de41056ca12ae6 - [] - - - static const char - qt_meta_stringdata_ClientSocket - server_2moc__clientsocket_8cpp.html - 9b6e1c0edcbf47fa6b96c3080402eee3 - [] - - - - moc_clientssl.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - moc__clientssl_8cpp - - static const uint - qt_meta_data_ClientSSL - moc__clientssl_8cpp.html - 873ca7fdcbd5a2fff53af406d74143d7 - [] - - - static const char - qt_meta_stringdata_ClientSSL - moc__clientssl_8cpp.html - 97a4448c06730ec2ffd303853e9413b8 - [] - - - - moc_configure_windows.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - moc__configure__windows_8cpp - - static const uint - qt_meta_data_configure_windows - moc__configure__windows_8cpp.html - ef2fdcf3372acba21f102077d0836c19 - [] - - - static const char - qt_meta_stringdata_configure_windows - moc__configure__windows_8cpp.html - 82616b7047bb2ae19364dc354ffc294c - [] - - - - moc_disconnect_manager.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - moc__disconnect__manager_8cpp - - static const uint - qt_meta_data_disconnect_manager - moc__disconnect__manager_8cpp.html - 637f91a54477bac6637eab87c93458e0 - [] - - - static const char - qt_meta_stringdata_disconnect_manager - moc__disconnect__manager_8cpp.html - beeb1602685417f265fe60d54acd2aaa - [] - - - - moc_linecore.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - moc__linecore_8cpp - - static const uint - qt_meta_data_LineCore - moc__linecore_8cpp.html - 79ec9ab05a65dc43c48e30de57ce6978 - [] - - - static const char - qt_meta_stringdata_LineCore - moc__linecore_8cpp.html - 222011607d932dc97c8add47353df416 - [] - - - - moc_log.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - moc__log_8cpp - - static const uint - qt_meta_data_LogForm - moc__log_8cpp.html - 674b331b182e88a7dfe46ab752961fa6 - [] - - - static const char - qt_meta_stringdata_LogForm - moc__log_8cpp.html - 9452326b6c5db5b82dcd79ecbaee17e0 - [] - - - - moc_login_windows.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - moc__login__windows_8cpp - - static const uint - qt_meta_data_login_windows - moc__login__windows_8cpp.html - 4c3102cd760c726c702b987526706453 - [] - - - static const char - qt_meta_stringdata_login_windows - moc__login__windows_8cpp.html - 9192d05ffaa5bbb4971f3ac6e29fdfbb - [] - - - - moc_main_windows.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - moc__main__windows_8cpp - - static const uint - qt_meta_data_main_windows - moc__main__windows_8cpp.html - 1c17b0460793fadcbdaf26c191410dd7 - [] - - - static const uint - qt_meta_data_MyApplication - moc__main__windows_8cpp.html - 5556019f687c97b1564d69535e9370c0 - [] - - - static const char - qt_meta_stringdata_main_windows - moc__main__windows_8cpp.html - 4481b5cf7fdd790b23eba7a7d6bc64df - [] - - - static const char - qt_meta_stringdata_MyApplication - moc__main__windows_8cpp.html - 77f93cec559742d32874d06ae4c52242 - [] - - - - moc_process_smbd_exist.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - moc__process__smbd__exist_8cpp - - static const uint - qt_meta_data_process_smbd_exist - moc__process__smbd__exist_8cpp.html - e5f6716aa72ea87a2f2bcaae4487b877 - [] - - - static const char - qt_meta_stringdata_process_smbd_exist - moc__process__smbd__exist_8cpp.html - a586114141830ad2014d7e2111f3e32f - [] - - - - moc_sendmessage_manager.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - moc__sendmessage__manager_8cpp - - static const uint - qt_meta_data_Sendmessage_manager - moc__sendmessage__manager_8cpp.html - e714ecd63d06000c37a385ebf6f73e8c - [] - - - static const char - qt_meta_stringdata_Sendmessage_manager - moc__sendmessage__manager_8cpp.html - 264c2ac4bb6ef5626aa78d843f8d76bf - [] - - - - moc_server.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - moc__server_8cpp - - static const uint - qt_meta_data_Server - moc__server_8cpp.html - 9dea57c9499d6063fda4fb95f3394ab1 - [] - - - static const char - qt_meta_stringdata_Server - moc__server_8cpp.html - e13be32436878cbc89dc3945bc09ab50 - [] - - - - moc_smbmanager.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - moc__smbmanager_8cpp - - static const uint - qt_meta_data_smbmanager - moc__smbmanager_8cpp.html - 968f412c5d058701ae228153ec9a9cd6 - [] - - - static const char - qt_meta_stringdata_smbmanager - moc__smbmanager_8cpp.html - 3643817f0890036dce8f9278625bdc67 - [] - - - - moc_smbstatus.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - moc__smbstatus_8cpp - - static const uint - qt_meta_data_smbstatus - moc__smbstatus_8cpp.html - 354823b2a91550450a2532e54bf9e017 - [] - - - static const char - qt_meta_stringdata_smbstatus - moc__smbstatus_8cpp.html - d1367fea7e377a7d01d27cca39d98032 - [] - - - - mysortfilterproxymodel.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - mysortfilterproxymodel_8cpp - - - mysortfilterproxymodel.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - mysortfilterproxymodel_8h - MySortFilterProxyModel - - - pam.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - pam_8cpp - - int - auth - pam_8cpp.html - b5187bccabd9bd1a794f5e06d657a400 - (char *username, char *passwd) - - - int - checkUserPass_real - pam_8cpp.html - 3f0dfd517bbf75129127ec9f4e822c01 - () - - - static int - pamConversationFunction - pam_8cpp.html - 0a81280618b2912acf7522a50756fe53 - (int num_msg, const struct pam_message **msg, struct pam_response **resp, void *appdata_ptr) - - - static char * - pamPassword - pam_8cpp.html - fdaeb3cbc0bba5b088aa0c7708b2a0b5 - - - - static char * - pamUsername - pam_8cpp.html - 3c2e6a888e77100d933cee4f50f468b2 - - - - - pam.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - pam_8h - - #define - PAM_SERVICE_NAME - pam_8h.html - 997d378a2f03d8f828975f309a01004f - - - - int - auth - pam_8h.html - b5187bccabd9bd1a794f5e06d657a400 - (char *username, char *passwd) - - - - pamthread.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - pamthread_8cpp - - - pamthread.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - pamthread_8h - PamThread - - void - debugQt - pamthread_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - - process_smbd_exist.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - process__smbd__exist_8cpp - - - process_smbd_exist.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - process__smbd__exist_8h - process_smbd_exist - - void - debugQt - process__smbd__exist_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - - qrc_client.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - qrc__client_8cpp - - int - qCleanupResources_client - qrc__client_8cpp.html - e81bdceca62b40c4535e51604b3869a1 - () - - - int - qInitResources_client - qrc__client_8cpp.html - 9b20b99e3384406d79984f71711207c7 - () - - - static const unsigned char - qt_resource_data - qrc__client_8cpp.html - 67a985282ed24629b630f624b668842b - [] - - - static const unsigned char - qt_resource_name - qrc__client_8cpp.html - 7931167bf9d7e883e4194a60d031e431 - [] - - - static const unsigned char - qt_resource_struct - qrc__client_8cpp.html - 37a83d7da2ee18badcd100d79aac64d4 - [] - - - - qtsmbstatus.xpm - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - qtsmbstatus_8xpm - - static char * - qtsmbstatus_xpm - qtsmbstatus_8xpm.html - 4deaa9093f41b687ed8cd298da3d01ac - [] - - - - sendmessage_manager.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - sendmessage__manager_8cpp - - - sendmessage_manager.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - sendmessage__manager_8h - Sendmessage_manager - - void - debugQt - sendmessage__manager_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - - client/server.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - client_2server_8cpp - - - server/server.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - server_2server_8cpp - - int - pem_passwd_cb - server_2server_8cpp.html - ce0e97c364ce1ffb36a0db41d7dc427c - (char *buf, int size, int rwflag, void *password) - - - - client/server.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - client_2server_8h - server - type_message - - void - debugQt - client_2server_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - QList< Q3ListViewItem * > - Q3ListViewItemList - client_2server_8h.html - 2e030f72278b6e5bbaa0c9bb9d5f594f - - - - - server/server.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - server_2server_8h - Server - - SSL_CTX * - ssl_ctx - server_2server_8h.html - 500f2070b7b9f34238a51cbf8f9b5024 - - - - - service.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - service_8cpp - - - service.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - service_8h - service - - void - debugQt - service_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - QList< Q3ListViewItem * > - Q3ListViewItemList - service_8h.html - 2e030f72278b6e5bbaa0c9bb9d5f594f - - - - - smbmanager.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - smbmanager_8cpp - - - smbmanager.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - smbmanager_8h - smbmanager - - void - debugQt - smbmanager_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - - smbstatus.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - smbstatus_8cpp - - - smbstatus.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - smbstatus_8h - smbstatus - - void - debugQt - smbstatus_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - - ui_configure.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - ui__configure_8h - Ui - Ui::configure - Ui_configure - - - ui_form_smbstatus.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - ui__form__smbstatus_8h - Ui - Ui::form_smbstatus - Ui_form_smbstatus - - - ui_log.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - ui__log_8h - Ui - Ui::logform - Ui_logform - - - ui_login_dialog.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - ui__login__dialog_8h - Ui - Ui::login_dialog - Ui_login_dialog - - - user.cpp - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - user_8cpp - - - user.h - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - user_8h - user - - void - debugQt - user_8h.html - d9c43c958977111febf4aa8b6a76a63a - (const QString &message) - - - QList< Q3ListViewItem * > - Q3ListViewItemList - user_8h.html - 2e030f72278b6e5bbaa0c9bb9d5f594f - - - - - ClientSocket - classClientSocket.html - - void - socketConnectionClose - classClientSocket.html - 6fdd1dc458849ee2d78b36d7974c3423 - () - - - void - SignalClosed - classClientSocket.html - e8c3aa82db7b889916b60206f63e9e28 - () - - - void - SignalConnected - classClientSocket.html - 2583f76665c6301bdd8d188b9f152820 - () - - - void - SignalErrorAuth - classClientSocket.html - 55a3e6741bee538dddee83ead8bc7efa - () - - - void - SignalShortMessage - classClientSocket.html - 5adad7acd113397051eafe736ac83b39 - (const QString &) - - - - ClientSocket - classClientSocket.html - d73abc6990800ffc9be57bf53b701757 - (const int &sock, QObject *parent=0) - - - - ClientSocket - classClientSocket.html - c8b1adad5872a84b556afb8d821c08b8 - (Q3ListView *mylistView, QObject *parent=0) - - - void - connectionToServer - classClientSocket.html - 66e8e148e2bde58670d5b3dbbb8bff85 - (const QString &username, const QString &passwd) - - - void - Disconnect - classClientSocket.html - b0b41cf0951ad88a07a99d6cb304ee9e - () - - - virtual - ~ClientSocket - classClientSocket.html - 9c8af4fc4f56b62ef0ff7d67037f65a3 - () - - - virtual - ~ClientSocket - classClientSocket.html - ef5d9c1c9b443124b820521276b175ca - () - - - static int - compteur_objet - classClientSocket.html - 1168701b0e1bd0ec618c3237977f1cdb - - - - command - e7ec12d38341af91859f6ada4da81ee5 - - - - auth_rq - e7ec12d38341af91859f6ada4da81ee558a736d847e54d7f586fcd1160517e2a - - - - auth_ack - e7ec12d38341af91859f6ada4da81ee5795dd8bf1d3641b2d4f31786f636b388 - - - - end - e7ec12d38341af91859f6ada4da81ee5e4a1bf965256b836cb0f5e768188ce1f - - - - kill_user - e7ec12d38341af91859f6ada4da81ee55fb40769ac04ad82afb17527829bb013 - - - - send_msg - e7ec12d38341af91859f6ada4da81ee5d3ef740d8851109c512324030fc7f758 - - - - smb_rq - e7ec12d38341af91859f6ada4da81ee56fd07d584f994468d77d27e2f034e681 - - - - smb_data - e7ec12d38341af91859f6ada4da81ee533f4f1fd396fd2e948116610000fa692 - - - - end_smb_rq - e7ec12d38341af91859f6ada4da81ee51c4b649ec440bcca330141ab81a783e0 - - - - not_imp1 - e7ec12d38341af91859f6ada4da81ee56955930f3c3a3c7b3ac9f209f8b2e0f1 - - - - server_info - e7ec12d38341af91859f6ada4da81ee5175120f973a8a58652bce3bbc9cc4fcb - - - - error_auth - e7ec12d38341af91859f6ada4da81ee5430f81f22fea3d10dc8ec55915453615 - - - - error_command - e7ec12d38341af91859f6ada4da81ee5dbd6c7352f1b22ccaff943cf7ddd4eab - - - - error_obj - e7ec12d38341af91859f6ada4da81ee593192355ba6c9af3ec25d9596da92694 - - - - echo_request - e7ec12d38341af91859f6ada4da81ee505d595935488f5b8efe7fde20c1dfe44 - - - - echo_reply - e7ec12d38341af91859f6ada4da81ee5aa0a338df630814c5d9e92df4feac319 - - - - auth_rq - e7ec12d38341af91859f6ada4da81ee558a736d847e54d7f586fcd1160517e2a - - - - auth_ack - e7ec12d38341af91859f6ada4da81ee5795dd8bf1d3641b2d4f31786f636b388 - - - - end - e7ec12d38341af91859f6ada4da81ee5e4a1bf965256b836cb0f5e768188ce1f - - - - kill_user - e7ec12d38341af91859f6ada4da81ee55fb40769ac04ad82afb17527829bb013 - - - - send_msg - e7ec12d38341af91859f6ada4da81ee5d3ef740d8851109c512324030fc7f758 - - - - smb_rq - e7ec12d38341af91859f6ada4da81ee56fd07d584f994468d77d27e2f034e681 - - - - smb_data - e7ec12d38341af91859f6ada4da81ee533f4f1fd396fd2e948116610000fa692 - - - - end_smb_rq - e7ec12d38341af91859f6ada4da81ee51c4b649ec440bcca330141ab81a783e0 - - - - not_imp1 - e7ec12d38341af91859f6ada4da81ee56955930f3c3a3c7b3ac9f209f8b2e0f1 - - - - server_info - e7ec12d38341af91859f6ada4da81ee5175120f973a8a58652bce3bbc9cc4fcb - - - - error_auth - e7ec12d38341af91859f6ada4da81ee5430f81f22fea3d10dc8ec55915453615 - - - - error_command - e7ec12d38341af91859f6ada4da81ee5dbd6c7352f1b22ccaff943cf7ddd4eab - - - - error_obj - e7ec12d38341af91859f6ada4da81ee593192355ba6c9af3ec25d9596da92694 - - - - echo_request - e7ec12d38341af91859f6ada4da81ee505d595935488f5b8efe7fde20c1dfe44 - - - - echo_reply - e7ec12d38341af91859f6ada4da81ee5aa0a338df630814c5d9e92df4feac319 - - - - command - e7ec12d38341af91859f6ada4da81ee5 - - - - auth_rq - e7ec12d38341af91859f6ada4da81ee558a736d847e54d7f586fcd1160517e2a - - - - auth_ack - e7ec12d38341af91859f6ada4da81ee5795dd8bf1d3641b2d4f31786f636b388 - - - - end - e7ec12d38341af91859f6ada4da81ee5e4a1bf965256b836cb0f5e768188ce1f - - - - kill_user - e7ec12d38341af91859f6ada4da81ee55fb40769ac04ad82afb17527829bb013 - - - - send_msg - e7ec12d38341af91859f6ada4da81ee5d3ef740d8851109c512324030fc7f758 - - - - smb_rq - e7ec12d38341af91859f6ada4da81ee56fd07d584f994468d77d27e2f034e681 - - - - smb_data - e7ec12d38341af91859f6ada4da81ee533f4f1fd396fd2e948116610000fa692 - - - - end_smb_rq - e7ec12d38341af91859f6ada4da81ee51c4b649ec440bcca330141ab81a783e0 - - - - not_imp1 - e7ec12d38341af91859f6ada4da81ee56955930f3c3a3c7b3ac9f209f8b2e0f1 - - - - server_info - e7ec12d38341af91859f6ada4da81ee5175120f973a8a58652bce3bbc9cc4fcb - - - - error_auth - e7ec12d38341af91859f6ada4da81ee5430f81f22fea3d10dc8ec55915453615 - - - - error_command - e7ec12d38341af91859f6ada4da81ee5dbd6c7352f1b22ccaff943cf7ddd4eab - - - - error_obj - e7ec12d38341af91859f6ada4da81ee593192355ba6c9af3ec25d9596da92694 - - - - echo_request - e7ec12d38341af91859f6ada4da81ee505d595935488f5b8efe7fde20c1dfe44 - - - - echo_reply - e7ec12d38341af91859f6ada4da81ee5aa0a338df630814c5d9e92df4feac319 - - - - auth_rq - e7ec12d38341af91859f6ada4da81ee558a736d847e54d7f586fcd1160517e2a - - - - auth_ack - e7ec12d38341af91859f6ada4da81ee5795dd8bf1d3641b2d4f31786f636b388 - - - - end - e7ec12d38341af91859f6ada4da81ee5e4a1bf965256b836cb0f5e768188ce1f - - - - kill_user - e7ec12d38341af91859f6ada4da81ee55fb40769ac04ad82afb17527829bb013 - - - - send_msg - e7ec12d38341af91859f6ada4da81ee5d3ef740d8851109c512324030fc7f758 - - - - smb_rq - e7ec12d38341af91859f6ada4da81ee56fd07d584f994468d77d27e2f034e681 - - - - smb_data - e7ec12d38341af91859f6ada4da81ee533f4f1fd396fd2e948116610000fa692 - - - - end_smb_rq - e7ec12d38341af91859f6ada4da81ee51c4b649ec440bcca330141ab81a783e0 - - - - not_imp1 - e7ec12d38341af91859f6ada4da81ee56955930f3c3a3c7b3ac9f209f8b2e0f1 - - - - server_info - e7ec12d38341af91859f6ada4da81ee5175120f973a8a58652bce3bbc9cc4fcb - - - - error_auth - e7ec12d38341af91859f6ada4da81ee5430f81f22fea3d10dc8ec55915453615 - - - - error_command - e7ec12d38341af91859f6ada4da81ee5dbd6c7352f1b22ccaff943cf7ddd4eab - - - - error_obj - e7ec12d38341af91859f6ada4da81ee593192355ba6c9af3ec25d9596da92694 - - - - echo_request - e7ec12d38341af91859f6ada4da81ee505d595935488f5b8efe7fde20c1dfe44 - - - - echo_reply - e7ec12d38341af91859f6ada4da81ee5aa0a338df630814c5d9e92df4feac319 - - - - void - add_lockedfile - classClientSocket.html - 2b20a562ece84d60e875ff19df3fc8da - (const QString &, const QString &, const QString &, const QString &, const QString &, const QString &) - - - void - add_share - classClientSocket.html - bea6b076f63b7f8550c466960b0e598f - (const QString &, const QString &, const QString &) - - - void - add_user - classClientSocket.html - 32e4d25e9331607e302153401252d7a2 - (const QString &, const QString &, const QString &, const QString &, const QString &) - - - void - AnalysisSmbDestroyed - classClientSocket.html - a29d7dd5926072764f256e756273fd87 - () - - - void - core - classClientSocket.html - a9b2ba004a8ae839e2d7840841333da6 - (const Q3CString &rcv_txt) - - - void - Exception - classClientSocket.html - 49cdc5feea1c014d18722fc57da16407 - () - - - void - InfoMachine - classClientSocket.html - 8ac11b11af8ef90c3f3b9cf6b7f3baee - () - - - void - InfoServer - classClientSocket.html - 13676bd7d1ac205acc1501ccf808cb08 - () - - - void - InfoService - classClientSocket.html - 9d3b5a5bc432dbe3ef366490cee45718 - () - - - void - InfoUser - classClientSocket.html - e5cd5a8817fd5a9ed6b355826bc5123d - () - - - void - ObjError - classClientSocket.html - e0113dc344f45573b77f5679b959c35b - (const QString &error_txt) - - - void - readClient - classClientSocket.html - 36d47d8fa1deaa9d7075c53a94fde6d5 - () - - - void - setSambaVersion - classClientSocket.html - 8f07d912a3d40a45742ef966ad435503 - (const QString &) - - - void - slot_echo_timer - classClientSocket.html - 606177e51c7cddf29906ceae80305d0b - () - - - void - slot_echo_timer - classClientSocket.html - 606177e51c7cddf29906ceae80305d0b - () - - - void - slot_pam - classClientSocket.html - 32dbdd4a62f451bac6aea51925360d58 - () - - - void - slot_smbstatus - classClientSocket.html - 68570ff1ad08ff0e16e45e3753188cd5 - (const QStringList &) - - - void - slot_timer - classClientSocket.html - be22cb097e856a3b8dd820339ddf33b7 - () - - - void - slotDisconnectUser - classClientSocket.html - 1638dcf207ef633ee9eb93d16a24249a - () - - - void - slotPopupMenu - classClientSocket.html - 7f61c72de5d642d9026f7f6ba447481c - (Q3ListViewItem *, const QPoint &, int) - - - void - slotSendMessage - classClientSocket.html - 391208f808a244ab4d64f4ba4761e5a4 - () - - - void - slotSendMessageAllUsers - classClientSocket.html - b4b631d576526215dd9f8efdd2fa0b11 - () - - - void - socketclosed - classClientSocket.html - 4e6c610d7161e42b94bb9d48b5c7c321 - () - - - void - socketconnected - classClientSocket.html - 01021ed0fa7991ab1e743cc5a0c1679a - () - - - void - UnreachableHost - classClientSocket.html - ea8c70c1a8dc343a06e28f4181b0c836 - () - - - void - AnalysisSmbstatus - classClientSocket.html - 9fbda2add90a101a6116bc239cdac9e0 - () - - - void - CmdAuthRq - classClientSocket.html - 38f5e1721503cd1c05a8f28ab56c6a9a - (const QString &texte) - - - void - CmdKillUser - classClientSocket.html - d292256c8e1209768be19d91ba23a3e1 - (const QString &texte) - - - void - CmdSendMsg - classClientSocket.html - c3d09c6f781aa68d67889e37a7c918cc - (const QString &texte) - - - void - CmdSmbRq - classClientSocket.html - 01519f8347056b531d88cb7054ddecbe - () - - - void - core - classClientSocket.html - a9b2ba004a8ae839e2d7840841333da6 - (const Q3CString &rcv_txt) - - - void - infoserver - classClientSocket.html - 2a2e887cfd39e9d00779fe829ae39527 - (const QString &text) - - - void - sendToClient - classClientSocket.html - b9b2b67beebbed4e56d080edb91c4595 - (int cmd, const QString &em_txt="") - - - void - sendToServer - classClientSocket.html - 81c4e53be07a154309aa8bbcdcfb460e - (int cmd, const QString &inputText="") - - - bool - AuthUser - classClientSocket.html - 580c47cbc5391d721f2fc94d0853c826 - - - - Q3ListViewItem * - currentPopupMenuItem - classClientSocket.html - 20ba822aa79cadca01e71cb44d77b709 - - - - int - echo - classClientSocket.html - 5167fed613e642fb4f816bf9744c22b6 - - - - QTimer * - echo_timer - classClientSocket.html - bd9ba4ccd060ec0feb1f08e5605ffa43 - - - - QTimer * - echo_timer - classClientSocket.html - bd9ba4ccd060ec0feb1f08e5605ffa43 - - - - smbstatus * - InstanceSmbstatus - classClientSocket.html - ec684e9b6e8acb854a907fc44f0fab0c - - - - server * - item_server - classClientSocket.html - 8b8332552bc4430da0d6db7ab3f85de4 - - - - QStringList - ListSmbstatus - classClientSocket.html - 81857115140ee3e1296f51dc46f70154 - - - - Q3ListView * - listView - classClientSocket.html - 726a4e42923baa7034e2a9bdd8e092af - - - - Q3PopupMenu * - menu - classClientSocket.html - 240fc67b69d20c9173100c19414a57f2 - - - - QErrorMessage * - msgError - classClientSocket.html - 0cf4eba26c48e11078ff00541e11bc61 - - - - PamThread * - pamthread - classClientSocket.html - 415791cbf592602da91a317ed87bf48a - - - - QString - passwd_login - classClientSocket.html - afdade1100503de2e6b00c7f413fe52b - - - - bool - permitDisconnectUser - classClientSocket.html - f110e7441f09b81d11bfef11137c3e45 - - - - bool - permitSendMsg - classClientSocket.html - dff946a6baece1034eec80733a48d296 - - - - QSocketNotifier * - sn_exception - classClientSocket.html - 5dc2e804c97a75b78007ca9fc3b5fead - - - - QSocketNotifier * - sn_read - classClientSocket.html - c3ae7ac45343ebc8d4820d5677ccba42 - - - - int - socket - classClientSocket.html - 49e6de58058f2d3d0f5ae5be2d774d35 - - - - ClientSSL * - socketclient - classClientSocket.html - 614ec9dbf676a9f83a6830e289014b30 - - - - Q3SocketDevice * - socketdevice - classClientSocket.html - 65e2c812b0a0059e49a95474965c0ccc - - - - SSL * - ssl - classClientSocket.html - 99c4147b4ef5f79db94caaad534fcde4 - - - - bool - ssl_connected - classClientSocket.html - ff276e84e58229a529f7dd851c02aae3 - - - - bool - SSL_init - classClientSocket.html - cc61ad5b9a8edd9f42eefef3ec872e34 - - - - QTimer * - timer - classClientSocket.html - ae9983381521db75deb54ee379ab6d4f - - - - QTimer * - timer - classClientSocket.html - ae9983381521db75deb54ee379ab6d4f - - - - QString - username_login - classClientSocket.html - 56593d1335c06a53c84f49373f0e0fe2 - - - - static int - TimoutTimerEcho - classClientSocket.html - 07184e4533439b2c45addc8c586a4e49 - - - - - ClientSSL - classClientSSL.html - - void - info - classClientSSL.html - 4ebc738f27b10ab0480d082496da2f51 - (const QString &) - - - void - readFromHost - classClientSSL.html - 863673231cfefad4d97d03df69dcb59d - (const Q3CString &) - - - void - socketclosed - classClientSSL.html - c53d2fbe83088edbffd73db77fcf96d2 - () - - - void - socketconnected - classClientSSL.html - 8859d4da330f65b17c1088771ec2eeff - () - - - void - Socketerror - classClientSSL.html - 4f10e16462faca326012fc407dcbc892 - () - - - void - UnreachableHost - classClientSSL.html - e53bd4ba6358bde00dfe98ae50d78527 - () - - - - ClientSSL - classClientSSL.html - 9a4ffc72a7553674570f569e0c4c3b0f - (QObject *parent=0) - - - void - closeConnection - classClientSSL.html - c3b29c2da46322535d331098da6fac62 - () - - - void - Connect - classClientSSL.html - 45d1a47d1121f375693780ad070e771c - (const QString &d_host, Q_UINT16 d_port) - - - void - sendToServer - classClientSSL.html - c47692d179161486129a7ba05f08ae80 - (const QString &inputText="") - - - virtual - ~ClientSSL - classClientSSL.html - d93bbd40ffe5d7b43ab09c90b4bad133 - () - - - static int - compteur_objet - classClientSSL.html - 95f874a7f28cc429a8bf8c7bb9369bb5 - - - - void - connectToHost - classClientSSL.html - 88642c6eae921a90f37c3655f4e8a326 - () - - - void - Exception - classClientSSL.html - ede1af93d96d06748aec9bcb743cd7f1 - () - - - void - ResolveName - classClientSSL.html - a5bb2478a7017ddce0b03868eb472a18 - (QHostInfo host_info) - - - void - socketClosed - classClientSSL.html - c801d96c1e5779346f72375994dc5b6e - () - - - void - socketConnected - classClientSSL.html - 0bbb27e82e41ad6d2021b56461acbe4f - () - - - void - socketReadyRead - classClientSSL.html - cb9b11a844e69c27e3ec137ce604fdca - () - - - QString - host - classClientSSL.html - bf9de474f6255e1c0bdb2040c91bce29 - - - - Q_UINT16 - port - classClientSSL.html - 913b03d6d2b19771621bffd5742ef179 - - - - QSocketNotifier * - sn_exception - classClientSSL.html - 870f2404b74d9c429e2fa4a5424f7ac0 - - - - QSocketNotifier * - sn_read - classClientSSL.html - 468837ac0455a3bb03288b4f07f90217 - - - - Q3SocketDevice * - socketdevice - classClientSSL.html - b3e86733da591bfb9d057ac971190bbb - - - - SSL * - ssl - classClientSSL.html - 9552fdb9e57ef0b9b629810b5d527f4b - - - - SSL_CTX * - ssl_ctx - classClientSSL.html - 6895a45a099ed5daa95a92532af3c625 - - - - bool - SSL_init - classClientSSL.html - d3abdcad39bde9f66ba4876556a7eee6 - - - - - configure_windows - classconfigure__windows.html - Ui::configure - - void - configuration_changed - classconfigure__windows.html - 0ed9cd8a34d2c8edcf35fabda19da71d - () - - - - configure_windows - classconfigure__windows.html - 05963e6321a0c5d026e873cac584bd5e - (QWidget *parent=0) - - - virtual - ~configure_windows - classconfigure__windows.html - c7c17e5ae8df21495034c9a041afcdd7 - () - - - virtual void - on_checkIcon_toggled - classconfigure__windows.html - a8189baf334920fb74a9070381b4e6f5 - (bool) - - - virtual void - on_checkLogActivity_toggled - classconfigure__windows.html - f3070f8af798f6fd1fc2b1f02489864e - (bool checked) - - - virtual void - SlotOk - classconfigure__windows.html - dc47775ba5f9e3a906fae5b877d31c1e - () - - - - core_syntax - classcore__syntax.html - - - core_syntax - classcore__syntax.html - b265a85a0f5f032334d97c7f1a09e0be - (const QString &="") - - - QString - returnArg - classcore__syntax.html - 586c473f77defd5df3831955b794ef61 - (int index) - - - void - setValue - classcore__syntax.html - 8f15d25a92367220a6a1068fa17743bc - (const QString &) - - - virtual - ~core_syntax - classcore__syntax.html - 164406f919739c4e259ecff6f7a363b1 - () - - - QString - myTxt - classcore__syntax.html - 7edf553000c801a0acffab505c6692ab - - - - - disconnect_manager - classdisconnect__manager.html - - void - ObjError - classdisconnect__manager.html - fb8bae00176f076778d0e5093261e489 - (const QString &) - - - - disconnect_manager - classdisconnect__manager.html - 6d4be9dfa3ead10a8e619be1024d1ac1 - (const QString &MyPID, const QString &USER, QObject *parent=0) - - - virtual - ~disconnect_manager - classdisconnect__manager.html - 1db18c9a74031e42760c09208f74fd1d - () - - - static int - compteur_objet - classdisconnect__manager.html - 6fef939f34306ad6c624d6f82272bcf8 - - - - begin - 1578523942a422fdfe04a4719a50174bf2dc408506e6a02f361ec2cc0974bfad - - - - error - 1578523942a422fdfe04a4719a50174b0162793b45fb7134fb406648c96a5679 - - - - void - end_process - classdisconnect__manager.html - a6dea12552eeeaa485750d5aae646a06 - () - - - void - ReadStderr - classdisconnect__manager.html - cab3a8c5f18aa6bf69b6435dd165c4e5 - () - - - bool - error_proc - classdisconnect__manager.html - b93cb220c4c6d1a2ff2797394152f1f6 - - - - QString - MyPid - classdisconnect__manager.html - 2ee47beabe0bf04cf112800e1c7a7116 - - - - Q3Process * - proc - classdisconnect__manager.html - f35d52454b5dbbdd2d312ce50db4d812 - - - - enum disconnect_manager::@4 - State - classdisconnect__manager.html - dbd07a8b5a433287ffce03728ce14828 - - - - QString - user - classdisconnect__manager.html - 0017c96ee5e60a20f2439d7a0d7594dc - - - - - LineCore - classLineCore.html - - void - Analysis - classLineCore.html - ca52476b0767989c894abd6e3f889b68 - (const QString &OneLine) - - - bool - InitElement - classLineCore.html - 74704e8a24efcb3634e1bd9a6d9331d6 - (QString element) - - - void - InitHeader - classLineCore.html - a24620aec4e0c29fa23faccbc6d9c6f7 - (const QString &OneHeader) - - - - LineCore - classLineCore.html - 24b102e7fa8d4275a8ac5743b2a5c583 - (QObject *parent=0) - - - QString - ReturnElement - classLineCore.html - d59545925e9d056b69f7f0a3fc6966b5 - (QString element) - - - void - SortElements - classLineCore.html - 110659fce98b326c2e96efd92aa3c8cb - () - - - - ~LineCore - classLineCore.html - 1f19f6099a0bb2a8699b38fce0d23ad5 - () - - - static int - compteur_objet - classLineCore.html - 626e251c2ff6e7bbd9c2fd57bd1a5a5d - - - - Q3ValueList< record > - recordList - classLineCore.html - 74d3d5b72fb99c8aa8bb34d7ffa926e1 - - - - bool - analysisProc - classLineCore.html - 8653a88e14c819fe1a42c47daf969235 - - - - QString - header - classLineCore.html - 10f7329471049ab6910b9807a9b29b39 - - - - bool - initHead - classLineCore.html - 7862e0b5521fe85c3b70274cad0bd0ab - - - - QString - line - classLineCore.html - 6da176208aba7cb13044071c42dccb1c - - - - recordList - listElement - classLineCore.html - 8130761efbae8cfe79e3ae08381add55 - - - - static const short int - back - classLineCore.html - 65cef50148b28f9eccba8f5269596d17 - - - LineCore::record - - - LineCore::record - structLineCore_1_1record.html - - Q_INT32 - Begin - structLineCore_1_1record.html - 3f7fb11b232817db546864317205eb1f - - - - Q_INT32 - End - structLineCore_1_1record.html - fe05c325188150f1a8401f0627fa441e - - - - QString - Ident - structLineCore_1_1record.html - a6698a503d5a9453c1746e0766e69f29 - - - - Q_INT32 - New_Begin - structLineCore_1_1record.html - 60631a394ba2649a0fba10930ab3ff57 - - - - Q_INT32 - New_End - structLineCore_1_1record.html - 7524a586ab79861c767dce1ecb82395e - - - - QString - Value - structLineCore_1_1record.html - 4474242d3dfc66ccba13cc740529b2ef - - - - - LogForm - classLogForm.html - Ui::logform - - void - append - classLogForm.html - 154310f41161b4af0603daa360771ed7 - (const type_message &) - - - void - eraseOldLog - classLogForm.html - aae981320d4c4a323eaf310d7f407482 - () - - - void - on_clearButton_clicked - classLogForm.html - a07b9af8c1e3a9ebacaea811c8fbf9ee - () - - - void - on_filterEdit_textChanged - classLogForm.html - 202aec640e36418ff2219147bd44b3c2 - () - - - - LogForm - classLogForm.html - 5c26f0d3c1145ce2b1a27368ec74b352 - (QWidget *parent=0) - - - void - setHeader - classLogForm.html - 5cebeb2b99ca0a0c55a5e0d1d1324833 - () - - - virtual - ~LogForm - classLogForm.html - 037c00b91527d9015cb19156462fd741 - () - - - void - on_checkFile_stateChanged - classLogForm.html - 4205e9a85e1a00fe89c42bb472c4a2a0 - (int state) - - - void - on_checkShare_stateChanged - classLogForm.html - aa3175f103790230f79e0dd04ff9047e - (int state) - - - void - on_SaveLogButton_clicked - classLogForm.html - 576c71ba2f2cf814035e7c5a11a70fe6 - () - - - QStandardItemModel * - model - classLogForm.html - 71e626dd85e9f0d2df77f262fd76e00e - - - - MySortFilterProxyModel * - proxyModel - classLogForm.html - 93f2552c1b1072c88475bc9b0592cd55 - - - - - login_windows - classlogin__windows.html - Ui::login_dialog - - - login_windows - classlogin__windows.html - 3d1f4d444b1ecb8e1e443387352c26eb - (QWidget *parent=0) - - - virtual - ~login_windows - classlogin__windows.html - 69f9f3bec83fa5f7a16ae11a8d5531ae - () - - - virtual void - Slot_login_button - classlogin__windows.html - 52fd981a374eb2d5ef9e9c5bef4b081c - () - - - - machine - classmachine.html - - void - append_user - classmachine.html - 531cccdc523f1d35a4abd25d7447bdc9 - (const QString &PID, const QString &Name, const QString &Group) - - - - machine - classmachine.html - c0f9f4577730f43024099db2fb7349de - (Q3ListViewItem *parent, const QString &PID, const QString &Username, const QString &Group, const QString &MachineName, const QString &MachineIP) - - - void - mark_childs - classmachine.html - 68259b8b7d38e93cf28a9822f8aa3bc6 - () - - - void - refresh_childs - classmachine.html - cdb4a17a9d5ac1b710d549582462ed24 - () - - - virtual - ~machine - classmachine.html - 0e7c71cf31b616c8017ad968edd61414 - () - - - QString - machine_ip - classmachine.html - 206909b8fa59b5e9839f267304a26283 - - - - QString - machine_name - classmachine.html - 5cbccbc405f7cf903c8f1576f47482ee - - - - bool - mark - classmachine.html - 27acc0d004f4f52708ad0bee0aaf1325 - - - - static int - compteur_objet - classmachine.html - 2bc65202ddd098ba5fe65fa8ae7c34ef - - - - - main_windows - classmain__windows.html - Ui::form_smbstatus - - void - beforeQuit - classmain__windows.html - 01f0663c21dd93c1a2f4e445f1048903 - () - - - void - refreshviewlog - classmain__windows.html - 8dba24b674876b92b85162a6bd3f0fd2 - (const type_message &) - - - - main_windows - classmain__windows.html - d65ad80a8bc58c12cc2a90e78500e401 - (QWidget *parent=0) - - - virtual - ~main_windows - classmain__windows.html - 4b75c579f98c24904b5a96cf695ec491 - () - - - virtual void - closeEvent - classmain__windows.html - 480d7eb1400768c3f80f005826695a09 - (QCloseEvent *e) - - - T_Direction - 8509ea0c4ac66d6ac483b8d7e714923c - - - - to_first - 8509ea0c4ac66d6ac483b8d7e714923cb48a19645d62be5236a9bb06b42b7fd8 - - - - to_preview - 8509ea0c4ac66d6ac483b8d7e714923c055de3c5a56449de6a3bb19d50d68fd9 - - - - to_next - 8509ea0c4ac66d6ac483b8d7e714923c8670c9e7f8432a1baf97e550e1f15848 - - - - T_Item - 70c6c697dc04e0a7e233d9a1ae5cee3f - - - - T_All - 70c6c697dc04e0a7e233d9a1ae5cee3fda19032d96249f8e971c56fbafa8187a - - - - T_Machine - 70c6c697dc04e0a7e233d9a1ae5cee3f0650f605032230185e2e0a0bb7272a84 - - - - T_User - 70c6c697dc04e0a7e233d9a1ae5cee3f7869ef6b0e643be621a766adedf3701b - - - - T_Share - 70c6c697dc04e0a7e233d9a1ae5cee3f8fe3c494bc2afa761ded9cf944ec28be - - - - T_File - 70c6c697dc04e0a7e233d9a1ae5cee3fe6d72813f15444a6cf2edb66e6cd4ea1 - - - - virtual void - AllSearchSlot - classmain__windows.html - aa88524601e24098fa13110eacb168e6 - () - - - void - configuration_changed - classmain__windows.html - 8a50263ea813885b5a75f0bc9a42f483 - () - - - virtual void - ConfigureSlot - classmain__windows.html - 644e116a6046db60ad5d2f722b72b900 - () - - - virtual void - FileSearchSlot - classmain__windows.html - e635124a3fda769331aaa7fb0c3406ef - () - - - virtual void - helpAbout - classmain__windows.html - 72a997fd1c0b6303d60188ea6d3d2fee - () - - - virtual void - helpAboutQt - classmain__windows.html - 90463d38208236c0734d337bb1beb6f2 - () - - - void - InfoSMB - classmain__windows.html - 0a1ae83d6c832ccf61888dfe270e2ea3 - () - - - virtual void - MachineSearchSlot - classmain__windows.html - eaab3a5e52af8b8fa1319b447ffcf9ff - () - - - virtual void - NextSlot - classmain__windows.html - 2c5b3721c821bb6a2ade9ceeb28249cb - () - - - void - on_action_View_log_triggered - classmain__windows.html - f3bae99f897abbc25aefc94610da6726 - () - - - void - restore_minimize - classmain__windows.html - b30b1f9e41717cccaa3177a13d4ba279 - () - - - virtual void - ShareSearchSlot - classmain__windows.html - e82044529f02c4012e9edd23b5074e8e - () - - - virtual void - SignalErrorAuth - classmain__windows.html - ec28619ff49d9a691976232e4aca57d1 - () - - - virtual void - Slot_connect - classmain__windows.html - 35831ed2ca311e87841a95b39b996ea8 - () - - - virtual void - socketclosed - classmain__windows.html - d0ea5648deb77d534807118a0013f228 - () - - - virtual void - socketconnected - classmain__windows.html - d2b832307dc463e82c5af02b17e7f330 - () - - - void - trayicon_activated - classmain__windows.html - 40c12356e1251443ebb31c938d88a62e - (QSystemTrayIcon::ActivationReason reason) - - - virtual void - UserSearchSlot - classmain__windows.html - d06281b3930e6fee8ca5938791659b0c - () - - - void - comboBox_valid - classmain__windows.html - 212d08e30d7c62be62eb3e8845024aba - () - - - QString - getSearchStr - classmain__windows.html - cf9afc8824622c7ed9e6ca9393896a21 - (const QString &msg) - - - Q3ListViewItem * - nextItem - classmain__windows.html - 063b7f0067362e28cd0efd1d48b5800b - (Q3ListViewItem *item) - - - void - open_dialog_for_login - classmain__windows.html - 3a3d81e64435be09d08249f10c64406a - () - - - void - readHistoryFile - classmain__windows.html - 9707f4f429587bd8f449464d7bbf7852 - () - - - void - restoreWindowSize - classmain__windows.html - 693ee89281574b855e5c15edd76ac067 - () - - - void - saveWindowSize - classmain__windows.html - 718014e75f9d4a703eb528975e1764ce - () - - - void - search - classmain__windows.html - 41cff0582b8ed3841760cc2b51e9393b - (T_Item typeOfSearch, const QString &str, T_Direction direction=to_first) - - - void - selectItem - classmain__windows.html - f33c2cfd596332447e93433321115309 - (Q3ListViewItem *item) - - - void - writeHistoryFile - classmain__windows.html - f88bc021eb8505c98783c9fe711dcfde - () - - - ClientSocket * - clientsocket - classmain__windows.html - 1eb3ad6c3236c0018a88cc8f497ce8d5 - - - - QAction * - configure_action - classmain__windows.html - fc33304f25025b74f2dc6108f7b2f1b5 - - - - QAction * - connect_action - classmain__windows.html - 3402f5cd71667f6d1b29d32b5d9691be - - - - bool - connected - classmain__windows.html - d312d9c0896cb76a331ef23d304d5d17 - - - - T_Item - currentSearchItem - classmain__windows.html - a766657dd244c68f77e7e76a24e29c0e - - - - QString - currentSearchStr - classmain__windows.html - d270ca7c9a8ee0e93098a2ca35b2f384 - - - - Q3ListViewItem * - FindItem - classmain__windows.html - fb2a19692f75535974eace4e4ae14cc3 - - - - bool - firstTime - classmain__windows.html - c4679aabcaa10fc87110162dc9018be3 - - - - LogForm * - logform - classmain__windows.html - dc5dfc24f8b783a4c946d4d47dde7d1e - - - - QAction * - restore_action - classmain__windows.html - 2cc7a5e6e4c3350f4b672a7764f425b6 - - - - QSystemTrayIcon * - trayicon - classmain__windows.html - a066ae1e38cd9b2da6f6910cc5814bff - - - - QAction * - viewlog_action - classmain__windows.html - 3ce081d5f3bc1a1d73b23e6a35a2336a - - - - - MyApplication - classMyApplication.html - - void - quitMyApp - classMyApplication.html - c3258ee0f65ef98245dde9c5e84a12de - () - - - virtual void - commitData - classMyApplication.html - fc3ad9d0e07c318e9b01ddca7e079505 - (QSessionManager &manager) - - - - MyApplication - classMyApplication.html - 4b9e70ce40a83d5d4ae99253a6933c02 - (int &argc, char **argv) - - - - MySortFilterProxyModel - classMySortFilterProxyModel.html - - bool - filterAcceptsRow - classMySortFilterProxyModel.html - bb3441de1beaaab120f7129ba5e5132e - (int sourceRow, const QModelIndex &sourceParent) const - - - - MySortFilterProxyModel - classMySortFilterProxyModel.html - d7e3aa0b10979d66d7fee9ce3cb39bf4 - (QString share_label, QString file_label, QObject *parent) - - - void - setFilterFile - classMySortFilterProxyModel.html - 6897dce9394e9588d59d2ff9311fc82b - (bool) - - - void - setFilterShare - classMySortFilterProxyModel.html - 9c34751bdc5a1525395c7046e239c0a8 - (bool) - - - virtual - ~MySortFilterProxyModel - classMySortFilterProxyModel.html - ec44206d1a33325c5a4289815f6ea6c8 - () - - - QString - fileLabel - classMySortFilterProxyModel.html - e72bcb0ebf046bde335cc13988d10ec3 - - - - bool - MFile - classMySortFilterProxyModel.html - cd2fc856eb5eb407860963af72a01340 - - - - bool - MShare - classMySortFilterProxyModel.html - 17eaa34e5351196ee80523ce3ff40573 - - - - QString - shareLabel - classMySortFilterProxyModel.html - da15cc6b6c874d32d2baffacc22aca9c - - - - - PamThread - classPamThread.html - - - PamThread - classPamThread.html - 6bccbb802a27177153927ab9e3df22f6 - () - - - virtual void - run - classPamThread.html - b1ab9e6f9f1f7c53d1b078eb97e9e844 - () - - - void - setAuth - classPamThread.html - 70b4d48f2d9d5a7a8e7ec4f19eee9da6 - (const QString &name, const QString &passwd) - - - virtual - ~PamThread - classPamThread.html - 06a3d55dbe352c899554fe58974820c7 - () - - - bool - auth_resu - classPamThread.html - f02c30bb86f789bbda26aa0d128230de - - - - static int - compteur_objet - classPamThread.html - 5584bbdd7d77b45127885ef45bc4c6ad - - - - QString - Name - classPamThread.html - cb997c82fc31a5d681dc2b1c174018d9 - - - - QString - Passwd - classPamThread.html - d51f5bc3236e3be5162b5b4a996cdc23 - - - - - process_smbd_exist - classprocess__smbd__exist.html - - void - ObjError - classprocess__smbd__exist.html - ef13ea452995ff7584064f06482c2e33 - (const QString &) - - - - process_smbd_exist - classprocess__smbd__exist.html - f5516f19098575d385606573285f9ced - (const QString &MyPID, const QString &USER, QObject *parent=0) - - - virtual - ~process_smbd_exist - classprocess__smbd__exist.html - 94b294a94acb763548e6c6d6255b7d4e - () - - - static int - compteur_objet - classprocess__smbd__exist.html - 10e54b9971a4afb0b63cee2c928e7708 - - - - virtual void - slot_EndProcessKill - classprocess__smbd__exist.html - 7d736af854e35134f9ebabf94051d457 - () - - - begin - 78827698c87a6ab90b5e2f529a08206cc2b21dbc7e50f11baf2ac15b11c1291b - - - - find - 78827698c87a6ab90b5e2f529a08206c58792676ac419da2a3bcc4a740e250f9 - - - - void - end_process - classprocess__smbd__exist.html - e4964befbe9e64291ee429d642a44968 - () - - - void - readFromStdout - classprocess__smbd__exist.html - cbfca0ee29c71004491caf5404b593ed - () - - - QString - MyPid - classprocess__smbd__exist.html - e3ea0d05233d29d2322bb67245c9dbed - - - - Q3Process * - proc - classprocess__smbd__exist.html - 9725360c61bfd9fed03af02e3354e14d - - - - enum process_smbd_exist::@5 - State - classprocess__smbd__exist.html - d6de9301b472444182a599903f0aedee - - - - QString - UserSamba - classprocess__smbd__exist.html - 6f0285be389ea6304a98208d11224092 - - - - - Sendmessage_manager - classSendmessage__manager.html - - void - ObjError - classSendmessage__manager.html - 45255402efb36a9e39583dce6bad7c0c - (const QString &) - - - - Sendmessage_manager - classSendmessage__manager.html - b5d6190daf1369078b92dac3f06b062c - (const QString &machine, const QString &message, QObject *parent=0) - - - virtual - ~Sendmessage_manager - classSendmessage__manager.html - 8c4ea4c38427ec94641426218047c609 - () - - - static int - compteur_objet - classSendmessage__manager.html - f768a1a3ae1a5835179b509948122185 - - - - begin - f2fdfbf86e0762df9197cb018d2a8945bb8470b112933bea14e4543ced4915b7 - - - - error - f2fdfbf86e0762df9197cb018d2a8945c984b6a8c5b7215ddbcc7c9a63131dd0 - - - - void - end_process - classSendmessage__manager.html - 8af2c381f7ab7ca3e37ccc63161563c2 - () - - - void - readFromStdout - classSendmessage__manager.html - 59c5c710dd9af7126fb49953e23bde4c - () - - - void - ReadStderr - classSendmessage__manager.html - 9709981a67239906717cd905b7600caf - () - - - bool - error_proc - classSendmessage__manager.html - 005dbca6c43f99deb1268a255bfc5000 - - - - QString - my_message - classSendmessage__manager.html - f6df83a0fc0bd2d80bafb3caee3c1e2d - - - - Q3Process * - proc - classSendmessage__manager.html - 80fe86858a013353d3c6f458ba34cb0f - - - - enum Sendmessage_manager::@6 - State - classSendmessage__manager.html - 39d9ce081aff2cd8ce3a3b82487a0768 - - - - QString - to_machine - classSendmessage__manager.html - b9213fc713e291aa48daf8bca03b5179 - - - - - server - classserver.html - - void - add_lockedfile - classserver.html - b1c4802a2d791633bdddd30be42db74c - (const QString &PID, const QString &File, const QString &DenyMode, const QString &RW, const QString &Oplock, const QString &DateOpen) - - - void - add_share - classserver.html - 1d6d978a6698e9dd8a65ad6ac6190b10 - (const QString &PID, const QString &Share, const QString &DateOpen) - - - void - add_user - classserver.html - 2129b1a40ad7225eb6c686a3bcefb5bc - (const QString &PID, const QString &Name, const QString &Group, const QString &MachineName, const QString &MachineIP) - - - QString - getSambaVersion - classserver.html - cd01f445524e6ea48d5d71e1713c3268 - () - - - void - mark_childs - classserver.html - ac12cd7bb351b018ca87a3795a549ff9 - () - - - void - refresh_childs - classserver.html - 6fcaeb2fffe41966e267351c6c1fc35d - () - - - - server - classserver.html - fc1bd5df565c32b91fae6bada8de9ba9 - (Q3ListView *parent) - - - void - setSambaVersion - classserver.html - f14099c6971118ddb220b4ac21fb1725 - (const QString &) - - - QString - ViewInfoMachine - classserver.html - 0ed8040cab9e6bdca6c341d1270a8150 - (Q3ListViewItem *Item) - - - QString - ViewInfoServer - classserver.html - 8bcd16fb19f8e19e31591663986c2310 - () - - - QString - ViewInfoService - classserver.html - 15eb8c9f196337d5c2de05a179c6196d - (Q3ListViewItem *Item) - - - QString - ViewInfoUser - classserver.html - c90c144aec13a4ee938bad13a321b146 - (Q3ListViewItem *Item) - - - virtual - ~server - classserver.html - e3de4182db6fe6c656036f9e4da49204 - () - - - QList< type_message > - listMessages - classserver.html - d07922ca4249e0c6ad3ba0dca71a1acb - - - - static int - compteur_objet - classserver.html - 3fc9ed8f2371e0df76467179683f448d - - - - Tshare - f0ebe930bd6ed9dda47c6113caaec5a0257add2088be92ec381a7370aacf3e15 - - - - Tlockedfile - f0ebe930bd6ed9dda47c6113caaec5a08620ff2dfffe9565d5fd65ed5db895c9 - - - - QString - SambaVersion - classserver.html - debfdfa56b7b36811e095c2eb401e8c4 - - - - enum server::@0 - TypeService - classserver.html - 3a07baf85cd4aef462903cfc591de2c1 - - - - - Server - classServer.html - - void - stopserver - classServer.html - de100b2fe57c2958d8d3f81556446e7d - () - - - void - newConnection - classServer.html - 523bee6c5e2e3845d80774a287df50af - (int socket) - - - - Server - classServer.html - 1950ac036d86af898428d7ba39bbf048 - (QObject *parent=0) - - - virtual - ~Server - classServer.html - 4b3aa2579cb1c8cd1d069582c14d0fa6 - () - - - - service - classservice.html - - Tshare - 9ce5df0105cc6a29cbab9460652edc654be99d80c8710665cd260063a0175eed - - - - Tlockedfile - 9ce5df0105cc6a29cbab9460652edc659d88791fb4588c3d38a2e841806e385f - - - - - service - classservice.html - 10a993aa4f6feb87b58f03b110f9a15c - (Q3ListViewItem *parent, const QString &PID, const QString &FileName, const QString &DenyMode, const QString &RW, const QString &Oplock, const QString &DateOpen) - - - - service - classservice.html - 3f46deec72026427effd8eadc111017a - (Q3ListViewItem *parent, const QString &PID, const QString &Share, const QString &DateOpen) - - - virtual - ~service - classservice.html - e06a1aa2db53d83f79db915cb329c9bb - () - - - QString - dateopen - classservice.html - fa23d31f0194038d935fda3eeb4978b7 - - - - QString - denymode - classservice.html - c3612a80b17f17c0b0d51715c44c7efe - - - - QString - filename - classservice.html - 02d697fd0c5298de11c3824570b087b0 - - - - bool - mark - classservice.html - 2f0058edcc98128361bca54852a00782 - - - - QString - oplock - classservice.html - a62c453c77b477f6f60a6920d28e1a3e - - - - QString - pid - classservice.html - e6d9db187e56c0de44915bbb75691898 - - - - QString - rw - classservice.html - f1f7c842240a144e78ae4f85684cc6f0 - - - - QString - share - classservice.html - 0f867aa3621c85db95939eb37ffecf3f - - - - int - TypeOfService - classservice.html - 7d7e9bd94b6a0a70e95bfee0bbe7d39e - - - - enum service::@1 - TypeService - classservice.html - bc65ab63085905d2bd98cd406bc2bed2 - - - - static int - compteur_objet - classservice.html - fd87465c317f76a9e69201ef800aea00 - - - - - smbmanager - classsmbmanager.html - - void - ObjError - classsmbmanager.html - 80573113d67b386ec71b846b2f363ce4 - (const QString &) - - - void - signal_std_output - classsmbmanager.html - 6095042057e09bca939b24de14353431 - (const QStringList &) - - - - smbmanager - classsmbmanager.html - 95b0ada7dc04916486cc16b3e4fa6851 - (QObject *parent=0) - - - virtual - ~smbmanager - classsmbmanager.html - 311f1b47d4d3bab228588a3c7928a1d8 - () - - - static int - compteur_objet - classsmbmanager.html - 62f40a1a5e64a3468852f284f7553e10 - - - - void - end_process - classsmbmanager.html - 5f1589370a997d7eb7690119b95402cc - () - - - void - read_data - classsmbmanager.html - 6606716e1e2d4088f99c983a7dcd9b4b - () - - - void - ReadStderr - classsmbmanager.html - b2c9dc9afc90bbd8cd2caf512fabae54 - () - - - QStringList - data - classsmbmanager.html - e4aa1dfb9feceed901af3382e1554594 - - - - bool - error_proc - classsmbmanager.html - 3abb854284b5ffaad136ec07fae320df - - - - Q3Process * - proc - classsmbmanager.html - df16bd66129f515b62663fad38b9fe49 - - - - bool - stError - classsmbmanager.html - 46be7fb76c496eb4a5bc43f33723bfc2 - - - - - smbstatus - classsmbstatus.html - - void - add_lockedfile - classsmbstatus.html - 5923b20ec08513f0b52aa432e18a776c - (const QString &, const QString &, const QString &, const QString &, const QString &, const QString &) - - - void - add_share - classsmbstatus.html - 0aeb11492c706d43451aa554ad1afefa - (const QString &, const QString &, const QString &) - - - void - add_user - classsmbstatus.html - 771c8c5dfded68a7d735b7cb94335810 - (const QString &, const QString &, const QString &, const QString &, const QString &) - - - void - setSambaVersion - classsmbstatus.html - 873d2cd5caaa722faebd255de0ec1de1 - (const QString &) - - - void - RQ_smbstatus - classsmbstatus.html - d589b0a41cb6ff674616a931a59e124f - () - - - - smbstatus - classsmbstatus.html - c0f37dee8601dda25ae1c015fad93071 - (const QStringList &, QObject *parent=0) - - - virtual - ~smbstatus - classsmbstatus.html - f711eb434518c39cd62ddc6ae980bc61 - () - - - static int - compteur_objet - classsmbstatus.html - 7d716140a052dc2ba1927ffbb774c343 - - - - unknown - 7a03b99a319214fd58d514920695ee9fa5dac9ac0c0595861dab4236b4bca1d9 - - - - version2 - 7a03b99a319214fd58d514920695ee9f59e97cc96a64194237f590da4bab734f - - - - version3 - 7a03b99a319214fd58d514920695ee9f3126d4c6f345a2c23d52d123b6280202 - - - - header_connexions - 4d4c4bebf3c676007f81427e0955dd8bc65b675b3784c5c602b0276abce2289a - - - - connexions - 4d4c4bebf3c676007f81427e0955dd8b551c3dff994bf0c6da6d8158cedc83c3 - - - - header_services - 4d4c4bebf3c676007f81427e0955dd8b416d18912198cbe70f993b74199ed85d - - - - services - 4d4c4bebf3c676007f81427e0955dd8ba47efaae7ff77a2072dd7f83e918df0b - - - - header_locked_files - 4d4c4bebf3c676007f81427e0955dd8bcbf7ce21b0b7d9867939748557239d1a - - - - locked_files - 4d4c4bebf3c676007f81427e0955dd8b6df7121a90830bec0bdb2420551d8433 - - - - void - what_part - classsmbstatus.html - 8a2c936c8468cb1e6d48ff9b1065db55 - (QString part) - - - enum smbstatus::@2 - enum_version_samba - classsmbstatus.html - b733688dc4c5fb3e337138919623008b - - - - QStringList - ListSmbstatus - classsmbstatus.html - 8a07cd1a745ee97fa3812675ed9ec808 - - - - enum smbstatus::@3 - readingpart - classsmbstatus.html - 7a3738613c214cab43ae9ac52bf196d5 - - - - int - version_samba - classsmbstatus.html - 5b3f4a70f594b35901da0ea2c4b6740c - - - - - type_message - structtype__message.html - - QString - date - structtype__message.html - 188fd4f5569a1ac0641b0df490a00d13 - - - - QString - machine - structtype__message.html - d70d090af4f677eeb10f422ba349fd87 - - - - QString - opened - structtype__message.html - a64c9293357fe1d0b91e95bb1822a9f9 - - - - short unsigned int - type_message - structtype__message.html - 7a94a77d30110ecf5d1cc921ee6f49be - - - - QString - user - structtype__message.html - 621d20fcd0230751d6aae4adabd6b7dc - - - - - Ui_configure - classUi__configure.html - - void - retranslateUi - classUi__configure.html - 401d88bfa4bb40eacdb852d00be6d979 - (QDialog *configure) - - - void - setupUi - classUi__configure.html - 295c57ce598336ed462e6e84531da208 - (QDialog *configure) - - - QPushButton * - cancelButton - classUi__configure.html - 65a4b8eb8747dc2a136d18639d7012bd - - - - QCheckBox * - checkAutoconnect - classUi__configure.html - ebe49e85877a3e2a502506a6f3b519fb - - - - QCheckBox * - checkIcon - classUi__configure.html - da8e95a8334d9da9e42826cb431b7870 - - - - QCheckBox * - checkLogActivity - classUi__configure.html - 283c272e14b46489d4af72e32415dd0c - - - - QCheckBox * - checkNotification - classUi__configure.html - a77c8337f799568d8a63df0445071d61 - - - - QCheckBox * - checkViewHiddenShares - classUi__configure.html - 3b1515026863157c1f7b1de093a4ab40 - - - - QLineEdit * - EditHost - classUi__configure.html - 4604a1b9b406cfcce9ff76fac2c75605 - - - - QLineEdit * - EditUsername - classUi__configure.html - da592012320babf5c0bc5f6e38287a6b - - - - QGridLayout * - gridLayout - classUi__configure.html - 68ae358dd0836736c72bc70a486395de - - - - QGridLayout * - gridLayout1 - classUi__configure.html - 16dd1a0d151bf0281944d5169a8da480 - - - - QGridLayout * - gridLayout2 - classUi__configure.html - d00a0a07c160bd05319e0a4e7a741364 - - - - QGridLayout * - gridLayout3 - classUi__configure.html - 87ae5ac19c5087c21e4a1202c2d00e65 - - - - QGroupBox * - groupBox - classUi__configure.html - f42ea9ec15a28ebc7c18bab40cf6a09b - - - - QGroupBox * - groupBox_2 - classUi__configure.html - 6dcc7edd226c1d2dff4c8186b973f1df - - - - QGroupBox * - groupBox_3 - classUi__configure.html - 5545a04fc4d6085cc3c0c921e765c6e7 - - - - QSpinBox * - limitLogBox - classUi__configure.html - c6cc009abbe7c4cff46d41c0dad50bd6 - - - - QPushButton * - okButton - classUi__configure.html - 9597d8356ba066c3869f2bd62a42ecb6 - - - - QSpacerItem * - spacerItem - classUi__configure.html - 8241f877c7d01a1011599448f1c12676 - - - - QSpacerItem * - spacerItem1 - classUi__configure.html - 2c1fc88e8cdcf2f751422534cd03f43b - - - - QSpacerItem * - spacerItem2 - classUi__configure.html - 732c1b5ef11aad05ecd3c0a37dec5446 - - - - QSpacerItem * - spacerItem3 - classUi__configure.html - bba5ec4d9fc0a220320f0d6c291f9125 - - - - QSpacerItem * - spacerItem4 - classUi__configure.html - e425e1f421038fe6e5e7c2e4b1ce0e6d - - - - QSpinBox * - spinInterval - classUi__configure.html - e01d36936b9eb9629d3446d5aff783be - - - - QLabel * - textLabel1_2 - classUi__configure.html - b283a982ef1deb3441098270453d81ff - - - - QLabel * - textLabel1_3 - classUi__configure.html - efc2c12623438725101d26b6e17568ae - - - - QLabel * - textLabel1_3_2 - classUi__configure.html - c1962192a9c4472a146234b3f083c008 - - - - QLabel * - textLabel1_4 - classUi__configure.html - 3f31b7c8b180c468a878d88a605087f8 - - - - QLabel * - textLabel1_5 - classUi__configure.html - ce8f57afce2bd0b4f8badea8c42eaac1 - - - - - Ui_form_smbstatus - classUi__form__smbstatus.html - - void - retranslateUi - classUi__form__smbstatus.html - 680103939d24929d9e908e69ded53264 - (QMainWindow *form_smbstatus) - - - void - setupUi - classUi__form__smbstatus.html - fb2ece652ebd661d299dec5185f2d1e0 - (QMainWindow *form_smbstatus) - - - QAction * - action_Connect - classUi__form__smbstatus.html - ca8db1d560e656c51903c588562d20f1 - - - - QAction * - action_Quit - classUi__form__smbstatus.html - e83bf2db744104752f6096cfa9f6e751 - - - - QAction * - action_View_log - classUi__form__smbstatus.html - aca8937c37e1bd24abe16dfa862c990a - - - - QComboBox * - comboBox_hostaddr - classUi__form__smbstatus.html - eaf3dd8d60a464096cfb01412e935a92 - - - - QMenu * - Configure - classUi__form__smbstatus.html - d3dfc544ceba165a4d1c324913cff83f - - - - QAction * - configureConfigure_clientAction - classUi__form__smbstatus.html - 04b99f4fc8c139d61f278bf283b90dbf - - - - QGridLayout * - gridLayout - classUi__form__smbstatus.html - 8626758f8f788d46acbacb439ee605d0 - - - - QAction * - helpAbout_QtAction - classUi__form__smbstatus.html - cea39e17d8e73f215749e4bb91fb859c - - - - QAction * - helpAboutAction - classUi__form__smbstatus.html - bf45e24cdac8a436bdbe3f2e26adbfbe - - - - QMenu * - helpMenu - classUi__form__smbstatus.html - 83a8a7ca4ba090fdfc14a41ca1935a35 - - - - Q3ListView * - listView - classUi__form__smbstatus.html - b7c6eb4433c8a2e408aea24f4ad4cca7 - - - - QMenuBar * - MenuBar - classUi__form__smbstatus.html - 94f62d3df25804d9d1208f824bded22b - - - - QPushButton * - pushButton_connect - classUi__form__smbstatus.html - 65725eb6a61248ab33c8e92ab60ee7c8 - - - - QMenu * - Search - classUi__form__smbstatus.html - 0b2a85917d7b7c62a304d4feb94bb80b - - - - QAction * - searchAll - classUi__form__smbstatus.html - c59dad3af8feff403d7f31211cb72c65 - - - - QAction * - searchFile_openAction - classUi__form__smbstatus.html - fe4b1a82cb9deb4a27952d5a1610764e - - - - QAction * - searchMachineAction - classUi__form__smbstatus.html - 70c41f4c768899f4b598f01a899103d6 - - - - QAction * - searchNextAction - classUi__form__smbstatus.html - 061b3efea74bfe40dd61dfd194ab4efb - - - - QAction * - searchShare_openAction - classUi__form__smbstatus.html - 76bdc21b693fd66c07b7ab75db28ab73 - - - - QAction * - searchUserAction - classUi__form__smbstatus.html - 9c7a13d80c84bc9e771a34adc7be5e9a - - - - QSpacerItem * - spacerItem - classUi__form__smbstatus.html - 70ab5456622c23870f3ffb9831432bae - - - - QLabel * - textLabel1 - classUi__form__smbstatus.html - f97df0c81c40f6a1b6748501311178d6 - - - - QWidget * - widget - classUi__form__smbstatus.html - 3e445e94eecee572952cfb519a174064 - - - - - Ui_logform - classUi__logform.html - - void - retranslateUi - classUi__logform.html - 7754c81abe196e476e81c018e3063d6f - (QDialog *logform) - - - void - setupUi - classUi__logform.html - 6c278d8183b81118422df43be926773b - (QDialog *logform) - - - QCheckBox * - checkFile - classUi__logform.html - 9e670736063735eb50b940f83f1f3c25 - - - - QCheckBox * - checkShare - classUi__logform.html - c022f2809471f0781d45c08079c2eae2 - - - - QPushButton * - clearButton - classUi__logform.html - c2e49e7fda9feef21c970935fba6a21d - - - - QLineEdit * - filterEdit - classUi__logform.html - 704022a2d32af2d4ddd6fc916b086f35 - - - - QGridLayout * - gridLayout - classUi__logform.html - ba6f6a67d35468263cdd5607c6bf0074 - - - - QHBoxLayout * - hboxLayout - classUi__logform.html - 9a1279a2b5f028bc9cdf746a57e82ce0 - - - - QHBoxLayout * - hboxLayout1 - classUi__logform.html - f735c50c94ccebb24c13b7f853cc1ad5 - - - - QPushButton * - pushButton - classUi__logform.html - 458965b45cdc5560b60908a7bbb8b439 - - - - QPushButton * - SaveLogButton - classUi__logform.html - d08bbb5de38fb0a596a5d0c8eb8a2acc - - - - QSpacerItem * - spacerItem - classUi__logform.html - 5425d65c2cb65800ebacba698c6c0253 - - - - QSpacerItem * - spacerItem1 - classUi__logform.html - 3837b9b602dc1a88cd4068aa3fbdfcee - - - - QSpacerItem * - spacerItem2 - classUi__logform.html - aac2feb490a9c6edbd807d92918a8500 - - - - QSpacerItem * - spacerItem3 - classUi__logform.html - 1aac119a7a4f4c8448d0fad19b20c6a1 - - - - QTableView * - tableView - classUi__logform.html - ecb8b188eaaafd76d4a3c3fe1ba3c5ce - - - - QLabel * - textLabel1 - classUi__logform.html - 4c32304e685047a3d896a476db741a18 - - - - - Ui_login_dialog - classUi__login__dialog.html - - void - retranslateUi - classUi__login__dialog.html - 289be56582d8a24a430bcec67367875d - (QDialog *login_dialog) - - - void - setupUi - classUi__login__dialog.html - d6dc427c1dd6f1672afef9033ac7643b - (QDialog *login_dialog) - - - QPushButton * - bt_exit - classUi__login__dialog.html - fd38d365d41b8b54af5d5332687230ab - - - - QPushButton * - bt_login - classUi__login__dialog.html - 846246cb929adb90775bc64d546a071a - - - - QGridLayout * - gridLayout - classUi__login__dialog.html - 7f57f1a7132db8d9a530e499d36f57e0 - - - - QHBoxLayout * - hboxLayout - classUi__login__dialog.html - 1cba6ec2ba0c42391422e9d58415738c - - - - QLineEdit * - input_password - classUi__login__dialog.html - c4f76c9a67f12841c2e133e8bdfb2c3e - - - - QLineEdit * - input_username - classUi__login__dialog.html - 0bdd5cbb7a082ba729ff70d1a9955fc0 - - - - QLabel * - label_password - classUi__login__dialog.html - 8be029ffbd930590428e21ed4857004f - - - - QLabel * - label_username - classUi__login__dialog.html - 436e993634bbf4ac781e934bc6360d9f - - - - QSpacerItem * - spacerItem - classUi__login__dialog.html - 591f2db07aaa855ce7c97da79b5b508f - - - - QSpacerItem * - spacerItem1 - classUi__login__dialog.html - 654b755dd6831ffb9defbb92a9377665 - - - - - user - classuser.html - - bool - append_lockedfile - classuser.html - 3b9cd2868b2d016e55bace9fd80837bc - (const QString &PID, const QString &File, const QString &DenyMode, const QString &RW, const QString &Oplock, const QString &DateOpen) - - - bool - append_share - classuser.html - 855fc5cb1b24cc488338da36d609a671 - (const QString &PID, const QString &Share, const QString &DateOpen) - - - void - mark_childs - classuser.html - 3f7fba214a75e83864b3b7565dc9943f - () - - - void - refresh_childs - classuser.html - 4c8f8f2bc1e85231ce2c3a0f4f62a9c3 - () - - - - user - classuser.html - 818ddb656c2473ace4e8974e9011fac4 - (Q3ListViewItem *parent, const QString &PID, const QString &Username, const QString &Group) - - - virtual - ~user - classuser.html - 70dce9fb50488cbef9ac2b51a17c2894 - () - - - QString - group - classuser.html - af98a048664277033c3386574dce1c04 - - - - bool - mark - classuser.html - 4a089afa7424934aeec543a5c1acba95 - - - - QString - pid - classuser.html - 6a7455ac0519e2382d0fdeb93d29627f - - - - QString - username - classuser.html - c2d16a146ee1b837e4a1c93199857baa - - - - static int - compteur_objet - classuser.html - 927f1ef242ae1b070db81cfba28fac95 - - - - - Ui - namespaceUi.html - Ui::configure - Ui::form_smbstatus - Ui::logform - Ui::login_dialog - - - Ui::configure - classUi_1_1configure.html - Ui_configure - - - Ui::form_smbstatus - classUi_1_1form__smbstatus.html - Ui_form_smbstatus - - - Ui::logform - classUi_1_1logform.html - Ui_logform - - - Ui::login_dialog - classUi_1_1login__dialog.html - Ui_login_dialog - - - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - dir_13e984ca7263df38897594b16ab63fae.html - client/clientsocket.cpp - client/clientsocket.h - clientssl.cpp - clientssl.h - configure_windows.cpp - configure_windows.h - linecore.cpp - linecore.h - log.cpp - log.h - login_windows.cpp - login_windows.h - machine.cpp - machine.h - client/main.cpp - main_windows.cpp - main_windows.h - client/moc_clientsocket.cpp - moc_clientssl.cpp - moc_configure_windows.cpp - moc_linecore.cpp - moc_log.cpp - moc_login_windows.cpp - moc_main_windows.cpp - moc_smbstatus.cpp - mysortfilterproxymodel.cpp - mysortfilterproxymodel.h - qrc_client.cpp - qtsmbstatus.xpm - client/server.cpp - client/server.h - service.cpp - service.h - smbstatus.cpp - smbstatus.h - ui_configure.h - ui_form_smbstatus.h - ui_log.h - ui_login_dialog.h - user.cpp - user.h - - - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/common/ - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/common/ - dir_ebee2ec77f91c9c3ae0f807ff444337a.html - common.cpp - core_syntax.cpp - core_syntax.h - - - /home/ubuntu/Documents/Daniel/ - /home/ubuntu/Documents/Daniel/ - dir_fcb7609ab6da1d927f7ca62e8b4a49f1.html - /home/ubuntu/Documents/Daniel/Sources_programmes/ - - - /home/ubuntu/Documents/ - /home/ubuntu/Documents/ - dir_bea29809621b07a1b3f798f12130025f.html - /home/ubuntu/Documents/Daniel/ - - - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/ - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/ - dir_1215b706660de36dc08bd32c08707511.html - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/ - - - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/ - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/ - dir_21c35f2fdffe706e7ab36cf3d0afa622.html - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/client/ - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/common/ - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - - - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/qtsmbstatus/server/ - dir_a5abd7428a27b7d30f02838a16b4ae8f.html - server/clientsocket.cpp - server/clientsocket.h - disconnect_manager.cpp - disconnect_manager.h - server/main.cpp - server/moc_clientsocket.cpp - moc_disconnect_manager.cpp - moc_process_smbd_exist.cpp - moc_sendmessage_manager.cpp - moc_server.cpp - moc_smbmanager.cpp - pam.cpp - pam.h - pamthread.cpp - pamthread.h - process_smbd_exist.cpp - process_smbd_exist.h - sendmessage_manager.cpp - sendmessage_manager.h - server/server.cpp - server/server.h - smbmanager.cpp - smbmanager.h - - - /home/ubuntu/Documents/Daniel/Sources_programmes/ - /home/ubuntu/Documents/Daniel/Sources_programmes/ - dir_fcc968b995e8922712f69dac75f07a95.html - /home/ubuntu/Documents/Daniel/Sources_programmes/projet_qtsmbstatus/ - - - /home/ubuntu/ - /home/ubuntu/ - dir_91591915e9997d8f09df5890c710928d.html - /home/ubuntu/Documents/ - - diff -Nru qtsmbstatus-2.0.4/README qtsmbstatus-2.1.1/README --- qtsmbstatus-2.0.4/README 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/README 2009-04-12 14:46:48.000000000 +0200 @@ -12,6 +12,7 @@ QtSmbstatus is a smbstatus graphical interface (GUI). It is meant to provide the possibility of administering remote machines. QtSmbstatus was designed as a client/server system secured with SSL. A login and password is required to log on to server. The server's application ought to be installed with samba-server. +To use QtSmbstatus only locally (without qtsmbstatus client/server), just install qtsmbstatus-light. Possibilities include: - view connections @@ -29,26 +30,39 @@ 1/ Compilation from the following sources: ------------------------------------------------------------- - To install server: - ****************** + To install qtsmbstatus light: + ***************************** - Check dependency: pam-dev, ssl-dev and qt4-dev>=4.2 + Check dependency: qt4-dev>=4.3 + + cd light + qmake (or qmake-qt4) + make + + and as root: + make install + + + To install qtsmbstatus server: + ****************************** + + Check dependency: pam-dev and qt4-dev>=4.3 cd server - qmake + qmake (or qmake-qt4) make and as root: make install - To install client: - ****************** + To install qtsmbstatus client: + ****************************** - Check dependency: ssl-dev and qt4-dev>=4.2 + Check dependency: qt4-dev>=4.3 cd client - qmake + qmake (or qmake-qt4) make and as root: @@ -58,10 +72,11 @@ 2/ Command line options: ------------------------------------------------------------- - qtsmbstatus (client and server) can accept some arguments from the command line, to know them: + qtsmbstatus (light, client and server) can accept some arguments from the command line, to know them: qtsmbstatusd --help (for server) qtsmbstatus --help (for client) + qtsmbstatusl --help (for light) ------------------------------------------------------------- diff -Nru qtsmbstatus-2.0.4/README-ES qtsmbstatus-2.1.1/README-ES --- qtsmbstatus-2.0.4/README-ES 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/README-ES 2009-04-12 14:46:48.000000000 +0200 @@ -15,6 +15,7 @@ Un login y contraseá es requerido para entrar en el server (PAM). La aplicacion del servidor debe ser instalado en la maquina donde se ejecuta el servicio SAMBA. +To use QtSmbstatus only locally (without qtsmbstatus client/server), just install qtsmbstatus-light. Incluye las siguientes posibilidades: - ver conexiones @@ -32,13 +33,26 @@ 1/ Compilacion desde las fuentes siguientes: ------------------------------------------------------------- + Para instalar qtsmbstatus light: + ******************************** + + chequear las dependencias : qt4-dev>=4.3 + + cd light + qmake (o qmake-qt4) + make + + and as root: + make install + + Para instalar el servicio: ************************** - chequear las dependencias : pam-dev, ssl-dev et qt4-dev>=4.2 + chequear las dependencias : pam-dev y qt4-dev>=4.3 cd server - qmake + qmake (o qmake-qt4) make y como root: @@ -48,10 +62,10 @@ Para instalar el cliente: ************************* - chequear las dependencias : ssl-dev et qt4-dev>=4.2 + chequear las dependencias : qt4-dev>=4.3 cd client - qmake + qmake (o qmake-qt4) make y como root: @@ -66,7 +80,7 @@ qtsmbstatusd --help (for server) qtsmbstatus --help (for client) - + qtsmbstatusl --help (for light) ------------------------------------------------------------- 3/ Iniciar y parar el servicio: diff -Nru qtsmbstatus-2.0.4/README-FR qtsmbstatus-2.1.1/README-FR --- qtsmbstatus-2.0.4/README-FR 2008-05-08 22:20:19.000000000 +0200 +++ qtsmbstatus-2.1.1/README-FR 2009-04-12 14:46:48.000000000 +0200 @@ -14,6 +14,8 @@ Cette application a un fonctionnement client/serveur. Les connexions sont securisees via une couche SSL et une authentification est requise pour se connecter au serveur. QtSmbstatus serveur doit-etre installé avec le serveur Samba. +Pour utiliser QtSmbstatus localement (sans qtsmbstatus client/server), installez simplement qtsmbstatus-light. + 1/ Compilation a partir des sources 2/ Options en ligne de commande 3/ Demarrage et arret du serveur @@ -24,11 +26,24 @@ ------------------------------------------------------------- 1/ Compilation a partir des sources: ------------------------------------------------------------- + + Pour installer qtsmbstatus light: + ********************************* + + verifier les dependances: qt4-dev>=4.3 + cd light + qmake (ou qmake-qt4) + make + + puis en tant tant que root: + make install + + Pour installer le serveur: ************************** - Verifier les dependances: pam-dev, ssl-dev et qt4-dev>=4.2 + Verifier les dependances: pam-dev et qt4-dev>=4.3 cd server - qmake + qmake (ou qmake-qt4) make puis en tant tant que root: make install @@ -36,9 +51,9 @@ Pour installer le client: ************************* - verifier les dependances: ssl-dev et qt4-dev>=4.2 + verifier les dependances: qt4-dev>=4.3 cd client - qmake + qmake (ou qmake-qt4) make puis en tant tant que root: make install @@ -50,7 +65,7 @@ qtsmbstatusd --help (pour le serveur) qtsmbstatus --help (pour le client) - + qtsmbstatusl --help (pour la version light) ------------------------------------------------------------- 3/ Demarrage et arret du serveur: diff -Nru qtsmbstatus-2.0.4/server/clientsocket.cpp qtsmbstatus-2.1.1/server/clientsocket.cpp --- qtsmbstatus-2.0.4/server/clientsocket.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/clientsocket.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -18,201 +18,187 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include -#include -#include -#include -#include - #include "clientsocket.h" - -// SSL context -SSL_CTX* ssl_ctx; +#include "process_smbd_exist.h" +#include "sendmessage_manager.h" +#include "smbmanager.h" +#include "../common/core_syntax.h" + +extern void debugQt(const QString & message); + +extern QStringList AllowUserDisconnect; +extern QStringList AllowUserSendMsg; +extern uint int_qtsmbstatus_version; +extern QString version_qtsmbstatus; +extern QString date_qtsmbstatus; int ClientSocket::compteur_objet=0; -//! Time between 2 echo request -int ClientSocket::TimoutTimerEcho=30000; - /** \class ClientSocket - \brief This class dialogs with client. (One object per client) - \date 2007-06-18 - \version 1.0 + \brief This class dialogs with client. (One object/client) + \date 2008-11-06 + \version 2.0 \author Daniel Rocher \sa Server - \param sock Socket number \param parent pointer to parent for this object */ -ClientSocket :: ClientSocket( const int & sock, QObject *parent ) : QObject (parent) +ClientSocket :: ClientSocket( QObject* parent ) : QSslSocket ( parent ) { - debugQt("Object ClientSocket : "+QString::number(++compteur_objet)); - debugQt("New client - socket : "+ QString::number(sock)); + debugQt("ClientSocket::ClientSocket(): "+QString::number(++compteur_objet)); - SSL_init=false; AuthUser=false; permitDisconnectUser=false; permitSendMsg=false; - timer = new QTimer( this ); - connect( timer, SIGNAL(timeout()), this, SLOT(slot_pam()) ); - pamthread = new PamThread(); + connect( pamthread, SIGNAL(finished()), this, SLOT(pamFinished()) ); - socket = sock; - socketdevice = new Q3SocketDevice(socket , Q3SocketDevice::Stream ); - int ret = socketdevice->error(); - if (ret!=0) - { // TCP Error - qWarning("TCP Error !"); - Socket_print_error(ret); - deleteLater (); - } - - // create a new SSL structure for a connection - ssl=SSL_new (ssl_ctx); - if (!ssl) - { - qWarning ("Error creating SSL structure" ); - SSL_print_error(SSL_get_error(ssl, 0)); - socketConnectionClose(); - return; - } - debugQt ("Create a new SSL structure OK"); - - SSL_set_mode (ssl, SSL_MODE_AUTO_RETRY); //auto retry - - // set the file descriptor for the socket - if (!SSL_set_fd( ssl , socket ) ) - { - qWarning( "Error initializing SSL-socket" ); - SSL_print_error(SSL_get_error(ssl, 0)); - socketConnectionClose(); - return; - } - debugQt ("Connect SSL object with a socket OK"); - - // wait for a TLS/SSL client to initiate a TLS/SSL handshake - ret = SSL_accept(ssl); - if (ret <= 0 ) - { - qWarning( "Error accept connect" ); - SSL_print_error(SSL_get_error(ssl, ret)); - socketConnectionClose(); - return; - } - debugQt ("SSL connection OK"); - SSL_init=true; - // Socket notificier - sn_read= new QSocketNotifier(socketdevice->socket(), QSocketNotifier::Read,this) ; - connect( sn_read,SIGNAL(activated(int)),this, SLOT(readClient()) ); - - sn_exception= new QSocketNotifier(socketdevice->socket(), QSocketNotifier::Exception ,this) ; - connect( sn_exception,SIGNAL(activated(int)),this, SLOT(Exception ()) ); - - // test if connection is not dead - // reset timer if we receive data from client - echo=0; // if echo > 2, disconnect - echo_timer = new QTimer (this); - connect( echo_timer, SIGNAL(timeout()), this, SLOT(slot_echo_timer()) ); - echo_timer->start( TimoutTimerEcho, FALSE ); + ignoreSslErrors (); + connect (this, SIGNAL(readyRead()),this, SLOT(core())); + connect (this, SIGNAL(disconnected()),this, SLOT(deleteLater())); + connect (this, SIGNAL( error ( QAbstractSocket::SocketError )),this,SLOT(SocketError())); + connect (this, SIGNAL(sslErrors ( const QList & )),this,SLOT(SslErrors(const QList &))); + connect (this, SIGNAL(encrypted ()),this,SLOT(socketEncrypted ())); } - -ClientSocket ::~ClientSocket() +ClientSocket :: ~ClientSocket() { - debugQt("Object ClientSocket : "+QString::number(--compteur_objet)); - delete socketdevice; + debugQt("ClientSocket::~ClientSocket(): "+QString::number(--compteur_objet)); // Blocks until the thread PamThread has finished execution pamthread->wait(); delete pamthread; } +/** Socket error */ +void ClientSocket::SocketError () { + debugQt("ClientSocket::SocketError()"); + qWarning() << errorString(); + deleteLater(); +} + +/** SSL error */ +void ClientSocket::SslErrors (const QList & listErrors) { + debugQt("ClientSocket::SslErrors()"); + for (int i = 0; i < listErrors.size(); ++i) + qWarning() <error(); - if (ret!=0) - { - // an error occurred - qWarning("Socket error !"); - Socket_print_error(ret); - socketConnectionClose(); - } -} +void ClientSocket::socketEncrypted () { + debugQt("ClientSocket::socketEncrypted()"); + // who i am + sendToClient(whoiam,QString::number(int_qtsmbstatus_version),"QtSmbstatus server "+version_qtsmbstatus+" - "+date_qtsmbstatus); +} /** - Receive datas from client - \sa sendToClient + Protocol interpreter. + analyze the client's answers. + \sa core_syntax */ -void ClientSocket ::readClient() +void ClientSocket :: core () { - debugQt ("ClientSocket::readClient()"); - if (SSL_init==false) return; - if (!socketdevice->isOpen()) //if not connected - { - socketConnectionClose(); - return; - } - Q3CString rcvtxt; - rcvtxt.resize(16384); - int ret = SSL_read(ssl, rcvtxt.data(), rcvtxt.size()); - if (ret <=0 ) - { - // an error occurred - SSL_print_error(SSL_get_error(ssl, ret)); - socketConnectionClose(); - return; - } - + debugQt ("ClientSocket::core()"); + QString line; + QByteArray lineArray; + int commande; + bool ok; + core_syntax stx; - if (AuthUser) // if client authenticated + while ( this->canReadLine ()) { - // reset echo timer because client has sent data - echo=0; - echo_timer->stop(); - echo_timer->start( TimoutTimerEcho, FALSE ); + lineArray = this->readLine(); + line=QString::fromUtf8( lineArray.data() ).trimmed (); + debugQt(line); + + stx.setValue(line); + if (stx.returnArg(0) != "") + { + commande=(stx.returnArg(0)).toInt(&ok); + if (ok) // if txt to int conversion is ok + { + switch (commande) + { + case auth_rq: // auth_rq + debugQt("["+QString::number(commande)+"] auth_rq"); + CmdAuthRq(line); + break; + case end: // end socket by client + debugQt("["+QString::number(commande)+"] end"); + deleteLater(); + break; + case kill_user: // disconnect user + debugQt("["+QString::number(commande)+"] kill_user"); + CmdKillUser(line); + break; + case send_msg: // send message to user + debugQt("["+QString::number(commande)+"] send_msg"); + CmdSendMsg(line); + break; + case smb_rq: // smbstatus request + debugQt("["+QString::number(commande)+"] smb_rq"); + CmdSmbRq(); + break; + case echo_request:// echo request from client + debugQt("["+QString::number(commande)+"] echo_request"); + sendToClient(echo_reply); + break; + case echo_reply: // echo reply from client + debugQt("["+QString::number(commande)+"] echo_reply"); + // now, ignore it (compatibility to qtsmbstatus =< 2.0.6) + break; + case error_command: // Command error ( the last command is not recognized) + debugQt("["+QString::number(commande)+"] error_command"); + break; + case whoiam: + debugQt("["+QString::number(commande)+"] whoiam"); + break; + default: // not implemented + debugQt("["+QString::number(commande)+"] not implemented"); + sendToClient(error_command,"["+QString::number(commande)+"] not implemented"); + break; + } + } + else + { //conversion error string->int + debugQt("Command error !"); + } + } + else + { // core_syntax sends an error + debugQt("Command error !"); + } } - - rcvtxt.resize(ret); // Sets the size of the byte array to size bytes - debugQt (rcvtxt); - core ( rcvtxt ); } + /** Send datas to client \param cmd command + \param inputArg1 argument 1 + \param inputArg2 argument 2 \sa ClientSocket::command - \sa readClient \sa core_syntax */ void ClientSocket ::sendToClient(int cmd,const QString & inputArg1,const QString & inputArg2) { debugQt ("ClientSocket::sendToClient()"); - if (SSL_init==false) return; QString MyTxt; if (!inputArg1.isEmpty()) MyTxt=addEscapeKeys(inputArg1); if (!inputArg2.isEmpty()) MyTxt+=";"+addEscapeKeys(inputArg2); - Q3CString send_txt = ("["+QString::number(cmd)+"]"+MyTxt+"\n").utf8 () ; - int value=SSL_write (ssl, send_txt.data() , send_txt.length ()); - if (!value) - { - // an error occurred - SSL_print_error(SSL_get_error(ssl, 0)); - socketConnectionClose(); - return; - } + QString send_txt = "["+QString::number(cmd)+"]"+MyTxt+"\n" ; + this->write(send_txt.toUtf8()); debugQt(send_txt); } + /** - Request from client to disconnect an user + Request from client to disconnect an %user \param texte arg1=PID, arg2=username \sa ClientSocket::permitDisconnectUser \sa process_smbd_exist @@ -285,6 +271,7 @@ /** Run Smbstatus request + \sa slot_smbstatus */ void ClientSocket ::CmdSmbRq() { @@ -302,170 +289,11 @@ } } -/** - Authentication Request - \param texte arg=1=username, arg2=password - \sa core_syntax PamThread -*/ -void ClientSocket :: CmdAuthRq(const QString & texte) -{ - debugQt(" ClientSocket :: CmdAuthRq()"); - core_syntax stx(texte); - QString Username=stx.returnArg(1); - QString Passwd=stx.returnArg(2); - if ( (!Username.isEmpty()) && (Username.length () < 50) && (!Passwd.isEmpty()) && (Passwd.length () < 50)) - { - // if client is authorized to disconnect user - for ( QStringList::Iterator it = AllowUserDisconnect.begin(); it != AllowUserDisconnect.end(); ++it ) { - if (((*it)==Username) || ((*it).lower()=="all")) permitDisconnectUser=true; - } - // if client is authorized to send popup message - for ( QStringList::Iterator it = AllowUserSendMsg.begin(); it != AllowUserSendMsg.end(); ++it ) { - if (((*it)==Username) || ((*it).lower()=="all")) permitSendMsg=true; - } - - // PAM Request - pamthread->setAuth(Username,Passwd); - pamthread->start(); - timer->start( 500, FALSE ); //request every 500ms to know pamthread status (finished) - return; - } - sendToClient(error_auth); - socketConnectionClose(); -} - - - -/** - test if pamthread has terminated -*/ -void ClientSocket ::slot_pam() -{ - debugQt ("ClientSocket::slot_pam()"); - if (pamthread->isFinished ()) - { - // stop timer - timer->stop(); - if (pamthread->auth_resu) - { - // client authenticated - AuthUser=true; - sendToClient(auth_ack); - /* - infoserver : right for current client - 0000 0001 : permit client to disconnect an user - 0000 0010 : permit client to send popup messages (popupwindows) - */ - int infoserver=0; - if (permitDisconnectUser) infoserver=1; - if (permitSendMsg) infoserver+=2; - // send client's rights - sendToClient(server_info,QString::number(infoserver)); - } - else - { - // client is not authenticated. disconnect it - sendToClient(error_auth); - socketConnectionClose(); - } - } -} - -/** - Protocol interpreter. - analyze the client's answers. - \param rcv_txt data sent by client - \sa core_syntax -*/ -void ClientSocket :: core (const Q3CString & rcv_txt) -{ - debugQt ("ClientSocket::core()"); - QString texte; - int commande; - bool ok; - core_syntax stx; - QTextStream ts( rcv_txt, QIODevice::ReadOnly ); - while ( !ts.atEnd () ) - { - texte=ts.readLine(); - - texte=QString::fromUtf8( texte ); - stx.setValue(texte); - if (stx.returnArg(0) != "") - { - commande=(stx.returnArg(0)).toInt(&ok); - if (ok) // if txt to int conversion is ok - { - switch (commande) - { - case auth_rq: // auth_rq - debugQt("["+QString::number(commande)+"] auth_rq"); - CmdAuthRq(texte); - break; - case end: // end socket by client - debugQt("["+QString::number(commande)+"] end"); - socketConnectionClose(); - break; - case kill_user: // disconnect user - debugQt("["+QString::number(commande)+"] kill_user"); - CmdKillUser(texte); - break; - case send_msg: // send message to user - debugQt("["+QString::number(commande)+"] send_msg"); - CmdSendMsg(texte); - break; - case smb_rq: // smbstatus request - debugQt("["+QString::number(commande)+"] smb_rq"); - CmdSmbRq(); - break; - case echo_request:// echo request from client - debugQt("["+QString::number(commande)+"] echo_request"); - sendToClient(echo_reply); - break; - case echo_reply: // echo reply from client, reset echo timer - debugQt("["+QString::number(commande)+"] echo_reply"); - if (AuthUser) echo=0; // only if client is authenticated - break; - case error_command: // Command error ( the last command is not recognized) - debugQt("["+QString::number(commande)+"] error_command"); - break; - default: // not implemented - debugQt("["+QString::number(commande)+"] not implemented"); - sendToClient(error_command,"["+QString::number(commande)+"] not implemented"); - break; - } - } - else - { //conversion error string->int - debugQt("Command error !"); - } - } - else - { // core_syntax sends an error - debugQt("Command error !"); - } - } -} - - -/** - Close connection. -*/ -void ClientSocket ::socketConnectionClose() -{ - debugQt("ClientSocket ::socketConnectionClose()"); - SSL_init=false; - SSL_shutdown(ssl); - debugQt ("SSL_shutdown OK"); - SSL_free(ssl); - debugQt ("SSL_free OK"); - socketdevice->close(); - deleteLater(); -} /** - Slot : Receive smbstatus reply. + Slot : Receive %smbstatus reply. + \sa CmdSmbRq */ void ClientSocket ::slot_smbstatus(const QStringList & rcv_smb) { @@ -503,7 +331,7 @@ start=true; } } - sendToClient(end_smb_rq); // end of smbstatus reply. All data has been sent + sendToClient(end_smb_rq); // end of smbstatus reply. All datas has been sent } @@ -519,14 +347,66 @@ /** - Timer ending (echo), sends a new echo request. After 3 failures, disconnect. + Authentication Request + \param texte arg=1=username, arg2=password + \sa core_syntax PamThread */ -void ClientSocket::slot_echo_timer() +void ClientSocket :: CmdAuthRq(const QString & texte) { - echo++; - debugQt("ClientSocket::slot_echo_timer() - echo = "+QString::number(echo)); - if (echo > 2) socketConnectionClose(); // After 3 failures, disconnect - else sendToClient(echo_request); // sends a new echo request + debugQt(" ClientSocket :: CmdAuthRq()"); + core_syntax stx(texte); + QString Username=stx.returnArg(1); + QString Passwd=stx.returnArg(2); + if ( (!Username.isEmpty()) && (Username.length () < 50) && (!Passwd.isEmpty()) && (Passwd.length () < 50)) + { + // if client is authorized to disconnect user + for ( QStringList::Iterator it = AllowUserDisconnect.begin(); it != AllowUserDisconnect.end(); ++it ) { + if (((*it)==Username) || ((*it).toLower()=="all")) permitDisconnectUser=true; + } + // if client is authorized to send popup message + for ( QStringList::Iterator it = AllowUserSendMsg.begin(); it != AllowUserSendMsg.end(); ++it ) { + if (((*it)==Username) || ((*it).toLower ()=="all")) permitSendMsg=true; + } + + // PAM Request + pamthread->setAuth(Username,Passwd); + pamthread->start(); + return; + } + sendToClient(error_auth); + QTimer::singleShot(100,this,SLOT(deleteLater())); } + +/** + pamthread finished + \sa CmdAuthRq +*/ +void ClientSocket ::pamFinished() +{ + debugQt ("ClientSocket::pamFinished()"); + if (pamthread->auth_resu) + { + // client authenticated + AuthUser=true; + sendToClient(auth_ack); + /* + infoserver : right for current client + 0000 0001 : permit client to disconnect an user + 0000 0010 : permit client to send popup messages (popupwindows) + */ + int infoserver=0; + if (permitDisconnectUser) infoserver=1; + if (permitSendMsg) infoserver+=2; + // send client's rights + sendToClient(server_info,QString::number(infoserver)); + } + else + { + // client is not authenticated. disconnect it + sendToClient(error_auth); + QTimer::singleShot(100,this,SLOT(deleteLater())); + } +} + diff -Nru qtsmbstatus-2.0.4/server/clientsocket.h qtsmbstatus-2.1.1/server/clientsocket.h --- qtsmbstatus-2.0.4/server/clientsocket.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/clientsocket.h 2009-04-12 14:46:48.000000000 +0200 @@ -21,75 +21,36 @@ #ifndef CLIENTSOCKET_H #define CLIENTSOCKET_H -//SSL -#include -#include - -//Qt -#include - -class Q3SocketDevice; -class QSocketNotifier; -class Q3CString; -class QTimer; - -#include "process_smbd_exist.h" -#include "sendmessage_manager.h" -#include "smbmanager.h" +#include +#include #include "pamthread.h" -#include "../common/core_syntax.h" -extern void debugQt(const QString & message); -extern void SSL_print_error(int errorcode); -extern void Socket_print_error (int errorcode); - -extern bool debug_qtsmbstatus; -extern bool daemonize; -extern Q_UINT16 port_server; -extern QString Certificat; -extern QString Private_key; -extern QString ssl_password; -extern QString version_qtsmbstatus; -extern QStringList AllowUserDisconnect; -extern QStringList AllowUserSendMsg; - -class ClientSocket: public QObject { - Q_OBJECT +class ClientSocket: public QSslSocket +{ + Q_OBJECT public: - ClientSocket( const int & sock, QObject *parent=0); + ClientSocket(QObject* parent=0); virtual ~ClientSocket(); static int compteur_objet; -private: //attributes - Q3SocketDevice *socketdevice; - QSocketNotifier * sn_read; - QSocketNotifier * sn_exception; - int echo; - static int TimoutTimerEcho; - QTimer * echo_timer; - int socket; - //! if user authenticated +private slots: + void core (); + void SocketError(); + void SslErrors (const QList & listError); + void socketEncrypted(); + void pamFinished(); + void ObjError(const QString & error_txt); + void slot_smbstatus(const QStringList &); +private: + //! if %user authenticated bool AuthUser; - //! if client is authorized to disconnect user + //! if client is authorized to disconnect %user bool permitDisconnectUser; //! if client is authorized to send popup message bool permitSendMsg; - bool SSL_init; - SSL* ssl; PamThread * pamthread; - QTimer *timer; - enum command {auth_rq,auth_ack,end,kill_user,send_msg,smb_rq,smb_data,end_smb_rq,not_imp1,server_info,error_auth,error_command,error_obj,echo_request,echo_reply} ; -private slots: - void readClient(); - void Exception(); - void ObjError(const QString & error_txt); - void slot_smbstatus(const QStringList &); - void slot_pam(); - void slot_echo_timer(); -public slots: - void socketConnectionClose(); -private://methods + enum command {auth_rq,auth_ack,end,kill_user,send_msg,smb_rq,smb_data,end_smb_rq,whoiam, + server_info,error_auth,error_command,error_obj,echo_request,echo_reply} ; void sendToClient(int cmd,const QString & inputArg1="",const QString & inputArg2=""); - void core (const Q3CString & rcv_txt) ; void CmdKillUser(const QString & texte); void CmdSendMsg(const QString & texte); void CmdSmbRq(); @@ -97,3 +58,4 @@ }; #endif + diff -Nru qtsmbstatus-2.0.4/server/disconnect_manager.cpp qtsmbstatus-2.1.1/server/disconnect_manager.cpp --- qtsmbstatus-2.0.4/server/disconnect_manager.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/disconnect_manager.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -25,9 +25,9 @@ /** \class disconnect_manager - \brief Kill a process - \date 2007-06-18 - \version 1.0 + \brief Kill a smb process (disconnect an %user) + \date 2008-11-10 + \version 1.2 \author Daniel Rocher \param MyPID PID of process \param USER username @@ -37,36 +37,54 @@ disconnect_manager::disconnect_manager(const QString & MyPID,const QString & USER,QObject *parent ) : QObject(parent) { debugQt("Object disconnect_manager : "+QString::number(++compteur_objet)); - MyPid=MyPID.stripWhiteSpace(); - user=USER.stripWhiteSpace(); - QString kill_argument; - error_proc=false; - - proc = new Q3Process( this ); - proc->addArgument( "sh"); // run a shell - kill_argument="kill -15 " + MyPid; - debugQt ("Disconnect "+user+ " - "+kill_argument); - - connect( proc, SIGNAL(processExited()), - this, SLOT(end_process()) ); - - connect( proc, SIGNAL(readyReadStderr ()), - this, SLOT(ReadStderr()) ); - - State=begin; - if ( !proc->launch (kill_argument) ) - { - // error handling - qWarning("process kill error"); - error_proc=true; - deleteLater(); - } + + m_textDecoder = QTextCodec::codecForLocale()->makeDecoder(); + MyPid=MyPID.simplified(); + user=USER.simplified(); + + connect( &proc, SIGNAL(finished ( int, QProcess::ExitStatus) ),this, SLOT(end_process()) ); + connect( &proc, SIGNAL(readyReadStandardError ()),this, SLOT(ReadStderr()) ); + connect( &proc, SIGNAL(error ( QProcess::ProcessError) ),this, SLOT(error(QProcess::ProcessError)) ); + + QStringList arguments; + arguments << "-c" << "kill -15 "+MyPid; + + debugQt ("Disconnect "+user+ " - sh "+arguments.join(" ")); + + proc.start("sh",arguments,QIODevice::ReadOnly); } disconnect_manager::~disconnect_manager() { debugQt("Object disconnect_manager : "+QString::number(--compteur_objet)); - if (error_proc) emit ObjError(tr("process kill error")); + delete m_textDecoder; +} + + +/** + an error occurs with the process +*/ +void disconnect_manager::error(QProcess::ProcessError err) { + debugQt("disconnect_manager::error()"); + // error handling + qWarning("process kill error"); + + switch (err) { + case 0: debugQt(" ==> FailedToStart"); + break; + case 1: debugQt(" ==> Crashed"); + break; + case 2: debugQt(" ==> Timedout"); + break; + case 3: debugQt(" ==> ReadError"); + break; + case 4: debugQt(" ==> WriteError"); + break; + case 5: debugQt(" ==> UnknownError"); + break; + } + emit ObjError(tr("process kill error")); + deleteLater (); } /** @@ -75,7 +93,7 @@ void disconnect_manager::end_process() { debugQt("disconnect_manager::end_process()"); - if (State!=error) deleteLater (); // delete this object + deleteLater (); // delete this object } /** @@ -85,16 +103,9 @@ { debugQt("disconnect_manager::ReadStderr()"); - QString ligne; - while ( proc->canReadLineStderr () ) - { - ligne=proc->readLineStderr (); - debugQt(ligne); - State = error; - - emit ObjError(tr("Failed to disconnect user")+" "+ user + " : " + ligne ); - deleteLater (); - return; - } + QString str=m_textDecoder->toUnicode(proc.readAllStandardError()); + debugQt(str); + + emit ObjError(tr("Failed to disconnect user")+" "+ user + " : " + str ); } diff -Nru qtsmbstatus-2.0.4/server/disconnect_manager.h qtsmbstatus-2.1.1/server/disconnect_manager.h --- qtsmbstatus-2.0.4/server/disconnect_manager.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/disconnect_manager.h 2009-04-12 14:46:48.000000000 +0200 @@ -22,7 +22,8 @@ #define DISCONNECT_MANAGER_H #include -#include +#include +#include class QString; @@ -35,14 +36,14 @@ virtual ~disconnect_manager(); static int compteur_objet; private: // Private attributes - Q3Process* proc; + QProcess proc; QString MyPid; QString user; - bool error_proc; - enum {begin,error} State; + QTextDecoder * m_textDecoder; private slots: // Private slots void end_process(); void ReadStderr(); + void error(QProcess::ProcessError); signals: // Signals void ObjError(const QString & ); }; diff -Nru qtsmbstatus-2.0.4/server/etc/qtsmbstatusd qtsmbstatus-2.1.1/server/etc/qtsmbstatusd --- qtsmbstatus-2.0.4/server/etc/qtsmbstatusd 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/etc/qtsmbstatusd 2009-04-12 14:46:48.000000000 +0200 @@ -17,25 +17,44 @@ # chkconfig: 35 99 20 # description: qtsmbstatusd server (QtSmbstatus is a graphical user interface for smbstatus) - +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:$PATH NAME=qtsmbstatusd # see if qtsmbstatusd is running pid=`ps ax | awk '{print $1,$5}' | grep $NAME | awk '{print $1}' | awk '{print $1}'` +# get locale +default_locale=en_US.UTF-8 +if [ -f /etc/default/locale ]; then + # Debian systems + system_locale=`grep -re "LANG=" /etc/default/locale | awk 'BEGIN { FS = "[\"]" } { print $2 }'` +elif [ -f /etc/sysconfig/language ]; then + # SuSE systems + system_locale=`grep -re "LANG=" /etc/sysconfig/language | awk 'BEGIN { FS = "[\"]" } { print $2 }'` +elif [ -f /etc/sysconfig/i18n ]; then + # RedHat/mandriva systems + system_locale=`grep -re "LANG=" /etc/sysconfig/i18n | awk 'BEGIN { FS = "[\"]" } { print $2 }'` +elif [ -f /etc/profile ]; then + #default + system_locale=`grep -re "LANG=" /etc/profile | awk 'BEGIN { FS = "[\"]" } { print $2 }'` +fi + +if [ -z $system_locale ]; then system_locale=$default_locale; fi + # Start or stop the qtsmbstatusd server case $1 in start | restart | reload | force-reload) - if test "$pid" != ""; then - kill $pid - if /usr/bin/qtsmbstatusd -d; then - echo "qtsmbstatusd server restarted." + export LANG=$system_locale + if test "$pid" != ""; then + kill $pid + if qtsmbstatusd -d; then + echo "qtsmbstatusd server restarted." fi else - if /usr/bin/qtsmbstatusd -d; then - echo "qtsmbstatusd server started." + if qtsmbstatusd -d; then + echo "qtsmbstatusd server started." fi - fi + fi ;; stop) if test "$pid" != ""; then @@ -59,3 +78,4 @@ esac exit 0 + diff -Nru qtsmbstatus-2.0.4/server/etc/qtsmbstatusd.conf qtsmbstatus-2.1.1/server/etc/qtsmbstatusd.conf --- qtsmbstatus-2.0.4/server/etc/qtsmbstatusd.conf 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/etc/qtsmbstatusd.conf 2009-04-12 14:46:48.000000000 +0200 @@ -26,7 +26,7 @@ # Allow client to disconnect a user # You can authorize a client to disconnect a user. Use Username # or 'all' for all clients. -# exemples : +# examples : # permit_disconnect_user = root, villou, dan # permit_disconnect_user = all # default : permit_disconnect_user = root @@ -34,7 +34,7 @@ # Allow client to send a message # You can authorize a client to Send message. Use Username or 'all' for all clients. -# exemples : +# examples : # permit_send_msg = root, villou, dan # permit_send_msg = all # default : permit_send_msg = root,all diff -Nru qtsmbstatus-2.0.4/server/main.cpp qtsmbstatus-2.1.1/server/main.cpp --- qtsmbstatus-2.0.4/server/main.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/main.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -20,14 +20,23 @@ #include -#include -#include -#include +#include +#include #include "server.h" +#include "process_smbd_exist.h" +#include "sendmessage_manager.h" +#include "smbmanager.h" +#include "pamthread.h" -extern void unsupported_options(char *erreur, const QString & usage); +extern void unsupported_options(char *error, const QString & usage); extern bool validatePort(const int & port); +extern void debugQt(const QString & message); +extern void writeToConsole(const QString & message); + +extern quint16 port_server; +extern QString version_qtsmbstatus; +extern bool debug_qtsmbstatus; // default values of configs QString Certificat = "/etc/qtsmbstatusd/server.pem"; @@ -47,10 +56,11 @@ Receive SIGTERM, SIGINT or SIGQUIT signal */ void signal_handler(int) { - qDebug ("Stop QtSmbstatusd , please wait ..."); - myserver->stopserver(); + writeToConsole ("Stop QtSmbstatusd , please wait ..."); + QTimer::singleShot( 0, myserver, SLOT (stopServer())); } + /** Add user to a list \param variable username @@ -63,9 +73,9 @@ AllowUserDisconnect.clear(); while (variable.length() > 0) { - fin=variable.find(","); + fin=variable.indexOf (","); if (fin==-1) fin=variable.length(); - allow_user=(variable.mid(0,fin)).simplifyWhiteSpace(); + allow_user=(variable.mid(0,fin)).simplified (); if (allow_user!="") AllowUserDisconnect.append(allow_user); variable=variable.mid(fin+1); @@ -84,9 +94,9 @@ AllowUserSendMsg.clear(); while (variable.length() > 0) { - fin=variable.find(","); + fin=variable.indexOf (","); if (fin==-1) fin=variable.length(); - allow_user=(variable.mid(0,fin)).simplifyWhiteSpace(); + allow_user=(variable.mid(0,fin)).simplified(); if (allow_user!="") AllowUserSendMsg.append(allow_user); variable=variable.mid(fin+1); @@ -107,19 +117,19 @@ QFile f1( "/etc/qtsmbstatusd/qtsmbstatusd.conf" ); if ( !f1.open( QIODevice::ReadOnly ) ) { - qDebug("Impossible to read configuration file. Use default settings."); + writeToConsole("Impossible to read configuration file. Use default settings."); return; } - Q3TextStream t( &f1 ); + QTextStream t( &f1); while ( !t.atEnd() ) { ligne = t.readLine(); - ligne = ligne.simplifyWhiteSpace(); + ligne = ligne.simplified(); if ((ligne.mid(0,1) == "#") || (ligne.length ()==0)) continue; if (ligne.contains("=")) { - attr= (ligne.mid(0,ligne.find("="))).simplifyWhiteSpace(); - variable = (ligne.mid(ligne.find("=")+1)).simplifyWhiteSpace(); + attr= (ligne.mid(0,ligne.indexOf ("="))).simplified(); + variable = (ligne.mid(ligne.indexOf ("=")+1)).simplified(); if (attr=="port") { port=(variable).toInt(&ok); @@ -148,7 +158,7 @@ // help message (option --help) QString usage="\n Usage: qtsmbstatusd -d -m -p -v --help\n\n" - " --help : Show this help\n" + " -h|--help : Show this help\n" " -d : Daemonize\n" " -p : TCP port - default = " + QString::number(port_server) +"\n" " -v : Show qtsmbstatusd version\n" @@ -157,67 +167,77 @@ // read configuration file readConfigFile(); - for ( int i = 1; i < argc; i++ ) - { - if (QString(argv[i])=="--help") - { - qDebug(usage); - return 0; - } - if (argv[i][0] == '-') - switch (argv[i][1]) - { - case 'p': // TCP Port - if (argv[i][2]=='\0') - { - port_server=(QString(argv[++i])).toInt(&ok); - if (ok==false) - { - qDebug("\n Missing argument : -p \n" + usage); - return 1; - } - if (!validatePort(port_server)) return 1; // port not valid - } - else - { - unsupported_options(argv[i],usage); - return 1; - } + QCoreApplication app(argc, argv); // user interface is unused in this program + app.setApplicationName("qtsmbstatusd"); + #if QT_VERSION >= 0x040400 + app.setApplicationVersion(version_qtsmbstatus); + #endif + app.setOrganizationName("adella.org"); + app.setOrganizationDomain("qtsmbstatus.free.fr"); + + int optch; + extern int opterr; + opterr = 1; // show getopt errors + + if( app.arguments().contains("--help")) { + writeToConsole(usage); + return 0; + } + + while ((optch = getopt(argc, argv, "hdp:vm")) != -1) { + switch (optch) { + case 'h': + writeToConsole(usage); + return 0; break; - case 'v': //version - if (argv[i][2]=='\0') qDebug("QtSmbstatusd version : " + version_qtsmbstatus); // view qtsmbstatusd version - else - { - unsupported_options(argv[i],usage); - return 1; - } + case 'v': + writeToConsole("QtSmbstatusd version : " + version_qtsmbstatus); // view qtsmbstatusd version return 0; break; - case 'm': // debug - if (argv[i][2]=='\0') debug_qtsmbstatus=true; // view message debug - else - { - unsupported_options(argv[i],usage); - return 1; - } + case 'd': + daemonize=true; break; - case 'd': // daemonize - if (argv[i][2]=='\0') daemonize=true; - else + case 'p': + port_server=(QString(optarg)).toInt(&ok); + if (ok==false) { - unsupported_options(argv[i],usage); + writeToConsole("\nbad syntax for -p\n" + usage); return 1; } + if (!validatePort(port_server)) return 1; // port not valid break; - default: // unsupported option -> show message and exit - unsupported_options(argv[i],usage); - return 1; + case 'm': + debug_qtsmbstatus=true; // view message debug break; + default: // '?' + writeToConsole(usage); + return 1; } } + + if (optind < argc) { + printf("\nUnknown option: %s\n\n",argv[optind]); + return 1; + } + + // SSL support + if (!QSslSocket::supportsSsl()) + writeToConsole("This platform don't supports SSL. The socket will fail in the connection phase."); + + myserver = new Server(Certificat, Private_key, ssl_password , &app); + if (! myserver->listen ( QHostAddress::Any, port_server)) { + writeToConsole("Failed to bind to port "+QString::number( port_server )); + exit(1); + } - QApplication app(argc, argv, false ); // user interface is unused in this program - myserver = new Server(&app); + if (daemonize) // if daemonize server (run as server) + { + if (daemon(0, 0)==-1) + { + writeToConsole("Error in daemon(0,0) call - exiting"); + exit(1); + } + } app.connect( myserver, SIGNAL( destroyed ()), &app, SLOT(quit()) ); int value_return=app.exec(); diff -Nru qtsmbstatus-2.0.4/server/pamthread.cpp qtsmbstatus-2.1.1/server/pamthread.cpp --- qtsmbstatus-2.0.4/server/pamthread.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/pamthread.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -23,8 +23,8 @@ /** \class PamThread \brief Authenticate with PAM - \date 2007-06-18 - \version 1.0 + \date 2008-11-25 + \version 1.2 \author Daniel Rocher Use thread (don't block Mainwindow event loop) @@ -36,7 +36,7 @@ { debugQt("Object PamThread : "+QString::number(++compteur_objet)); auth_resu=false; - + m_textEncoder = QTextCodec::codecForLocale()->makeEncoder(); } PamThread::~PamThread() @@ -63,7 +63,7 @@ { debugQt ("PamThread::run()"); // try to authenticate using username and password - if (auth((char *) Name.latin1() , (char *) Passwd.latin1() ) ) + if (auth(m_textEncoder->fromUnicode(Name).data() ,m_textEncoder->fromUnicode(Passwd).data())) { // authentication OK debugQt ("PAM AUTH : OK !"); diff -Nru qtsmbstatus-2.0.4/server/pamthread.h qtsmbstatus-2.1.1/server/pamthread.h --- qtsmbstatus-2.0.4/server/pamthread.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/pamthread.h 2009-04-12 14:46:48.000000000 +0200 @@ -22,6 +22,7 @@ #define PAMTHREAD_H #include +#include class QString; @@ -41,6 +42,7 @@ private: QString Name; QString Passwd; + QTextEncoder * m_textEncoder; }; #endif diff -Nru qtsmbstatus-2.0.4/server/postinst.sh qtsmbstatus-2.1.1/server/postinst.sh --- qtsmbstatus-2.0.4/server/postinst.sh 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/postinst.sh 2009-04-12 14:46:48.000000000 +0200 @@ -14,7 +14,7 @@ if test -s $ROOT_DIR/etc/debian_version; then # Debian systems - update-rc.d qtsmbstatusd start 20 2 3 5 . stop 20 0 6 . + update-rc.d qtsmbstatusd start 01 2 3 5 . stop 20 0 6 . echo "Debian systems" elif test -s $ROOT_DIR/etc/SuSE-release; then # SuSE systems diff -Nru qtsmbstatus-2.0.4/server/process_smbd_exist.cpp qtsmbstatus-2.1.1/server/process_smbd_exist.cpp --- qtsmbstatus-2.0.4/server/process_smbd_exist.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/process_smbd_exist.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -25,8 +25,8 @@ /** \class process_smbd_exist \brief test if PID it's a correct smbd process. - \date 2007-06-18 - \version 1.0 + \date 2008-11-10 + \version 1.2 \author Daniel Rocher \param MyPID PID of process \param USER username @@ -37,33 +37,55 @@ : QObject(parent) { debugQt("Object process_smbd_exist : "+QString::number(++compteur_objet)); + + m_textDecoder = QTextCodec::codecForLocale()->makeDecoder(); + State=begin; - MyPid=MyPID.stripWhiteSpace(); - UserSamba=USER.stripWhiteSpace(); - QString argument; - - proc = new Q3Process( this ); - proc->addArgument( "sh"); // run a shell - argument="ps -f " + MyPid; - debugQt ("verifie coherence process :" + argument); - - connect( proc, SIGNAL(processExited()), - this, SLOT(end_process()) ); + MyPid=MyPID.simplified(); + UserSamba=USER.simplified(); - connect( proc, SIGNAL(readyReadStdout ()), - this, SLOT(readFromStdout()) ); + connect( &proc, SIGNAL(finished ( int, QProcess::ExitStatus)),this, SLOT(end_process()) ); + connect( &proc, SIGNAL(readyReadStandardOutput ()),this, SLOT(readFromStdout()) ); + connect( &proc, SIGNAL(error ( QProcess::ProcessError) ),this, SLOT(error(QProcess::ProcessError)) ); + + QStringList arguments; + arguments << "-c" << "ps -f "+MyPid; + debugQt ("check process : sh " + arguments.join(" ")); - State=begin; - if ( !proc->launch (argument) ) { - // error handling - qWarning("process 'ps -f pid' error"); - deleteLater(); - } + proc.start("sh",arguments,QIODevice::ReadOnly); } process_smbd_exist::~process_smbd_exist() { debugQt("Object process_smbd_exist : "+QString::number(--compteur_objet)); + delete m_textDecoder; +} + + +/** + an error occurs with the process +*/ +void process_smbd_exist::error(QProcess::ProcessError err) { + debugQt("process_smbd_exist::error()"); + // error handling + qWarning("process sh error"); + + switch (err) { + case 0: debugQt(" ==> FailedToStart"); + break; + case 1: debugQt(" ==> Crashed"); + break; + case 2: debugQt(" ==> Timedout"); + break; + case 3: debugQt(" ==> ReadError"); + break; + case 4: debugQt(" ==> WriteError"); + break; + case 5: debugQt(" ==> UnknownError"); + break; + } + emit ObjError("Process sh error. Contact your administrator."); + deleteLater (); } @@ -72,22 +94,18 @@ */ void process_smbd_exist::readFromStdout(){ debugQt("process_smbd_exist::readFromStdout()"); - QString ligne; + QString str=m_textDecoder->toUnicode(proc.readAllStandardOutput()); - while ( proc->canReadLineStdout ()) + debugQt(str); + if (str.contains (MyPid,Qt::CaseInsensitive) && str.contains ("smbd",Qt::CaseInsensitive)) { - ligne=proc->readLineStdout (); // Read one line - if (ligne.contains (MyPid,false) && ligne.contains ("smbd",false)) - { - // It's a correct process - State = find; - debugQt("process is smbd : "+ ligne); - // disconnect user (kill process) - disconnect_manager * kill_process = new disconnect_manager(MyPid,UserSamba,this); - - connect( kill_process, SIGNAL(destroyed()),this, SLOT(slot_EndProcessKill()) ); - return; - } + // It's a correct process + State=find; + debugQt("process is smbd"); + // disconnect user (kill process) + disconnect_manager * kill_process = new disconnect_manager(MyPid,UserSamba,this); + connect (kill_process,SIGNAL(ObjError(QString)), this,SIGNAL(ObjError(QString))); + connect( kill_process, SIGNAL(destroyed()),this, SLOT(slot_EndProcessKill()) ); } } @@ -100,7 +118,7 @@ { // It isn't process smbd debugQt("process is not smbd ! Pid: "+MyPid + " User: "+ UserSamba); - emit ObjError("Failed to disconnect user "+ UserSamba); + emit ObjError(tr("Failed to disconnect user")+" "+ UserSamba); deleteLater (); } } diff -Nru qtsmbstatus-2.0.4/server/process_smbd_exist.h qtsmbstatus-2.1.1/server/process_smbd_exist.h --- qtsmbstatus-2.0.4/server/process_smbd_exist.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/process_smbd_exist.h 2009-04-12 14:46:48.000000000 +0200 @@ -22,7 +22,8 @@ #define PROCESS_SMBD_EXIST_H #include -#include +#include +#include class QString; @@ -39,13 +40,15 @@ virtual ~process_smbd_exist(); static int compteur_objet; private: // Private attributes - Q3Process* proc; + QProcess proc; QString MyPid; QString UserSamba; enum {begin,find} State; + QTextDecoder * m_textDecoder; private slots: // Private slots void end_process(); void readFromStdout(); + void error(QProcess::ProcessError); protected slots: virtual void slot_EndProcessKill(); signals: // Signals Les fichiers binaires /tmp/tfCA1XG6cp/qtsmbstatus-2.0.4/server/qtsmbstatusd.7.gz et /tmp/jP5Cv83vhE/qtsmbstatus-2.1.1/server/qtsmbstatusd.7.gz sont différents. diff -Nru qtsmbstatus-2.0.4/server/sendmessage_manager.cpp qtsmbstatus-2.1.1/server/sendmessage_manager.cpp --- qtsmbstatus-2.0.4/server/sendmessage_manager.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/sendmessage_manager.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -23,8 +23,8 @@ /** \class Sendmessage_manager \brief Send message popup (smbclient required) - \date 2007-06-18 - \version 1.0 + \date 2008-11-10 + \version 1.2 \author Daniel Rocher \param machine Machine name \param message message to be sent @@ -35,40 +35,55 @@ Sendmessage_manager::Sendmessage_manager(const QString & machine, const QString & message,QObject *parent) : QObject(parent) { debugQt("Object Sendmessage_manager : "+ QString::number(++compteur_objet)); - error_proc=false; - to_machine=machine.stripWhiteSpace(); - my_message=message.stripWhiteSpace(); + m_textDecoder = QTextCodec::codecForLocale()->makeDecoder(); + + to_machine=machine.simplified(); + my_message=message.simplified(); my_message.replace( "\"", " ").replace( "\\", " "); + my_message="echo " + my_message + " | smbclient -M " + to_machine; - my_message="echo \"" + my_message + "\" | smbclient -M " + to_machine; - - proc = new Q3Process( this ); - proc->addArgument( "sh"); // run a shell - debugQt ("Send message to "+machine+ " - " + my_message); - - connect( proc, SIGNAL(processExited()), - this, SLOT(end_process()) ); - - connect( proc, SIGNAL(readyReadStdout ()), - this, SLOT(readFromStdout()) ); - - connect( proc, SIGNAL(readyReadStderr ()), - this, SLOT(ReadStderr()) ); - - State=begin; - if ( !proc->launch (my_message) ) { - // error handling - qWarning("process smbclient error"); - error_proc=true; - deleteLater(); - } + connect( &proc, SIGNAL(finished ( int, QProcess::ExitStatus)),this, SLOT(end_process()) ); + connect( &proc, SIGNAL(readyReadStandardOutput ()),this, SLOT(readFromStdout()) ); + connect( &proc, SIGNAL(readyReadStandardError ()),this, SLOT(ReadStderr()) ); + connect( &proc, SIGNAL(error ( QProcess::ProcessError) ),this, SLOT(error(QProcess::ProcessError)) ); + + QByteArray str; + str.append ( "sh -c \"" + my_message + "\""); + debugQt ("Send message to "+machine+ " - "+ str); + proc.start(str,QIODevice::ReadOnly); } Sendmessage_manager::~Sendmessage_manager(){ debugQt("Object Sendmessage_manager : "+ QString::number(--compteur_objet)); - if (error_proc) emit ObjError(tr("process smbclient error")); + delete m_textDecoder; +} + +/** + an error occurs with the process +*/ +void Sendmessage_manager::error(QProcess::ProcessError err) { + debugQt("Sendmessage_manager::error()"); + // error handling + qWarning("process smbclient error"); + + switch (err) { + case 0: debugQt(" ==> FailedToStart"); + break; + case 1: debugQt(" ==> Crashed"); + break; + case 2: debugQt(" ==> Timedout"); + break; + case 3: debugQt(" ==> ReadError"); + break; + case 4: debugQt(" ==> WriteError"); + break; + case 5: debugQt(" ==> UnknownError"); + break; + } + emit ObjError(tr("process smbclient error")); + deleteLater (); } /** @@ -76,16 +91,10 @@ */ void Sendmessage_manager::ReadStderr(){ debugQt("Sendmessage_manager::ReadStderr()"); - QString ligne; - - while ( proc->canReadLineStderr () ) - { - ligne=proc->readLineStderr (); // Read one line - debugQt(ligne); + QString str=m_textDecoder->toUnicode(proc.readAllStandardError()); + debugQt(str); - emit ObjError(tr("Failed to send message")+" : "+ ligne ); - return; - } + emit ObjError(tr("Failed to send message")+" : "+ str ); } @@ -95,20 +104,11 @@ void Sendmessage_manager::readFromStdout(){ debugQt("Sendmessage_manager::readFromStdout()"); - QString ligne; - - while ( proc->canReadLineStdout () ) - { - ligne=proc->readLineStdout (); // Read one line - - if (ligne.contains ("Cannot resolve",false) or ligne.contains (" failed",false) or ligne.contains ("ERRSRV",false)) - { - State = error; - emit ObjError(tr("Could not send message to") + " " + to_machine); - deleteLater (); - return; - } - } + QString str(m_textDecoder->toUnicode(proc.readAllStandardOutput())); + debugQt(str); + + if (str.contains ("Cannot resolve",Qt::CaseInsensitive) or str.contains (" failed",Qt::CaseInsensitive) or str.contains ("ERRSRV",Qt::CaseInsensitive)) + emit ObjError(tr("Could not send message to") + " " + to_machine); } @@ -117,5 +117,5 @@ */ void Sendmessage_manager::end_process(){ debugQt("Sendmessage_manager::end_process()"); - if (State!=error) deleteLater (); + deleteLater (); } diff -Nru qtsmbstatus-2.0.4/server/sendmessage_manager.h qtsmbstatus-2.1.1/server/sendmessage_manager.h --- qtsmbstatus-2.0.4/server/sendmessage_manager.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/sendmessage_manager.h 2009-04-12 14:46:48.000000000 +0200 @@ -22,7 +22,8 @@ #define SENDMESSAGE_MANAGER_H #include -#include +#include +#include class QString; @@ -36,15 +37,15 @@ virtual ~Sendmessage_manager(); static int compteur_objet; private: // Private attributes - Q3Process* proc; + QProcess proc; QString my_message; QString to_machine; - bool error_proc; - enum {begin,error} State; + QTextDecoder * m_textDecoder; private slots: // Private slots - void readFromStdout(); - void ReadStderr(); - void end_process(); + void readFromStdout(); + void ReadStderr(); + void end_process(); + void error(QProcess::ProcessError); signals: void ObjError(const QString & ); }; diff -Nru qtsmbstatus-2.0.4/server/server.cpp qtsmbstatus-2.1.1/server/server.cpp --- qtsmbstatus-2.0.4/server/server.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/server.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -18,115 +18,97 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ - #include "server.h" +#include +#include "server.h" -/** - password callback for ssl key usage -*/ - -int pem_passwd_cb(char *buf, int size, int rwflag, void *password) -{ - strncpy(buf, ssl_password, size); - buf[size - 1] = '\0'; - return(strlen(buf)); -} +extern void debugQt(const QString & message); +int Server::compteur_objet=0; /** \class Server - \brief The Server class handles new connections to the server. - \param port_server Port where the server should listen at + \brief The Server class handles new connections to the %server. + For every client that connects, it creates a new ClientSocket + \param certificatFile certificat file name + \param privateKeyFile private key file name + \param sslPassword passphras for private key \param parent pointer to the parent object - \date 2007-06-15 - \version 1.0 + \sa ClientSocket + \date 2008-11-06 + \version 2.0 \author Daniel Rocher - For every client that connects, it creates a new ClientSocket */ -Server :: Server( QObject* parent ) : Q3ServerSocket( port_server, 1, parent ) +Server :: Server( const QString & certificatFile , const QString & privateKeyFile ,const QString & sslPassword , QObject* parent ) : QTcpServer ( parent ) { - // ***************** initialize TLS/SSL ************************** + debugQt("Server::Server(): "+QString::number(++compteur_objet)); - // Load error strings - SSL_load_error_strings(); - // Initialize SSL library by registering algorithms - OpenSSL_add_ssl_algorithms(); - debugQt ("add ssl algorithms OK"); - - // Create a new SSL_CTX object - ssl_ctx = SSL_CTX_new (SSLv23_server_method()); - debugQt ("SSL CTX new OK"); - - // set passwd callback for encrypted PEM file handling - SSL_CTX_set_default_passwd_cb(ssl_ctx,pem_passwd_cb); - debugQt ("set default passwd OK"); - - // loads the first certificate stored in file into ctx - if (SSL_CTX_use_certificate_file(ssl_ctx, Certificat, SSL_FILETYPE_PEM) <= 0) - { - qWarning("Error in use_certificate_file"); - ERR_print_errors_fp(stderr); - exit(1); - } - debugQt ("use certificate file OK"); - // adds the first private key found in file to ctx - if (SSL_CTX_use_PrivateKey_file(ssl_ctx, Private_key , SSL_FILETYPE_PEM) <= 0) - { - qWarning("Error in use_privatekey_file"); - ERR_print_errors_fp(stderr); - exit(1); - } - debugQt ("use PrivateKey file OK"); + // Certificat + QFile f_certif(certificatFile); - // load certificate and key data - if (!SSL_CTX_check_private_key(ssl_ctx)) - { - qWarning("Error loading ssl certificate: Private key does not match the certificate public key"); - exit(1); + if (!f_certif.open(QIODevice::ReadOnly | QIODevice::Text)) { + qWarning() << "Impossible to open certificat file : " << certificatFile << " !\n\n"; + exit (1); } - debugQt ("check private key OK"); - if ( !ok() ) - { - qWarning("Failed to bind to port "+QString::number( port_server )); - exit(1); + certif=QSslCertificate( &f_certif ); + if (! certif.isValid()) { + qWarning() << "Bad certificate !\n\n"; + exit (1); } + debugQt("Certificate OK"); + - // here, SSL is ready + // private key + QByteArray sslPassPhras; + sslPassPhras.append(sslPassword); - if (daemonize) // if daemonize server (run as server) - { - if (daemon(0, 0)==-1) - { - qWarning("Error in daemon(0,0) call - exiting"); - exit(1); - } + QFile f_pKey(privateKeyFile); + if (!f_pKey.open(QIODevice::ReadOnly | QIODevice::Text)) { + qWarning() << "Impossible to open private key file : " << privateKeyFile << " !\n\n"; + exit (1); } + + s_key=QSslKey( &f_pKey, QSsl::Rsa, QSsl::Pem, QSsl::PrivateKey, sslPassPhras ); + if (s_key.isNull()) { + qWarning() << "the private key or password are bad !\n\n"; + exit (1); + } + debugQt("Private key OK"); } Server :: ~Server() { - debugQt("~Server()"); + debugQt("Server::~Server(): "+QString::number(--compteur_objet)); } /** New client create new Clientsocket - \param socket socket number + \param socketId socket number */ -void Server :: newConnection( int socket ) +void Server :: incomingConnection( int socketId ) { - debugQt ("Server :: newConnection()"); - ClientSocket *s = new ClientSocket( socket, this ); - connect (this,SIGNAL(destroyed()),s,SLOT(socketConnectionClose())); + debugQt ("Server :: incomingConnection()"); + ClientSocket *socket = new ClientSocket( this ); + // set protocol (SSLv2,v3 and TLS) + socket->setProtocol (QSsl::AnyProtocol); + socket->setLocalCertificate(certif); + socket->setPrivateKey(s_key); + if( socket->setSocketDescriptor( socketId ) ) { + debugQt( "Calling sslSocket->startServerEncryption()"); + socket->startServerEncryption(); + } else { + qWarning() << "Couldn't setSocketDescriptor(" << socketId << ") for this connection"; + delete socket; + } } /** - Stop server (kill , CTRL+C, ...) + Stop server */ -void Server ::stopserver() +void Server ::stopServer() { - debugQt ("Server :: stopserver()"); + debugQt("Server::stopServer()"); deleteLater(); } - diff -Nru qtsmbstatus-2.0.4/server/server.h qtsmbstatus-2.1.1/server/server.h --- qtsmbstatus-2.0.4/server/server.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/server.h 2009-04-12 14:46:48.000000000 +0200 @@ -21,21 +21,24 @@ #ifndef SERVER_H #define SERVER_H -#include - +#include +#include +#include #include "clientsocket.h" -extern SSL_CTX* ssl_ctx; - -class Server : public Q3ServerSocket +class Server : public QTcpServer { Q_OBJECT public: - Server( QObject* parent=0 ); + Server(const QString & certificatFile, const QString & privateKeyFile ,const QString & sslPassword , QObject* parent=0 ); virtual ~Server(); - void newConnection( int socket ); + void incomingConnection( int socket ); + static int compteur_objet; public slots: - void stopserver(); + void stopServer(); +private: + QSslCertificate certif; + QSslKey s_key; }; #endif diff -Nru qtsmbstatus-2.0.4/server/server.pro qtsmbstatus-2.1.1/server/server.pro --- qtsmbstatus-2.0.4/server/server.pro 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/server.pro 2009-04-12 14:46:48.000000000 +0200 @@ -23,15 +23,23 @@ TEMPLATE = app +QT += network +QT -= gui + CONFIG += release \ warn_on \ thread TARGET = qtsmbstatusd -DESTDIR += bin -LIBS += -lpam \ - -lssl +MOC_DIR = ./build/moc +OBJECTS_DIR = ./build +DESTDIR = ./bin +UI_DIR = ./build/ui +RCC_DIR = ./build/rcc + + +LIBS += -lpam DATADIR= /etc/qtsmbstatusd DATAFILES = ./etc/privkey.pem \ @@ -66,12 +74,12 @@ manpage.path = $$MANDIR manpage.files = $$MANFILES -target.path = /usr/bin/ +target.path = /usr/local/bin/ postinstall.path=/ -postinstall.extra+= sh \$(PWD)/postinst.sh \$(INSTALL_ROOT) +postinstall.extra+= sh $$(PWD)/postinst.sh \$(INSTALL_ROOT) -!win32 { +unix { INSTALLS += data \ pam \ init \ @@ -81,4 +89,3 @@ postinstall } -QT += network qt3support diff -Nru qtsmbstatus-2.0.4/server/smbmanager.cpp qtsmbstatus-2.1.1/server/smbmanager.cpp --- qtsmbstatus-2.0.4/server/smbmanager.cpp 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/smbmanager.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -23,55 +23,74 @@ int smbmanager::compteur_objet=0; +/** + \class smbmanager + \brief start %smbstatus process + \date 2008-11-10 + \version 1.2 + \author Daniel Rocher + \param parent pointer to parent for this object + */ smbmanager::smbmanager(QObject *parent ) : QObject(parent) { debugQt("Object smbmanager : "+ QString::number(++compteur_objet)); - error_proc=false; - stError=false; - - proc = new Q3Process( this ); - proc->addArgument( "smbstatus" ); + requestFailed=false; + + m_textDecoder = QTextCodec::codecForLocale()->makeDecoder(); + + connect( &proc, SIGNAL(finished ( int, QProcess::ExitStatus) ),this, SLOT(end_process()) ); + connect( &proc, SIGNAL(readyReadStandardOutput ()),this, SLOT(read_data()) ); + connect( &proc, SIGNAL(readyReadStandardError ()),this, SLOT(ReadStderr()) ); + connect( &proc, SIGNAL(error ( QProcess::ProcessError) ),this, SLOT(error(QProcess::ProcessError)) ); - connect( proc, SIGNAL(processExited()), - this, SLOT(end_process()) ); - - connect( proc, SIGNAL(readyReadStdout ()), - this, SLOT(read_data()) ); - - connect( proc, SIGNAL(readyReadStderr ()), - this, SLOT(ReadStderr()) ); - - if ( !proc->start() ) { - // error handling - qWarning("process smbstatus error"); - error_proc=true; - deleteLater (); - } + proc.start("smbstatus",QIODevice::ReadOnly); } smbmanager::~smbmanager() { debugQt("Object smbmanager : "+ QString::number(--compteur_objet)); - if (error_proc) emit ObjError(tr("process smbstatus error")); + delete m_textDecoder; +} + + +/** + an error occurs with the process +*/ +void smbmanager::error(QProcess::ProcessError err) { + debugQt("smbmanager::error()"); + // error handling + qWarning("process smbstatus error"); + + switch (err) { + case 0: debugQt(" ==> FailedToStart"); + break; + case 1: debugQt(" ==> Crashed"); + break; + case 2: debugQt(" ==> Timedout"); + break; + case 3: debugQt(" ==> ReadError"); + break; + case 4: debugQt(" ==> WriteError"); + break; + case 5: debugQt(" ==> UnknownError"); + break; + } + emit ObjError(tr("process smbstatus error")); + requestFailed=true; + deleteLater (); } + /** Read Std error */ void smbmanager::ReadStderr() { debugQt("smbmanager::ReadStderr()"); - QString ligne; + QString str=m_textDecoder->toUnicode(proc.readAllStandardError()); + debugQt(str); - while ( proc->canReadLineStderr () ) - { - ligne=proc->readLineStderr (); // read one line - debugQt(ligne); - - emit ObjError(tr("Smbstatus request error")+" : "+ ligne ); - stError=true; - return; - } + emit ObjError(tr("Smbstatus request error")+" : "+ str.replace('\n',' ')); } @@ -81,10 +100,7 @@ void smbmanager::read_data () { debugQt("smbmanager::read_data ()"); - while (proc->canReadLineStdout ()) - { - data << (proc->readLineStdout ()); - } + datas+=m_textDecoder->toUnicode(proc.readAllStandardOutput()); } /** @@ -93,6 +109,8 @@ void smbmanager::end_process () { debugQt("smbmanager::end_process ()"); - if ((!stError) && (!error_proc)) emit signal_std_output(data); + QStringList list=datas.split("\n"); + + if (!requestFailed) emit signal_std_output(list); deleteLater(); } diff -Nru qtsmbstatus-2.0.4/server/smbmanager.h qtsmbstatus-2.1.1/server/smbmanager.h --- qtsmbstatus-2.0.4/server/smbmanager.h 2008-05-08 22:20:18.000000000 +0200 +++ qtsmbstatus-2.1.1/server/smbmanager.h 2009-04-12 14:46:48.000000000 +0200 @@ -21,13 +21,12 @@ #ifndef SMBMANAGER_H #define SMBMANAGER_H -#include +#include #include +#include class QStringList; - - extern void debugQt(const QString & message); class smbmanager : public QObject { @@ -37,15 +36,15 @@ virtual ~smbmanager(); static int compteur_objet; private: // Private attributes - Q3Process* proc; - QStringList data; - bool error_proc; - bool stError; - + QProcess proc; + QString datas; + bool requestFailed; + QTextDecoder * m_textDecoder; private slots: // Private slots void end_process (); void read_data (); void ReadStderr(); + void error(QProcess::ProcessError); signals: // Signals void signal_std_output(const QStringList & ); diff -Nru qtsmbstatus-2.0.4/utest/customsmbstatus.cpp qtsmbstatus-2.1.1/utest/customsmbstatus.cpp --- qtsmbstatus-2.0.4/utest/customsmbstatus.cpp 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/utest/customsmbstatus.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,52 @@ +/*************************************************************************** + * Copyright (C) 2004 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +#include + +#include "customsmbstatus.h" + +void CustomSmbstatus::clear() { + m_version_samba=""; + m_user.clear(); + m_share.clear(); + m_lockedfile.clear(); +} + +void CustomSmbstatus::setSambaVersion (const QString & version_samba) +{ + m_version_samba=version_samba; +} + +void CustomSmbstatus::add_user (const QString & strPid,const QString & strUser,const QString & strGroup,const QString & strMachineName,const QString & strMachineIP) +{ + if (m_user.isEmpty () || strUser!="nobody") + m_user << strPid << strUser << strGroup << strMachineName << strMachineIP; +} + +void CustomSmbstatus::add_share(const QString & strPid ,const QString & strShare,const QString & strConnected) +{ + m_share << strPid << strShare << strConnected; +} + +void CustomSmbstatus::add_lockedfile(const QString & strPid,const QString & strName,const QString & strMode,const QString & strRW,const QString & strOplock,const QString & strDateOpen) +{ + m_lockedfile << strPid << strName << strMode << strRW << strOplock << strDateOpen; +} + diff -Nru qtsmbstatus-2.0.4/utest/customsmbstatus.h qtsmbstatus-2.1.1/utest/customsmbstatus.h --- qtsmbstatus-2.0.4/utest/customsmbstatus.h 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/utest/customsmbstatus.h 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,49 @@ +/*************************************************************************** + * Copyright (C) 2004 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +#ifndef CUSTOMSMBSTATUS_H +#define CUSTOMSMBSTATUS_H + +#include +#include + +class QString; + + +class CustomSmbstatus: public QObject +{ +Q_OBJECT +public slots: + void clear(); + void setSambaVersion (const QString &); + void add_user (const QString &,const QString &,const QString &,const QString &,const QString &); + void add_share(const QString &,const QString &,const QString &); + void add_lockedfile(const QString &,const QString &,const QString &,const QString &,const QString &,const QString &); +public: + QString m_version_samba; + QStringList m_user; + QStringList m_share; + QStringList m_lockedfile; +}; + + + +#endif + diff -Nru qtsmbstatus-2.0.4/utest/main.cpp qtsmbstatus-2.1.1/utest/main.cpp --- qtsmbstatus-2.0.4/utest/main.cpp 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/utest/main.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,38 @@ +/*************************************************************************** + * Copyright (C) 2004 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +#include + +#include "utestlinecore.h" +#include "utestsmbstatus.h" + + +void debugQt (const QString & ) { } + +int main(int , char *) +{ + UtestLineCore testLineCore; + QTest::qExec(&testLineCore); + + UtestSmbstatus testSmbstatus; + QTest::qExec(&testSmbstatus); +} + + diff -Nru qtsmbstatus-2.0.4/utest/utestlinecore.cpp qtsmbstatus-2.1.1/utest/utestlinecore.cpp --- qtsmbstatus-2.0.4/utest/utestlinecore.cpp 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/utest/utestlinecore.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,83 @@ +/*************************************************************************** + * Copyright (C) 2004 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + + +#include +#include "utestlinecore.h" + +void UtestLineCore::initTestCase() { + col m_cols0= { "PID", "3456", 8}; + col m_cols1= { "Username", "robert Gas", 14}; + col m_cols2= { "Group", "etude 5519", 14}; + col m_cols3= { "Machine", "etude1 (192.168.1.1)", 31}; + + cols << m_cols0 << m_cols1 << m_cols2 << m_cols3; + + QString header; + for (int i = 0; i < cols.size(); ++i) + header.append(QString("%1").arg(cols.at(i).name, - cols.at(i).fieldWidth)); + + // qDebug() << header; + linecore.InitHeader(header); +} + +void UtestLineCore::InitElement() { + for (int i = 0; i < cols.size(); ++i) + QCOMPARE(linecore.InitElement(cols.at(i).name),i); +} + +void UtestLineCore::ReturnElement_data() +{ + QTest::addColumn("aRow"); + QTest::addColumn("col1"); + QTest::addColumn("col2"); + QTest::addColumn("col3"); + QTest::addColumn("col4"); + + QString line; + for (int j = -9; j <= 2 ; ++j) { // change fields size + line.clear(); + for (int i = 0; i < cols.size(); ++i) + line.append(QString("%1").arg(cols.at(i).data, j - (cols.at(i).fieldWidth))); + // qDebug() << line; + QTest::newRow("test row") << line << cols.at(0).data << cols.at(1).data << cols.at(2).data << cols.at(3).data; + } +} + +void UtestLineCore::ReturnElement() +{ + QFETCH(QString, aRow); + QFETCH(QString, col1); + QFETCH(QString, col2); + QFETCH(QString, col3); + QFETCH(QString, col4); + + linecore.Analysis(aRow); + QCOMPARE(linecore.ReturnElement(0), col1); + QCOMPARE(linecore.ReturnElement(1), col2); + QCOMPARE(linecore.ReturnElement(2), col3); + QCOMPARE(linecore.ReturnElement(3), col4); + QCOMPARE(linecore.ReturnElement(cols.at(0).name), col1); + QCOMPARE(linecore.ReturnElement(cols.at(1).name), col2); + QCOMPARE(linecore.ReturnElement(cols.at(2).name), col3); + QCOMPARE(linecore.ReturnElement(cols.at(3).name), col4); +} + + diff -Nru qtsmbstatus-2.0.4/utest/utestlinecore.h qtsmbstatus-2.1.1/utest/utestlinecore.h --- qtsmbstatus-2.0.4/utest/utestlinecore.h 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/utest/utestlinecore.h 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,51 @@ +/*************************************************************************** + * Copyright (C) 2004 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +#ifndef UTESTLINECORE_H +#define UTESTLINECORE_H + +#include +#include +#include + +#include "../client/linecore.h" + + +class UtestLineCore: public QObject +{ +Q_OBJECT +private slots: + void initTestCase(); + void InitElement(); + void ReturnElement_data(); + void ReturnElement(); + +private: + LineCore linecore; + struct col { + QString name; + QString data; + //! fieldWidth value specifies the minimum amount of space that a is padded to and filled with spaces + qint32 fieldWidth; + }; + QList cols; +}; + +#endif diff -Nru qtsmbstatus-2.0.4/utest/utest.pro qtsmbstatus-2.1.1/utest/utest.pro --- qtsmbstatus-2.0.4/utest/utest.pro 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/utest/utest.pro 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,31 @@ + +TEMPLATE = app + +CONFIG += release \ + warn_on + +TARGET = utest + +MOC_DIR = ./build/moc +OBJECTS_DIR = ./build +DESTDIR = ./bin +UI_DIR = ./build/ui +RCC_DIR = ./build/rcc + +SOURCES += main.cpp \ + utestlinecore.cpp \ + utestsmbstatus.cpp \ + customsmbstatus.cpp \ + ../client/linecore.cpp \ + ../client/smbstatus.cpp + +HEADERS += utestlinecore.h \ + utestsmbstatus.h \ + customsmbstatus.h \ + ../client/linecore.h \ + ../client/smbstatus.h + + +QT += testlib +QT-= gui + diff -Nru qtsmbstatus-2.0.4/utest/utestsmbstatus.cpp qtsmbstatus-2.1.1/utest/utestsmbstatus.cpp --- qtsmbstatus-2.0.4/utest/utestsmbstatus.cpp 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/utest/utestsmbstatus.cpp 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,220 @@ +/*************************************************************************** + * Copyright (C) 2004 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + + +#include +#include "utestsmbstatus.h" +#include "customsmbstatus.h" +#include "../client/smbstatus.h" + +/// Samba version 2.2.8a +QString status228a="Samba version 2.2.8a \n\ +Service uid gid pid machine \n\ +---------------------------------------------- \n\ +travail jacques jacques 8135 atelier2 (100.83.118.21) Mon Aug 22 10:41:47 2005 \n\ + \n\ +Locked files: \n\ +Pid DenyMode Access R/W Oplock Name \n\ +-------------------------------------------------------------- \n\ +8135 DENY_WRITE 0x20089 RDONLY EXCLUSIVE+BATCH /home/serveur/LIGH.ppt Mon Aug 22 10:45:39 2005 \n"; + + + +/// Samba version 3.0.2a +QString status302a="Samba version 3.0.2a \n\ +PID Username Group Machine \n\ +------------------------------------------------------------------- \n\ + 3456 robert etude etude1 (192.168.1.1) \n\ + \n\ + \n\ +Service pid machine Connected at \n\ +------------------------------------------------------- \n\ +robert 3456 etude1 Fri Sep 10 07:45:05 2004 \n\ +\n\ +Locked files: \n\ +Pid DenyMode Access R/W Oplock Name \n\ +-------------------------------------------------------------- \n\ +3456 DENY_NONE 0x1 RDONLY NONE /home/villou/projet_top.fde Fri Sep 10 19:31:38 2004 \n"; + + + +/// Samba version 3.0.4 +QString status304="Samba version 3.0.4 \n\ +PID Username Group Machine \n\ +------------------------------------------------------------------- \n\ +7793 daniel users pc513-3 (192.168.1.130) \n\ + \n\ +Service pid machine Connected at \n\ +------------------------------------------------------- \n\ +hv05727 7793 pc513-3 Thu May 27 18:10:11 2004 \n\ + \n\ +Locked files: \n\ +Pid DenyMode Access R/W Oplock Name \n\ +-------------------------------------------------------------- \n\ +7793 DENY_WRITE 0x20 RDONLY EXCLUSIVE+BATCH /users/cycle1_1/2003/hv05727/SHDOCVW.DLL Thu May 27 18:10:38 2004 \n"; + + + +/** Samba version 3.0.22 + lockedfile header with "SharePath Name" */ +QString status3022="Samba version 3.0.22-13.27-1162-SUSE-SLES10 \n\ +PID Username Group Machine \n\ +------------------------------------------------------------------- \n\ +24158 user1 group-admin my861 (192.168.1.31) \n\ + \n\ +Service pid machine Connected at \n\ +------------------------------------------------------- \n\ +sys 24158 my861 Thu Apr 2 11:58:16 2009 \n\ + \n\ +Locked files: \n\ +Pid DenyMode Access R/W Oplock SharePath Name \n\ +---------------------------------------------------------------------------------------- \n\ +24158 DENY_NONE 0x100001 RDONLY NONE /XXone user/bginfo Fri Apr 3 08:46:03 2009 \n"; + + + +/** Samba version 3.0.23d + lockedfile header with "SharePath Name Time" */ +QString status3023d="Samba version 3.0.23d-6-1083-SUSE-SL10.2 \n\ +PID Username Group Machine \n\ +------------------------------------------------------------------- \n\ + 4528 villou users localhost (192.168.1.150) \n\ + \n\ +Service pid machine Connected at \n\ +------------------------------------------------------- \n\ +users 4528 localhost Wed May 9 16:35:57 2007 \n\ + \n\ +Locked files: \n\ +Pid Uid DenyMode Access R/W Oplock SharePath Name Time \n\ +-------------------------------------------------------------------------------------------------- \n\ +4528 1000 DENY_NONE 0x120116 WRONLY NONE /home villou/Documents/kubuntu-7.04-desktop-i386.iso Wed May 9 16:37:13 2007 \n"; + + + +/** Samba version 3.0.30 + test with user="nobody" and group="nogroup" */ +QString status3030="Samba version 3.0.30-0.fc8 \n\ +PID Username Group Machine \n\ +------------------------------------------------------------------- \n\ + \n\ +Service pid machine Connected at \n\ +------------------------------------------------------- \n\ +F 32459 filomenap Fri Sep 12 08:38:55 2008 \n\ + \n\ +Locked files: \n\ +Pid Uid DenyMode Access R/W Oplock SharePath Name Time \n\ +-------------------------------------------------------------------------------------------------- \n\ +32459 99 DENY_NONE 0x12019f RDWR EXCLUSIVE+BATCH /F Fac/EMPRESA.DBF Fri Sep 12 09:43:09 2008 \n"; + + + +void UtestSmbstatus::cleanup() { + m_customsmbstatus.clear(); +} + +void UtestSmbstatus::SambaVersion_data() { + QTest::addColumn("smbstatus_rq"); + QTest::addColumn("result"); + + QTest::newRow("Samba version 2.2.8a") << status228a << "Samba version 2.2.8a"; + QTest::newRow("Samba version 3.0.2a") << status302a << "Samba version 3.0.2a"; + QTest::newRow("Samba version 3.0.4") << status304 << "Samba version 3.0.4"; + QTest::newRow("Samba version 3.0.22") << status3022 << "Samba version 3.0.22-13.27-1162-SUSE-SLES10"; + QTest::newRow("Samba version 3.0.23d") << status3023d << "Samba version 3.0.23d-6-1083-SUSE-SL10.2"; + QTest::newRow("Samba version 3.0.30") << status3030 << "Samba version 3.0.30-0.fc8"; +} + +void UtestSmbstatus::SambaVersion() { + QFETCH(QString, smbstatus_rq); + QFETCH(QString, result); + + smbstatus m_smbstatus(smbstatus_rq.split('\n')); + connect (&m_smbstatus,SIGNAL(sambaVersion (const QString &)),&m_customsmbstatus, SLOT(setSambaVersion (const QString &))); + m_smbstatus.RQ_smbstatus(); + + QCOMPARE(m_customsmbstatus.m_version_samba,result); +} + +void UtestSmbstatus::addUser_data() { + QTest::addColumn("smbstatus_rq"); + QTest::addColumn("result"); + + QTest::newRow("Samba version 2.2.8a") << status228a << (QStringList() << "8135" << "jacques" << "jacques" << "atelier2" << "100.83.118.21"); + QTest::newRow("Samba version 3.0.2a") << status302a << (QStringList() << "3456" << "robert" << "etude" << "etude1" << "192.168.1.1"); + QTest::newRow("Samba version 3.0.4") << status304 << (QStringList() << "7793" << "daniel" << "users" << "pc513-3" << "192.168.1.130"); + QTest::newRow("Samba version 3.0.22") << status3022 << (QStringList() << "24158"<< "user1" << "group-admin" << "my861" << "192.168.1.31"); + QTest::newRow("Samba version 3.0.23d") << status3023d << (QStringList() << "4528" << "villou" << "users" << "localhost" << "192.168.1.150"); + QTest::newRow("Samba version 3.0.30") << status3030 << (QStringList() << "32459" << "nobody" << "nogroup" << "filomenap" << "filomenap"); +} + +void UtestSmbstatus::addUser() { + QFETCH(QString, smbstatus_rq); + QFETCH(QStringList, result); + + smbstatus m_smbstatus(smbstatus_rq.split('\n')); + connect (&m_smbstatus,SIGNAL(add_user (const QString &,const QString &,const QString &,const QString &,const QString &)),&m_customsmbstatus, SLOT(add_user (const QString &,const QString &,const QString &,const QString &,const QString &))); + m_smbstatus.RQ_smbstatus(); + QCOMPARE(m_customsmbstatus.m_user,result); +} + +void UtestSmbstatus::addShare_data() { + QTest::addColumn("smbstatus_rq"); + QTest::addColumn("result"); + + QTest::newRow("Samba version 2.2.8a") << status228a << (QStringList() << "8135" << "travail" << "Mon Aug 22 10:41:47 2005"); + QTest::newRow("Samba version 3.0.2a") << status302a << (QStringList() << "3456" << "robert" << "Fri Sep 10 07:45:05 2004"); + QTest::newRow("Samba version 3.0.4") << status304 << (QStringList() << "7793" << "hv05727" << "Thu May 27 18:10:11 2004"); + QTest::newRow("Samba version 3.0.22") << status3022 << (QStringList() << "24158"<< "sys" << "Thu Apr 2 11:58:16 2009"); + QTest::newRow("Samba version 3.0.23d") << status3023d << (QStringList() << "4528" << "users" << "Wed May 9 16:35:57 2007"); + QTest::newRow("Samba version 3.0.30") << status3030 << (QStringList() << "32459" << "F" << "Fri Sep 12 08:38:55 2008"); +} + +void UtestSmbstatus::addShare() { + QFETCH(QString, smbstatus_rq); + QFETCH(QStringList, result); + + smbstatus m_smbstatus(smbstatus_rq.split('\n')); + connect (&m_smbstatus,SIGNAL(add_share(const QString &,const QString &,const QString &)),&m_customsmbstatus, SLOT(add_share(const QString &,const QString &,const QString &))); + m_smbstatus.RQ_smbstatus(); + QCOMPARE(m_customsmbstatus.m_share,result); +} + +void UtestSmbstatus::addLockedfile_data() { + QTest::addColumn("smbstatus_rq"); + QTest::addColumn("result"); + + QTest::newRow("Samba version 2.2.8a") << status228a << (QStringList() << "8135" << "/home/serveur/LIGH.ppt" << "DENY_WRITE" << "RDONLY" << "EXCLUSIVE+BATCH" << "Mon Aug 22 10:45:39 2005"); + QTest::newRow("Samba version 3.0.2a") << status302a << (QStringList() << "3456" << "/home/villou/projet_top.fde" << "DENY_NONE" << "RDONLY" << "NONE" << "Fri Sep 10 19:31:38 2004"); + QTest::newRow("Samba version 3.0.4") << status304 << (QStringList() << "7793" << "/users/cycle1_1/2003/hv05727/SHDOCVW.DLL" << "DENY_WRITE" << "RDONLY" << "EXCLUSIVE+BATCH" << "Thu May 27 18:10:38 2004"); + QTest::newRow("Samba version 3.0.22") << status3022 << (QStringList() << "24158"<< "/XXone user/bginfo" << "DENY_NONE" << "RDONLY" << "NONE" << "Fri Apr 3 08:46:03 2009"); + QTest::newRow("Samba version 3.0.23d") << status3023d << (QStringList() << "4528" << "/home villou/Documents/kubuntu-7.04-desktop-i386.iso" << "DENY_NONE" << "WRONLY" << "NONE" << "Wed May 9 16:37:13 2007"); + QTest::newRow("Samba version 3.0.30") << status3030 << (QStringList() << "32459" << "/F Fac/EMPRESA.DBF" << "DENY_NONE" << "RDWR" << "EXCLUSIVE+BATCH" << "Fri Sep 12 09:43:09 2008"); +} + +void UtestSmbstatus::addLockedfile() { + QFETCH(QString, smbstatus_rq); + QFETCH(QStringList, result); + + smbstatus m_smbstatus(smbstatus_rq.split('\n')); + connect (&m_smbstatus,SIGNAL(add_lockedfile(const QString &,const QString &,const QString &,const QString &,const QString &,const QString &)),&m_customsmbstatus, SLOT(add_lockedfile(const QString &,const QString &,const QString &,const QString &,const QString &,const QString &))); + m_smbstatus.RQ_smbstatus(); + QCOMPARE(m_customsmbstatus.m_lockedfile,result); +} + diff -Nru qtsmbstatus-2.0.4/utest/utestsmbstatus.h qtsmbstatus-2.1.1/utest/utestsmbstatus.h --- qtsmbstatus-2.0.4/utest/utestsmbstatus.h 1970-01-01 01:00:00.000000000 +0100 +++ qtsmbstatus-2.1.1/utest/utestsmbstatus.h 2009-04-12 14:46:48.000000000 +0200 @@ -0,0 +1,44 @@ +/*************************************************************************** + * Copyright (C) 2004 by Daniel Rocher * + * daniel.rocher@adella.org * + * * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +#ifndef UTESTSMBSTATUS_H +#define UTESTSMBSTATUS_H + +#include +#include "customsmbstatus.h" + +class UtestSmbstatus: public QObject +{ +Q_OBJECT +private slots: + void cleanup(); + void SambaVersion_data(); + void SambaVersion(); + void addUser_data(); + void addUser(); + void addShare_data(); + void addShare(); + void addLockedfile_data(); + void addLockedfile(); +private: + CustomSmbstatus m_customsmbstatus; +}; + +#endif