forked from qt-creator/qt-creator
cpaster: compile fix for namespaced qt plus code cosmetics
QListWidget forward declaration was not namespaced.
This commit is contained in:
@@ -30,12 +30,12 @@
|
||||
#ifndef PASTEVIEW_H
|
||||
#define PASTEVIEW_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QByteArray>
|
||||
|
||||
#include "splitter.h"
|
||||
#include "ui_pasteview.h"
|
||||
|
||||
#include <QDialog>
|
||||
#include <QByteArray>
|
||||
|
||||
class PasteView : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -48,11 +48,11 @@ public:
|
||||
|
||||
void addProtocol(const QString &protocol, bool defaultProtocol = false);
|
||||
|
||||
QString getUser();
|
||||
QString getDescription();
|
||||
QString getComment();
|
||||
QByteArray getContent();
|
||||
QString getProtocol();
|
||||
QString user() const;
|
||||
QString description() const;
|
||||
QString comment() const;
|
||||
QByteArray content() const;
|
||||
QString protocol() const;
|
||||
|
||||
private slots:
|
||||
void contentChanged();
|
||||
|
||||
Reference in New Issue
Block a user