author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /libkcal/vcaldrag.cpp | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | libkcal/vcaldrag.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkcal/vcaldrag.cpp b/libkcal/vcaldrag.cpp index f01f332..324981e 100644 --- a/libkcal/vcaldrag.cpp +++ b/libkcal/vcaldrag.cpp | |||
@@ -13,33 +13,33 @@ | |||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 | Library General Public License for more details. | 14 | Library General Public License for more details. |
15 | 15 | ||
16 | You should have received a copy of the GNU Library General Public License | 16 | You should have received a copy of the GNU Library General Public License |
17 | along with this library; see the file COPYING.LIB. If not, write to | 17 | along with this library; see the file COPYING.LIB. If not, write to |
18 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 18 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
19 | Boston, MA 02111-1307, USA. | 19 | Boston, MA 02111-1307, USA. |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include "vcaldrag.h" | 22 | #include "vcaldrag.h" |
23 | 23 | ||
24 | #include "vcalformat.h" | 24 | #include "vcalformat.h" |
25 | 25 | ||
26 | using namespace KCal; | 26 | using namespace KCal; |
27 | 27 | ||
28 | VCalDrag::VCalDrag( Calendar *cal, QWidget *parent, const char *name ) | 28 | VCalDrag::VCalDrag( Calendar *cal, QWidget *parent, const char *name ) |
29 | : QStoredDrag( "text/x-vCalendar", parent, name ) | 29 | : Q3StoredDrag( "text/x-vCalendar", parent, name ) |
30 | { | 30 | { |
31 | VCalFormat format; | 31 | VCalFormat format; |
32 | setEncodedData( format.toString( cal ).utf8() ); | 32 | setEncodedData( format.toString( cal ).utf8() ); |
33 | } | 33 | } |
34 | 34 | ||
35 | bool VCalDrag::canDecode( QMimeSource *me ) | 35 | bool VCalDrag::canDecode( QMimeSource *me ) |
36 | { | 36 | { |
37 | return me->provides( "text/x-vCalendar" ); | 37 | return me->provides( "text/x-vCalendar" ); |
38 | } | 38 | } |
39 | 39 | ||
40 | bool VCalDrag::decode( QMimeSource *de, Calendar *cal ) | 40 | bool VCalDrag::decode( QMimeSource *de, Calendar *cal ) |
41 | { | 41 | { |
42 | bool success = false; | 42 | bool success = false; |
43 | 43 | ||
44 | QByteArray payload = de->encodedData( "text/x-vCalendar" ); | 44 | QByteArray payload = de->encodedData( "text/x-vCalendar" ); |
45 | if ( payload.size() ) { | 45 | if ( payload.size() ) { |