okular/ui/annotationguiutils.h

37 lines
1.3 KiB
C
Raw Normal View History

/***************************************************************************
* Copyright (C) 2006 by Pino Toscano <pino@kde.org> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
***************************************************************************/
#ifndef ANNOTATIONGUIUTILS_H
#define ANNOTATIONGUIUTILS_H
#include <QtCore/QString>
namespace Okular {
class Annotation;
}
namespace AnnotationGuiUtils
{
/**
* Returns the translated string with the type of the given @p annotation.
*/
QString captionForAnnotation( const Okular::Annotation * annotation );
QString authorForAnnotation( const Okular::Annotation * annotation );
QString contents( const Okular::Annotation * annotation );
QString contentsHtml( const Okular::Annotation * annotation );
QString prettyToolTip( const Okular::Annotation * annotation );
bool canBeMoved( const Okular::Annotation * annotation );
}
#endif