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 | |
ClientSocket * | clientsocket |
QAction * | configure_action |
QAction * | connect_action |
bool | connected |
T_Item | currentSearchItem |
QString | currentSearchStr |
Q3ListViewItem * | FindItem |
bool | firstTime |
LogForm * | logform |
QAction * | restore_action |
QSystemTrayIcon * | trayicon |
QAction * | viewlog_action |
enum main_windows::T_Direction [private] |
enum main_windows::T_Item [private] |
main_windows::main_windows | ( | QWidget * | parent = 0 |
) |
main_windows::~main_windows | ( | ) | [virtual] |
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
void main_windows::ConfigureSlot | ( | ) | [private, virtual, slot] |
Configure qtsmbstatus client (open form)
void main_windows::FileSearchSlot | ( | ) | [private, virtual, slot] |
Find a file
QString main_windows::getSearchStr | ( | const QString & | msg | ) | [private] |
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.
item | pointer on item |
void main_windows::NextSlot | ( | ) | [private, virtual, slot] |
Find next.
void main_windows::on_action_View_log_triggered | ( | ) | [private, slot] |
View log
void main_windows::open_dialog_for_login | ( | ) | [private] |
Open authentication dialogbox
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
void main_windows::saveWindowSize | ( | ) | [private] |
save window size
void main_windows::search | ( | T_Item | typeOfSearch, | |
const QString & | str, | |||
T_Direction | direction = to_first | |||
) | [private] |
Search item.
typeOfSearch | see T_Item | |
str | string to search | |
direction | see T_direction |
void main_windows::selectItem | ( | Q3ListViewItem * | item | ) | [private] |
void main_windows::ShareSearchSlot | ( | ) | [private, virtual, slot] |
Find a share
void main_windows::SignalErrorAuth | ( | ) | [private, virtual, slot] |
Bad login or bad password.
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
void main_windows::socketconnected | ( | ) | [private, virtual, slot] |
Slot connected. When client is connected to server
void main_windows::trayicon_activated | ( | QSystemTrayIcon::ActivationReason | reason | ) | [private, slot] |
Connected to signal when the user activates the system tray icon
reason | describes the reason the system tray was activated |
void main_windows::UserSearchSlot | ( | ) | [private, virtual, slot] |
Find an user
void main_windows::writeHistoryFile | ( | ) | [private] |
Write address history. Before quit, write history.
ClientSocket* main_windows::clientsocket [private] |
QAction* main_windows::configure_action [private] |
QAction* main_windows::connect_action [private] |
bool main_windows::connected [private] |
T_Item main_windows::currentSearchItem [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] |