Commit 917ea441 authored by Scott Wheeler's avatar Scott Wheeler

Remove some unused stuff.

svn path=/trunk/kdemultimedia/juk/; revision=304703
parent 0aea5f33
......@@ -325,20 +325,17 @@ void JuK::setupSplitterConnections()
void JuK::setupSystemTray()
{
if(m_toggleSystemTrayAction && m_toggleSystemTrayAction->isChecked()) {
m_systemTray = new SystemTray(this, "systemTray");
m_systemTray->show();
m_systemTray = new SystemTray(this, "systemTray");
m_systemTray->show();
connect(this, SIGNAL(signalNewSong(const QString&)),
m_systemTray, SLOT(slotNewSong(const QString&)));
m_toggleDockOnCloseAction->setEnabled(true);
m_toggleDockOnCloseAction->setEnabled(true);
m_togglePopupsAction->setEnabled(true);
connect(m_systemTray, SIGNAL(quitSelected()), this, SLOT(slotQuit()));
connect(m_systemTray, SIGNAL(quitSelected()), this, SLOT(slotQuit()));
}
else {
m_systemTray = 0;
m_toggleDockOnCloseAction->setEnabled(false);
m_systemTray = 0;
m_toggleDockOnCloseAction->setEnabled(false);
m_togglePopupsAction->setEnabled(false);
}
}
......
......@@ -53,10 +53,6 @@ public:
*/
void setDirWatchEnabled(bool enabled) { m_splitter->setDirWatchEnabled(enabled); }
signals:
void signalEdit();
void signalNewSong(const QString& songTitle);
private:
void setupLayout();
void setupActions();
......
......@@ -85,12 +85,6 @@ SystemTray::~SystemTray()
// public slots
////////////////////////////////////////////////////////////////////////////////
void SystemTray::slotNewSong(const QString& songName)
{
setToolTip(songName);
createPopup(songName, true);
}
void SystemTray::slotStop()
{
setPixmap(m_appPix);
......
......@@ -31,9 +31,6 @@ public:
SystemTray(QWidget *parent = 0, const char *name = 0);
virtual ~SystemTray();
public slots:
void slotNewSong(const QString &songName);
private:
virtual void wheelEvent(QWheelEvent *e);
void createPopup(const QString &songName, bool addButtons = true);
......@@ -47,7 +44,6 @@ private slots:
void slotStop();
private:
QPixmap m_playPix;
QPixmap m_pausePix;
QPixmap m_currentPix;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment