summaryrefslogtreecommitdiffabout
path: root/kabc/sound.h
authorMichael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
committer Michael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
commita08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff)
tree8ee90d686081c52e7c69b5ce946e9b1a7d690001 /kabc/sound.h
parent11edc920afe4f274c0964436633aa632c8288a40 (diff)
downloadkdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip
kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz
kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2
initial public commit of qt4 portp1
Diffstat (limited to 'kabc/sound.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/sound.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kabc/sound.h b/kabc/sound.h
index 0ec5ec8..9777054 100644
--- a/kabc/sound.h
+++ b/kabc/sound.h
@@ -1,79 +1,79 @@
1/* 1/*
2 This file is part of libkabc. 2 This file is part of libkabc.
3 Copyright (c) 2002 Tobias Koenig <tokoe@kde.org> 3 Copyright (c) 2002 Tobias Koenig <tokoe@kde.org>
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details. 13 Library General Public License for more details.
14 14
15 You should have received a copy of the GNU Library General Public License 15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to 16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. 18 Boston, MA 02111-1307, USA.
19*/ 19*/
20 20
21/* 21/*
22Enhanced Version of the file for platform independent KDE tools. 22Enhanced Version of the file for platform independent KDE tools.
23Copyright (c) 2004 Ulf Schenk 23Copyright (c) 2004 Ulf Schenk
24 24
25$Id$ 25$Id$
26*/ 26*/
27 27
28#ifndef KABC_SOUND_H 28#ifndef KABC_SOUND_H
29#define KABC_SOUND_H 29#define KABC_SOUND_H
30 30
31#include <qcstring.h> 31#include <q3cstring.h>
32#include <qstring.h> 32#include <qstring.h>
33 33
34namespace KABC { 34namespace KABC {
35 35
36class Sound 36class Sound
37{ 37{
38 friend QDataStream &operator<<( QDataStream &, const Sound & ); 38 friend QDataStream &operator<<( QDataStream &, const Sound & );
39 friend QDataStream &operator>>( QDataStream &, Sound & ); 39 friend QDataStream &operator>>( QDataStream &, Sound & );
40 40
41public: 41public:
42 42
43 /** 43 /**
44 * Consturctor. Creates an empty object. 44 * Consturctor. Creates an empty object.
45 */ 45 */
46 Sound(); 46 Sound();
47 47
48 /** 48 /**
49 * Consturctor. 49 * Consturctor.
50 * 50 *
51 * @param url A URL that describes the position of the sound file. 51 * @param url A URL that describes the position of the sound file.
52 */ 52 */
53 Sound( const QString &url ); 53 Sound( const QString &url );
54 54
55 /** 55 /**
56 * Consturctor. 56 * Consturctor.
57 * 57 *
58 * @param data The raw data of the sound. 58 * @param data The raw data of the sound.
59 */ 59 */
60 Sound( const QByteArray &data ); 60 Sound( const QByteArray &data );
61 61
62 /** 62 /**
63 * Destructor. 63 * Destructor.
64 */ 64 */
65 ~Sound(); 65 ~Sound();
66 66
67 67
68 bool operator==( const Sound & ) const; 68 bool operator==( const Sound & ) const;
69 bool operator!=( const Sound & ) const; 69 bool operator!=( const Sound & ) const;
70 70
71 /** 71 /**
72 * Sets a URL for the location of the sound file. When using this 72 * Sets a URL for the location of the sound file. When using this
73 * function, @ref isIntern() will return 'false' until you use 73 * function, @ref isIntern() will return 'false' until you use
74 * @ref setData(). 74 * @ref setData().
75 * 75 *
76 * @param url The location URL of the sound file. 76 * @param url The location URL of the sound file.
77 */ 77 */
78 void setUrl( const QString &url ); 78 void setUrl( const QString &url );
79 79