~ubuntu-branches/ubuntu/saucy/kopete/saucy-proposed

« back to all changes in this revision

Viewing changes to protocols/skype/skypebuttons/skypebuttons.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-06-21 02:22:39 UTC
  • Revision ID: package-import@ubuntu.com-20130621022239-63l3zc8p0nf26pt6
Tags: upstream-4.10.80
Import upstream version 4.10.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    skypebuttons.cpp - Skype Action Handler for Kopete
 
3
 
 
4
    Copyright (c) 2009 by Pali Rohár <pali.rohar@gmail.com>
 
5
 
 
6
    *************************************************************************
 
7
    *                                                                       *
 
8
    * This library is free software; you can redistribute it and/or         *
 
9
    * modify it under the terms of the GNU General Public                   *
 
10
    * License as published by the Free Software Foundation; either          *
 
11
    * version 2 of the License, or (at your option) any later version.      *
 
12
    *                                                                       *
 
13
    *************************************************************************
 
14
*/
 
15
 
 
16
#include <QtGui>
 
17
#include <qtbrowserplugin.h>
 
18
 
 
19
/**
 
20
 * @author Pali Rohár
 
21
 * This NS plugin only register application/x-skype mime type to web browser for using Skype Action Handler
 
22
 */
 
23
class SkypeButtons : public QWidget
 
24
{
 
25
        Q_OBJECT
 
26
        Q_CLASSINFO("MIME", "application/x-skype::Skype Buttons")
 
27
};
 
28
 
 
29
#include "skypebuttons.moc"
 
30
 
 
31
QTNPFACTORY_BEGIN("Skype Buttons for Kopete", "Mime Type x-skype for Skype Buttons")
 
32
        QTNPCLASS(SkypeButtons)
 
33
QTNPFACTORY_END()