summaryrefslogtreecommitdiffstats
path: root/src/kvilib
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-24 10:46:45 +0900
committerMichele Calgaro <[email protected]>2023-11-24 22:27:59 +0900
commit265b1c8ca4e418504a03ddff38583490c615d9c6 (patch)
treea91c0e2e5985cef07c4e6c1c8d381b9d3240e822 /src/kvilib
parent860d3e1ffbf7e5d24815e31c07cd349301c39539 (diff)
downloadkvirc-265b1c8ca4e418504a03ddff38583490c615d9c6.tar.gz
kvirc-265b1c8ca4e418504a03ddff38583490c615d9c6.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit d65a880c1c2a9a151a9a7d3c42cccf1e253f8996)
Diffstat (limited to 'src/kvilib')
-rw-r--r--src/kvilib/tal/kvi_tal_listview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kvilib/tal/kvi_tal_listview.cpp b/src/kvilib/tal/kvi_tal_listview.cpp
index c41c909e..1bb6bdc9 100644
--- a/src/kvilib/tal/kvi_tal_listview.cpp
+++ b/src/kvilib/tal/kvi_tal_listview.cpp
@@ -691,7 +691,7 @@
if(!parentControl)
x += 3;
if ( !pixmap( 0 ) ) {
- lv->style().tqdrawPrimitive(TQStyle::PE_CheckListController, p,
+ lv->style().drawPrimitive(TQStyle::PE_CheckListController, p,
TQRect(x, 0, boxsize,
fm.height() + 2 + marg),
cg, styleflags, TQStyleOption(this));
@@ -709,12 +709,12 @@
y = (fm.height() + 2 + marg - boxsize) / 2;
if ( ( myType == CheckBox ) || ( myType == CheckBoxController ) ) {
- lv->style().tqdrawPrimitive(TQStyle::PE_CheckListIndicator, p,
+ lv->style().drawPrimitive(TQStyle::PE_CheckListIndicator, p,
TQRect(x, y, boxsize,
fm.height() + 2 + marg),
cg, styleflags, TQStyleOption(this));
} else { //radio button look
- lv->style().tqdrawPrimitive(TQStyle::PE_CheckListExclusiveIndicator,
+ lv->style().drawPrimitive(TQStyle::PE_CheckListExclusiveIndicator,
p, TQRect(x, y, boxsize,
fm.height() + 2 + marg),
cg, styleflags, TQStyleOption(this));