26 #ifndef YQApplication_h
27 #define YQApplication_h
29 #include <Qt/qobject.h>
30 #include <Qt/qtranslator.h>
33 #include "YQPackageSelectorPluginStub.h"
34 #include "YQGraphPluginStub.h"
35 #include <yui/YApplication.h>
38 class YQPackageSelectorPlugin;
79 virtual void setLanguage(
const std::string & language,
80 const std::string & encoding = std::string() );
101 const std::string & encoding = std::string() );
152 virtual std::string
glyph(
const std::string & glyphSymbolName );
169 const std::string & headline );
188 const std::string & filter,
189 const std::string & headline );
210 const std::string & filter,
211 const std::string & headline );
217 const QString & filter,
218 const QString & headline );
229 virtual bool openContextMenu (
const YItemCollection & itemCollection );
313 virtual int displayWidth();
314 virtual int displayHeight();
315 virtual int displayDepth();
316 virtual long displayColors();
319 virtual int defaultWidth();
320 virtual int defaultHeight();
326 virtual bool isTextMode() {
return false; }
327 virtual bool hasImageSupport() {
return true; }
328 virtual bool hasIconSupport() {
return true; }
329 virtual bool hasAnimationSupport() {
return true; }
330 virtual bool hasFullUtf8Support() {
return true; }
331 virtual bool richTextSupportsTable() {
return true; }
332 virtual bool hasWizardDialogSupport() {
return true; }
333 virtual bool leftHandedMouse();
359 QString
fontKey(
const QString & lang );
368 QFont * _currentFont;
369 QFont * _headingFont;
392 int _autoNormalFontSize;
393 int _autoHeadingFontSize;
395 bool _leftHandedMouse;
396 bool _askedForLeftHandedMouse;
398 QPoint _contextMenuPos;
405 #endif // YQApplication_h