2021-02-06 Fred Gleason <fredg@paravelsystems.com>

* Removed the 'Q3ListBox' dependencies from rdalsaconfig(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-02-06 12:04:52 -05:00
parent 18b72eb696
commit 8743ade987
3 changed files with 10 additions and 15 deletions

View File

@ -21035,3 +21035,5 @@
2021-02-06 Fred Gleason <fredg@paravelsystems.com>
* Removed 'Q3DateEdit' dependencies from rddgimport(1).
* Removed 'Q3TextEdit' dependencies from rddgimport(1).
2021-02-06 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'Q3ListBox' dependencies from rdalsaconfig(1).

View File

@ -2,7 +2,7 @@
//
// QListBoxItem for ALSA PCM devices.
//
// (C) Copyright 2009-2019 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2009-2021 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -18,16 +18,10 @@
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
#include <alsaitem.h>
AlsaItem::AlsaItem(Q3ListBox *listbox,const QString &text)
: Q3ListBoxText(listbox,text)
{
}
#include "alsaitem.h"
AlsaItem::AlsaItem(const QString &text)
: Q3ListBoxText(text)
: QListWidgetItem(text)
{
alsa_card_number=-1;
alsa_pcm_number=-1;

View File

@ -2,7 +2,7 @@
//
// QListBoxItem for ALSA PCM devices.
//
// (C) Copyright 2009-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2009-2021 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -18,22 +18,21 @@
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
#ifndef ALSAITEM_H
#define ALSAITEM_H
#include <q3listbox.h>
#include <QListWidget>
class AlsaItem : public Q3ListBoxText
class AlsaItem : public QListWidgetItem
{
public:
AlsaItem(Q3ListBox *listbox,const QString &text=QString::null);
AlsaItem(const QString &text=QString::null);
AlsaItem(const QString &text);
AlsaItem(const AlsaItem &item);
int cardNumber() const;
void setCardNumber(int cardnum);
int pcmNumber() const;
void setPcmNumber(int pcmnum);
private:
int alsa_card_number;
int alsa_pcm_number;