~zeller-benjamin/qtcreator-plugin-ubuntu/qtc41-beta

« back to all changes in this revision

Viewing changes to src/ubuntu/ubuntupastebinmode.cpp

  • Committer: Juhapekka Piiroinen
  • Date: 2013-09-04 15:30:00 UTC
  • mto: (23.1.14 binary-plugin)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: juhapekka.piiroinen@canonical.com-20130904153000-r4lhfhrjlwmop277
Added cordova plugin from ubuntu-qtcreator-plugins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "ubuntupastebinmode.h"
 
2
#include "ubuntuconstants.h"
 
3
 
 
4
using namespace Ubuntu::Internal;
 
5
 
 
6
UbuntuPastebinMode::UbuntuPastebinMode(QObject *parent) :
 
7
    UbuntuWebMode(parent)
 
8
{
 
9
    setDisplayName(tr(Ubuntu::Constants::UBUNTU_MODE_PASTEBIN_DISPLAYNAME));
 
10
    setId(Ubuntu::Constants::UBUNTU_MODE_PASTEBIN);
 
11
    setObjectName(QLatin1String(Ubuntu::Constants::UBUNTU_MODE_PASTEBIN));
 
12
 
 
13
    setUrl(QUrl(QLatin1String(Ubuntu::Constants::UBUNTU_PASTEBIN)));
 
14
}