Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /libgui/TrackPixmap.h [bccc7b] .. [84b6f5] Maximize Restore

  Switch to side-by-side view

--- a/libgui/TrackPixmap.h
+++ b/libgui/TrackPixmap.h
@@ -33,8 +33,6 @@
 
 #include "libkwave/Sample.h"
 #include "libkwave/KwaveSampleArray.h"
-
-class Track;
 
 /**
  * The TrackPixmap is a graphical representation of a track's sample
@@ -62,6 +60,8 @@
  */
 namespace Kwave
 {
+    class Track;
+
     class KDE_EXPORT TrackPixmap : public QObject
     {
 	Q_OBJECT
@@ -69,7 +69,7 @@
     public:
 
 	/** Default constructor */
-	TrackPixmap(Track &track);
+	TrackPixmap(Kwave::Track &track);
 
 	/** Destructor */
 	virtual ~TrackPixmap();
@@ -153,7 +153,7 @@
 	 * @see Track::sigSamplesInserted
 	 * @internal
 	 */
-	void slotSamplesInserted(Track *src, sample_index_t offset,
+	void slotSamplesInserted(Kwave::Track *src, sample_index_t offset,
 				sample_index_t length);
 
 	/**
@@ -164,7 +164,7 @@
 	 * @see Track::sigSamplesDeleted
 	 * @internal
 	 */
-	void slotSamplesDeleted(Track *src, sample_index_t offset,
+	void slotSamplesDeleted(Kwave::Track *src, sample_index_t offset,
 				sample_index_t length);
 
 	/**
@@ -175,7 +175,7 @@
 	 * @see Track::sigSamplesModified
 	 * @internal
 	 */
-	void slotSamplesModified(Track *src, sample_index_t offset,
+	void slotSamplesModified(Kwave::Track *src, sample_index_t offset,
 				sample_index_t length);
 
 	/**
@@ -311,7 +311,7 @@
 	/**
 	 * Reference to the track with our sample data.
 	 */
-	Track &m_track;
+	Kwave::Track &m_track;
 
 	/**
 	 * Index of the first sample. Needed for converting pixel