Skip to content
Snippets Groups Projects
Commit 64e738df authored by Mathieu Leduc-Hamel's avatar Mathieu Leduc-Hamel
Browse files

cleaning the code

parent c4305d61
Branches
Tags
No related merge requests found
......@@ -61,48 +61,3 @@ void SFLPhoneTray::setupActions()
{
qDebug() << "setupActions";
}
/*void SFLPhone::putForeground()
{
activateWindow();
hide();
activateWindow();
show();
activateWindow();
}
*/
/*void SFLPhone::trayIconSignal()
{
if(! parentWidget()->isActiveWindow())
{
setIcon(QIcon(ICON_TRAY_NOTIF));
iconChanged = true;
}
}*/
/*
void SFLPhone::on_trayIcon_activated(KSystemTrayIcon::ActivationReason reason)
{
qDebug() << "on_trayIcon_activated";
switch (reason) {
case KSystemTrayIcon::Trigger:
case KSystemTrayIcon::DoubleClick:
qDebug() << "Tray icon clicked.";
if(isActiveWindow())
{
qDebug() << "isactive -> hide()";
hide();
}
else
{
qDebug() << "isnotactive -> show()";
putForeground();
}
break;
default:
qDebug() << "Tray icon activated with unknown reason.";
break;
}
}
*/
......@@ -41,11 +41,6 @@ public:
private:
QMenu *trayIconMenu;
bool initialized_;
/*
private slots:
void activated(KSystemTrayIcon::ActivationReason reason);
void messageClicked();*/
void trayIconSignal();
};
#endif // SFLPHONETRAY_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment