]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/colourpopup.cpp
Session: Query the device's sample rate when needed, not sooner
[pulseview.git] / pv / widgets / colourpopup.cpp
index 285e9a050ae300adcce7228a8e69056c0769eb68..170385b3bb4ab26cd49b1d3ef40141d7892d9282 100644 (file)
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "colourpopup.h"
+#include "colourpopup.hpp"
 
 namespace pv {
 namespace widgets {
@@ -37,7 +36,7 @@ ColourPopup::ColourPopup(int rows, int cols, QWidget *parent) :
                this, SLOT(colour_selected(int, int)));
 }
 
-QWellArray& ColourPopup::well_array()
+WellArray& ColourPopup::well_array()
 {
        return well_array_;
 }
@@ -47,5 +46,5 @@ void ColourPopup::colour_selected(int, int)
        close();
 }
 
-} // widgets
-} // pv
+}  // namespace widgets
+}  // namespace pv