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