mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
47d7d04b5e
they are unused(except the PageViewItem one), but if anyone would use them things would go wrong, so protect us from it Actually fixes a bug in PageView::slotFitWindowToPage in which we were copying constructing PageViewItem and that's bad
33 lines
669 B
C++
33 lines
669 B
C++
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*-
|
|
// fontEncodingPool.h
|
|
//
|
|
// Part of KDVI - A DVI previewer for the KDE desktop environment
|
|
//
|
|
// (C) 2003 Stefan Kebekus
|
|
// Distributed under the GPL
|
|
|
|
#ifndef _FONTENCODINGPOOL_H
|
|
#define _FONTENCODINGPOOL_H
|
|
|
|
#include "fontEncoding.h"
|
|
|
|
#include <QHash>
|
|
|
|
class QString;
|
|
|
|
|
|
class fontEncodingPool {
|
|
public:
|
|
fontEncodingPool();
|
|
~fontEncodingPool();
|
|
|
|
fontEncodingPool(const fontEncodingPool &) = delete;
|
|
fontEncodingPool &operator=(const fontEncodingPool &) = delete;
|
|
|
|
fontEncoding *findByName(const QString &name);
|
|
|
|
private:
|
|
QHash<QString,fontEncoding*> dictionary;
|
|
};
|
|
|
|
#endif
|