diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /sip/tdeprint/driver.sip | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'sip/tdeprint/driver.sip')
-rw-r--r-- | sip/tdeprint/driver.sip | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/sip/tdeprint/driver.sip b/sip/tdeprint/driver.sip index 6b89860..12a9135 100644 --- a/sip/tdeprint/driver.sip +++ b/sip/tdeprint/driver.sip @@ -51,19 +51,19 @@ public: DrBase (); DrBase::Type type () const; bool isOption () const; - const QString& get (const QString&) const; - void set (const QString&, const QString&); - bool has (const QString&) const; - const QString& name () const; - void setName (const QString&); + const TQString& get (const TQString&) const; + void set (const TQString&, const TQString&); + bool has (const TQString&) const; + const TQString& name () const; + void setName (const TQString&); bool conflict () const; void setConflict (bool); - virtual QString valueText (); - virtual QString prettyText (); - virtual void setValueText (const QString&); + virtual TQString valueText (); + virtual TQString prettyText (); + virtual void setValueText (const TQString&); //ig virtual DriverItem* createItem (DriverItem* /Transfer/, DriverItem* = 0); - virtual void setOptions (const QMap<QString,QString>&); - virtual void getOptions (QMap<QString,QString>&, bool = 0); + virtual void setOptions (const TQMap<TQString,TQString>&); + virtual void getOptions (TQMap<TQString,TQString>&, bool = 0); virtual DrBase* clone (); protected: @@ -88,26 +88,26 @@ public: void addGroup (DrGroup*); void addObject (DrBase*); void clearConflict (); - void removeOption (const QString&); + void removeOption (const TQString&); void removeGroup (DrGroup*); bool isEmpty (); //ig virtual DriverItem* createItem (DriverItem* /Transfer/, DriverItem* = 0); -//ig DrBase* findOption (const QString&, DrGroup** = 0); +//ig DrBase* findOption (const TQString&, DrGroup** = 0); //ig DrGroup* findGroup (DrGroup*, DrGroup** = 0); - void setOptions (const QMap<QString,QString>&); - void getOptions (QMap<QString,QString>&, bool = 0); + void setOptions (const TQMap<TQString,TQString>&); + void getOptions (TQMap<TQString,TQString>&, bool = 0); DrBase* clone (); -//ig const QPtrList<DrGroup>& groups (); -//ig const QPtrList<DrBase>& options (); +//ig const TQPtrList<DrGroup>& groups (); +//ig const TQPtrList<DrBase>& options (); %If ( KDE_3_2_0 - ) - static QString groupForOption (const QString&); + static TQString groupForOption (const TQString&); %End protected: //ig void createTree (DriverItem* /Transfer/); -//ig void flattenGroup (QMap<QString,DrBase*>&, int&); +//ig void flattenGroup (TQMap<TQString,DrBase*>&, int&); protected: @@ -127,14 +127,14 @@ class DrMain : DrGroup public: DrMain (); -//ig DriverItem* createTreeView (QListView* /Transfer/); +//ig DriverItem* createTreeView (TQListView* /Transfer/); void addConstraint (DrConstraint*); int checkConstraints (); - DrPageSize* findPageSize (const QString&); + DrPageSize* findPageSize (const TQString&); void addPageSize (DrPageSize*); - void removeOptionGlobally (const QString&); + void removeOptionGlobally (const TQString&); void removeGroupGlobally (DrGroup*); -//ig QMap<QString,DrBase*> flatten (); +//ig TQMap<TQString,DrBase*> flatten (); DrMain* cloneDriver (); protected: @@ -173,8 +173,8 @@ class DrStringOption : DrBase public: DrStringOption (); - virtual QString valueText (); - virtual void setValueText (const QString&); + virtual TQString valueText (); + virtual void setValueText (const TQString&); protected: @@ -194,9 +194,9 @@ class DrIntegerOption : DrBase public: DrIntegerOption (); - virtual QString valueText (); - virtual void setValueText (const QString&); - QString fixedVal (); + virtual TQString valueText (); + virtual void setValueText (const TQString&); + TQString fixedVal (); protected: @@ -216,9 +216,9 @@ class DrFloatOption : DrBase public: DrFloatOption (); - virtual QString valueText (); - virtual void setValueText (const QString&); - QString fixedVal (); + virtual TQString valueText (); + virtual void setValueText (const TQString&); + TQString fixedVal (); protected: @@ -239,15 +239,15 @@ class DrListOption : DrBase public: DrListOption (); void addChoice (DrBase*); -//ig QPtrList<DrBase>* choices (); +//ig TQPtrList<DrBase>* choices (); DrBase* currentChoice () const; - DrBase* findChoice (const QString&); + DrBase* findChoice (const TQString&); void setChoice (int); - virtual QString valueText (); - virtual QString prettyText (); - virtual void setValueText (const QString&); - void setOptions (const QMap<QString,QString>&); - void getOptions (QMap<QString,QString>&, bool = 0); + virtual TQString valueText (); + virtual TQString prettyText (); + virtual void setValueText (const TQString&); + void setOptions (const TQMap<TQString,TQString>&); + void getOptions (TQMap<TQString,TQString>&, bool = 0); //ig DriverItem* createItem (DriverItem* /Transfer/, DriverItem* = 0); DrBase* clone (); @@ -285,7 +285,7 @@ class DrConstraint public: - DrConstraint (const QString&, const QString&, const QString& = QString ::null , const QString& = QString ::null ); + DrConstraint (const TQString&, const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null ); DrConstraint (const DrConstraint&); bool check (DrMain*); @@ -306,7 +306,7 @@ class DrPageSize public: - DrPageSize (const QString&, int, int, int, int, int, int); + DrPageSize (const TQString&, int, int, int, int, int, int); DrPageSize (const DrPageSize&); %If ( KDE_3_2_0 - ) @@ -316,19 +316,19 @@ public: float rightMargin () const; float topMargin () const; float bottomMargin () const; - QString pageName () const; + TQString pageName () const; %End - QSize pageSize () const; - QRect pageRect () const; - QSize margins () const; + TQSize pageSize () const; + TQRect pageRect () const; + TQSize margins () const; protected: public: %If ( - KDE_3_2_0 ) - QString name () const; + TQString name () const; %End |