Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
JuK
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Multimedia
JuK
Commits
edaa0aa3
Commit
edaa0aa3
authored
Dec 07, 2004
by
Stephan Kulow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix make final
svn path=/trunk/kdemultimedia/juk/; revision=369060
parent
dbd3fef4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
10 deletions
+7
-10
Makefile.am
Makefile.am
+1
-5
ktrm.cpp
ktrm.cpp
+1
-0
playermanager.cpp
playermanager.cpp
+1
-1
trackpickerdialog.cpp
trackpickerdialog.cpp
+4
-4
No files found.
Makefile.am
View file @
edaa0aa3
bin_PROGRAMS
=
juk
check_PROGRAMS
=
tagguessertest
mbtest
check_PROGRAMS
=
tagguessertest
juk_SOURCES
=
\
advancedsearchdialog.cpp
\
...
...
@@ -69,7 +69,6 @@ juk_SOURCES = \
viewmode.cpp
tagguessertest_SOURCES
=
tagguessertest.cpp tagguesser.cpp
mbtest_SOURCES
=
mbtest.cpp musicbrainzquery.cpp
INCLUDES
=
$(all_includes)
$(taglib_includes)
$(GST_CFLAGS)
$(ARTS_CFLAGS)
...
...
@@ -87,9 +86,6 @@ juk_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LDFLAGS_GST)
tagguessertest_LDADD
=
$(LIB_KDECORE)
tagguessertest_LDFLAGS
=
$(all_libraries)
mbtest_LDADD
=
$(LIB_KDECORE)
$(mblibs)
mbtest_LDFLAGS
=
$(all_libraries)
SUBDIRS
=
pics
rcdir
=
$(kde_datadir)
/juk
...
...
ktrm.cpp
View file @
edaa0aa3
...
...
@@ -34,6 +34,7 @@
#include <qfile.h>
#include <tunepimp/tp_c.h>
#include <fixx11h.h>
class
KTRMLookup
;
...
...
playermanager.cpp
View file @
edaa0aa3
...
...
@@ -35,7 +35,7 @@ using namespace ActionCollection;
PlayerManager
*
PlayerManager
::
m_instance
=
0
;
enum
Status
{
StatusStopped
=
-
1
,
StatusPaused
=
1
,
StatusPlaying
=
2
};
enum
PlayerManager
Status
{
StatusStopped
=
-
1
,
StatusPaused
=
1
,
StatusPlaying
=
2
};
////////////////////////////////////////////////////////////////////////////////
// helper functions
...
...
trackpickerdialog.cpp
View file @
edaa0aa3
...
...
@@ -27,10 +27,10 @@
#define NUMBER(x) (x == 0 ? QString::null : QString::number(x))
class
TrackItem
:
public
KListViewItem
class
Track
Picker
Item
:
public
KListViewItem
{
public:
TrackItem
(
KListView
*
parent
,
const
KTRMResult
&
result
)
:
Track
Picker
Item
(
KListView
*
parent
,
const
KTRMResult
&
result
)
:
KListViewItem
(
parent
,
parent
->
lastChild
(),
result
.
title
(),
result
.
artist
(),
result
.
album
(),
NUMBER
(
result
.
track
()),
NUMBER
(
result
.
year
())),
...
...
@@ -57,7 +57,7 @@ TrackPickerDialog::TrackPickerDialog(const QString &name,
m_base
->
trackList
->
setSorting
(
-
1
);
for
(
KTRMResultList
::
ConstIterator
it
=
results
.
begin
();
it
!=
results
.
end
();
++
it
)
new
TrackItem
(
m_base
->
trackList
,
*
it
);
new
Track
Picker
Item
(
m_base
->
trackList
,
*
it
);
m_base
->
trackList
->
setSelected
(
m_base
->
trackList
->
firstChild
(),
true
);
setMinimumWidth
(
kMax
(
400
,
width
()));
...
...
@@ -71,7 +71,7 @@ TrackPickerDialog::~TrackPickerDialog()
KTRMResult
TrackPickerDialog
::
result
()
const
{
if
(
m_base
->
trackList
->
selectedItem
())
return
static_cast
<
TrackItem
*>
(
m_base
->
trackList
->
selectedItem
())
->
result
();
return
static_cast
<
Track
Picker
Item
*>
(
m_base
->
trackList
->
selectedItem
())
->
result
();
else
return
KTRMResult
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment