diff options
Diffstat (limited to 'src/kernel/qfontdata_p.h')
-rw-r--r-- | src/kernel/qfontdata_p.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/qfontdata_p.h b/src/kernel/qfontdata_p.h index 9c21dfe60..4647fedbb 100644 --- a/src/kernel/qfontdata_p.h +++ b/src/kernel/qfontdata_p.h @@ -121,6 +121,9 @@ public: TQFontEngineData(); ~TQFontEngineData(); + void ref(){TQShared::ref();} + bool deref(){return TQShared::deref();} + uint lineWidth; #if defined(TQ_WS_X11) || defined(TQ_WS_WIN) @@ -147,6 +150,9 @@ public: TQFontPrivate( const TQFontPrivate &other ); ~TQFontPrivate(); + void ref(){TQShared::ref();} + bool deref(){return TQShared::deref();} + void load( TQFont::Script script ); TQFontEngine *engineForScript( TQFont::Script script ) const { if ( script == TQFont::NoScript ) |