summaryrefslogtreecommitdiffstats
path: root/kdeprint/driver.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /kdeprint/driver.h
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz
tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 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 485024460..a2ccab8a8 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.tqcontains(key); }
+ bool has(const TQString& key) const { return m_map.contains(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* tqfindOption(const TQString& name, DrGroup **parentGroup = 0);
- DrGroup* tqfindGroup(DrGroup *grp, DrGroup **parentGroup = 0);
+ DrBase* findOption(const TQString& name, DrGroup **parentGroup = 0);
+ DrGroup* findGroup(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* tqfindPageSize(const TQString& name) { return m_pagesizes.tqfind(name); }
+ DrPageSize* findPageSize(const TQString& name) { return m_pagesizes.find(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* tqfindChoice(const TQString& txt);
+ DrBase* findChoice(const TQString& txt);
void setChoice(int choicenum);
virtual TQString valueText();