summaryrefslogtreecommitdiffhomepage
path: root/compat/tr.hpp
blob: 6af45161651e52bde2d5f13bdde917afbd342c7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <QObject>
#include "export.hpp"

// The class does nothing except provide a fake assignment operator for QObject
// It's meant to be used inside classes that need i18n support but are returned by value.

class OTR_COMPAT_EXPORT TR : public QObject
{
    Q_OBJECT

public:
    TR();
    TR(const TR&);

    TR& operator=(const TR& other);
};