From 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 20:16:47 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kxkb/kxkbconfig.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kxkb/kxkbconfig.h') diff --git a/kxkb/kxkbconfig.h b/kxkb/kxkbconfig.h index 82fe610c9..9668a33db 100644 --- a/kxkb/kxkbconfig.h +++ b/kxkb/kxkbconfig.h @@ -18,7 +18,7 @@ #include -/* Utility classes for per-window/per-application layout implementation +/* Utility classes for per-window/per-application tqlayout implementation */ enum SwitchingPolicy { SWITCH_POLICY_GLOBAL = 0, @@ -37,7 +37,7 @@ inline TQString createPair(TQString key, TQString value) } struct LayoutUnit { - TQString layout; + TQString tqlayout; TQString variant; TQString includeGroup; TQString displayName; @@ -45,8 +45,8 @@ struct LayoutUnit { LayoutUnit() {} - LayoutUnit(TQString layout_, TQString variant_): - layout(layout_), + LayoutUnit(TQString tqlayout_, TQString variant_): + tqlayout(tqlayout_), variant(variant_) {} @@ -55,26 +55,26 @@ struct LayoutUnit { } void setFromPair(const TQString& pair) { - layout = parseLayout(pair); + tqlayout = parseLayout(pair); variant = parseVariant(pair); } TQString toPair() const { - return createPair(layout, variant); + return createPair(tqlayout, variant); } bool operator<(const LayoutUnit& lu) const { - return layout m_layouts; + TQValueList m_tqlayouts; LayoutUnit getDefaultLayout(); @@ -112,7 +112,7 @@ public: TQStringList getLayoutStringList(/*bool compact*/); static TQString getDefaultDisplayName(const TQString& code_); - static TQString getDefaultDisplayName(const LayoutUnit& layoutUnit, bool single=false); + static TQString getDefaultDisplayName(const LayoutUnit& tqlayoutUnit, bool single=false); private: static const TQMap parseIncludesMap(const TQStringList& pairList); -- cgit v1.2.1