title: KAuth API line of code is throwing an error telling me to convert const char* to non scalar
body: <p>I was following this tutorial: </p>
  
  <pre><code>bit.ly/SBMmwp
  </code></pre>
  
  <p>and I got the following error on the first line:</p>
  
  <p><strong>error: conversion from 'const char [26]' to non-scalar type 'KAuth::Action' requested</strong></p>
  
  <pre><code>KAuth::Action readAction = "org.kde.auth.example.read";
  
  KAuth::ActionReply reply = readAction.execute();
  if (reply.failed())
  {
      QMessageBox::information(this, "Error", QString("KAuth returned an error code: %1").arg(reply.errorCode()));
  }
  else
  {
      QMessageBox::information(this, "Done!", QString("Successfully authenticated!"));
  }
  </code></pre>
  
  <p>Error is on the first line: <strong>KAuth::Action readAction = "org.kde.auth.example.read";</strong></p>
  
  <p>Why is this happening? Is this some error related to misuse of the KAuth API or is it a common C/C++ error. I have no idea how to even convert that <strong>const char[26]</strong> to <strong>non-scalar</strong> type.</p>
  
  <hr>
  
  <hr>
  
  <hr>
  
  <hr>
  
  <p><strong>@n.m</strong>
  No. This is what is on the event in which the main windows (GUI) is created. The full code would be something like:</p>
  
  <pre><code>#include "mainwindow.h"
  #include "ui_mainwindow.h"
  #include &lt;kauth.h&gt;
  #include &lt;QMessageBox&gt;
  #include &lt;kauthaction.h&gt;
  
  MainWindow::MainWindow(QWidget *parent) :
      QMainWindow(parent),
      ui(new Ui::MainWindow)
  {
      ui-&gt;setupUi(this);
  
      KAuth::Action readAction = "org.kde.auth.example.read";
      KAuth::ActionReply reply = readAction.execute();
      if (reply.failed())
      {
          QMessageBox::information(this, "Error", QString("KAuth returned an error code: %1").arg(reply.errorCode()));
      }
      else
      {
          QMessageBox::information(this, "Done!", QString("Successfully authenticated!"));
      }
  }
  
  MainWindow::~MainWindow()
  {
      delete ui;
  }
  </code></pre>