ToggleButton is never used...

This commit is contained in:
craig.p.drummond
2012-10-07 15:51:38 +00:00
committed by craig.p.drummond
parent 5c57ca8a12
commit 831ca93bce
2 changed files with 5 additions and 51 deletions

View File

@@ -81,7 +81,7 @@
<number>0</number>
</property>
<item>
<widget class="ToggleButton" name="streamButton">
<widget class="QToolButton" name="streamButton">
<property name="iconSize">
<size>
<width>20</width>
@@ -214,7 +214,7 @@
</spacer>
</item>
<item row="2" column="3">
<widget class="ToggleButton" name="repeatPushButton">
<widget class="QToolButton" name="repeatPushButton">
<property name="checkable">
<bool>true</bool>
</property>
@@ -224,7 +224,7 @@
</widget>
</item>
<item row="2" column="4">
<widget class="ToggleButton" name="singlePushButton">
<widget class="QToolButton" name="singlePushButton">
<property name="checkable">
<bool>true</bool>
</property>
@@ -234,7 +234,7 @@
</widget>
</item>
<item row="2" column="5">
<widget class="ToggleButton" name="randomPushButton">
<widget class="QToolButton" name="randomPushButton">
<property name="checkable">
<bool>true</bool>
</property>
@@ -263,7 +263,7 @@
<widget class="QToolButton" name="removeAllFromPlayQueuePushButton"/>
</item>
<item row="2" column="6">
<widget class="ToggleButton" name="consumePushButton"/>
<widget class="QToolButton" name="consumePushButton"/>
</item>
</layout>
</widget>
@@ -272,11 +272,6 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>ToggleButton</class>
<extends>QToolButton</extends>
<header>togglebutton.h</header>
</customwidget>
<customwidget>
<class>PaddedSqueezedTextLabel</class>
<extends>QLabel</extends>

View File

@@ -1,41 +0,0 @@
/*
* Cantata
*
* Copyright (c) 2011-2012 Craig Drummond <craig.p.drummond@gmail.com>
*
* ----
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef TOGGLE_BUTTON_H
#define TOGGLE_BUTTON_H
#include "config.h"
#ifdef ENABLE_KDE_SUPPORT
#include <QtGui/QToolButton>
typedef QToolButton ToggleButton;
#else // ENABLE_KDE_SUPPORT
#include <QtGui/QToolButton>
typedef QToolButton ToggleButton;
#endif // ENABLE_KDE_SUPPORT
#endif