summaryrefslogtreecommitdiffstats
path: root/kdeprint/driver.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdeprint/driver.h
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/driver.h')
-rw-r--r--kdeprint/driver.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdeprint/driver.h b/kdeprint/driver.h
index a2ccab8a8..485024460 100644
--- a/kdeprint/driver.h
+++ b/kdeprint/driver.h
@@ -71,7 +71,7 @@ public:
const TQString& get(const TQString& key) const { return m_map[key]; }
void set(const TQString& key, const TQString& val) { m_map[key] = val; }
- bool has(const TQString& key) const { return m_map.contains(key); }
+ bool has(const TQString& key) const { return m_map.tqcontains(key); }
const TQString& name() const { return m_name; }
void setName(const TQString& s) { m_name = s; }
bool conflict() const { return m_conflict; }
@@ -118,8 +118,8 @@ public:
bool isEmpty();
virtual DriverItem* createItem(DriverItem *parent, DriverItem *after = 0);
- DrBase* findOption(const TQString& name, DrGroup **parentGroup = 0);
- DrGroup* findGroup(DrGroup *grp, DrGroup **parentGroup = 0);
+ DrBase* tqfindOption(const TQString& name, DrGroup **parentGroup = 0);
+ DrGroup* tqfindGroup(DrGroup *grp, DrGroup **parentGroup = 0);
void setOptions(const TQMap<TQString,TQString>& opts);
void getOptions(TQMap<TQString,TQString>& opts, bool incldef = false);
DrBase* clone();
@@ -159,7 +159,7 @@ public:
DriverItem* createTreeView(TQListView *parent);
void addConstraint(DrConstraint *c) { m_constraints.append(c); }
int checkConstraints();
- DrPageSize* findPageSize(const TQString& name) { return m_pagesizes.find(name); }
+ DrPageSize* tqfindPageSize(const TQString& name) { return m_pagesizes.tqfind(name); }
void addPageSize(DrPageSize *sz);
void removeOptionGlobally(const TQString& name);
void removeGroupGlobally(DrGroup *grp);
@@ -285,7 +285,7 @@ public:
void addChoice(DrBase *ch) { m_choices.append(ch); }
TQPtrList<DrBase>* choices() { return &m_choices; }
DrBase* currentChoice() const { return m_current; }
- DrBase* findChoice(const TQString& txt);
+ DrBase* tqfindChoice(const TQString& txt);
void setChoice(int choicenum);
virtual TQString valueText();