mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-19 14:43:30 +02:00
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:
parent
18b72eb696
commit
8743ade987
@ -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).
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user