remove some now unused code from XMMSHandler and clean up headers

This commit is contained in:
Thomas Frauendorfer 2008-02-11 19:28:07 +01:00
parent ced09fc049
commit f10cd0465a
41 changed files with 407 additions and 242 deletions

View file

@ -14,6 +14,7 @@
*/
#include "playlistmenu.h"
#include "Skin.h"
#include <QMouseEvent>
#include <QWidget>

View file

@ -19,16 +19,13 @@
class PlaylistMenu;
#include "XMMSHandler.h"
#include "Skin.h"
#include "PixWidget.h"
/*
#include <QWidget>
#include <QPixmap>
*/
#include "Skin.h"
class PlaylistMenu;
#include <QObject>
class QWidget;
class PlaylistMenuBar : public PixWidget {
Q_OBJECT
public:

View file

@ -40,7 +40,7 @@ PlaylistShade::PlaylistShade (QWidget *parent) : QWidget (parent)
connect (&xmmsh, SIGNAL(settingsSaved ()),
this, SLOT(settingsSaved ()));
m_text = "Promoe 0.1 - A very neat XMMS2 client";
m_text = "Promoe " PROMOE_VERSION " - A very neat XMMS2 client";
}
void

View file

@ -17,10 +17,12 @@
// FIXME should not need those two
#include <xmmsclient/xmmsclient++.h>
#include "XMMSHandler.h"
#include "xplayback.h"
#include "playlistview.h"
#include "playlistmodel.h"
#include "playlistwidget.h"
#include "Skin.h"
#include <QColor>
#include <QMenu>
@ -272,6 +274,6 @@ PlaylistView::mouseDoubleClickEvent (QMouseEvent *event)
xmmsh.requestTrackChange (index.row());
if (m_status == XMMS_PLAYBACK_STATUS_STOP ||
m_status == XMMS_PLAYBACK_STATUS_PAUSE) {
xmmsh.play ();
xmmsh.xplayback ()->play ();
}
}

View file

@ -19,11 +19,12 @@
//include "Playlist.h"
#include <xmmsclient/xmmsclient++.h>
#include "Skin.h"
class Skin;
#include <QObject>
#include <QAbstractItemDelegate>
#include <QListView>
#include <QWidget>
class QWidget;
class PlaylistDelegate : public QAbstractItemDelegate {
Q_OBJECT