Logo Search packages:      
Sourcecode: qtsmbstatus version File versions  Download package

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

Definition at line 146 of file main_windows.cpp.

References restore_minimize().

{
      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();
}


Generated by  Doxygen 1.6.0   Back to index