diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 18:44:56 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-07-07 23:44:40 +0900 |
commit | aaaf378033f889408155a902349c676429b85254 (patch) | |
tree | 2adaae48af3e2f3a5f7be528880efcf06c9f1202 /tdeprint/foomatic2loader.h | |
parent | bf683427937ea0cfd90749b833456377de6ffa10 (diff) | |
download | tdelibs-aaaf378033f889408155a902349c676429b85254.tar.gz tdelibs-aaaf378033f889408155a902349c676429b85254.zip |
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeprint/foomatic2loader.h')
-rw-r--r-- | tdeprint/foomatic2loader.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeprint/foomatic2loader.h b/tdeprint/foomatic2loader.h index 86bedb412..e61cdfded 100644 --- a/tdeprint/foomatic2loader.h +++ b/tdeprint/foomatic2loader.h @@ -37,21 +37,21 @@ public: bool read( TQIODevice *d ); bool readFromBuffer( const TQString& buffer ); bool readFromFile( const TQString& filename ); - TQMap<TQString,TQVariant> data() const; + TQStringVariantMap data() const; DrMain* buildDriver() const; DrMain* modifyDriver( DrMain* ) const; static DrMain* loadDriver( const TQString& filename ); private: - TQMap<TQString,TQVariant> m_foodata; + TQStringVariantMap m_foodata; friend int tdeprint_foomatic2parse( void* ); - DrBase* createValue( const TQString&, const TQMap<TQString,TQVariant>& ) const; - DrBase* createOption( const TQMap<TQString,TQVariant>& ) const; + DrBase* createValue( const TQString&, const TQStringVariantMap& ) const; + DrBase* createOption( const TQStringVariantMap& ) const; }; -inline TQMap<TQString,TQVariant> Foomatic2Loader::data() const +inline TQStringVariantMap Foomatic2Loader::data() const { return m_foodata; } #endif /* FOOMATIC2LOADER_H */ |