summaryrefslogtreecommitdiffstats
path: root/tdmlib/kgreet_pam.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:48:02 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-05 12:00:23 +0900
commit3f84b83e22ef17cc53110d2c31bf6f1b3d850971 (patch)
tree57a5efdc44eb1850db7a52801b72f6a034a9b89d /tdmlib/kgreet_pam.cpp
parente240ec46647a83839cc365b13f730d694aeb2686 (diff)
downloadtdebase-3f84b83e22ef17cc53110d2c31bf6f1b3d850971.tar.gz
tdebase-3f84b83e22ef17cc53110d2c31bf6f1b3d850971.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1390bece9a81780610a9aee6f7d543f72bf57d1a)
Diffstat (limited to 'tdmlib/kgreet_pam.cpp')
-rw-r--r--tdmlib/kgreet_pam.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdmlib/kgreet_pam.cpp b/tdmlib/kgreet_pam.cpp
index 69eac485b..b0ef73a28 100644
--- a/tdmlib/kgreet_pam.cpp
+++ b/tdmlib/kgreet_pam.cpp
@@ -111,7 +111,7 @@ KPamGreeter::KPamGreeter( KGreeterPluginHandler *_handler,
m_themer = themer;
if (!themer)
- layoutItem = TQT_TQLAYOUTITEM(new TQGridLayout( 0, 0, 10 ));
+ layoutItem = new TQGridLayout( 0, 0, 10 );
loginLabel = 0;
authLabel.clear();
@@ -211,7 +211,7 @@ KPamGreeter::~KPamGreeter()
delete loginEdit;
return;
}
- TQLayoutIterator it = TQT_TQLAYOUT(layoutItem)->iterator();
+ TQLayoutIterator it = static_cast<TQLayout*>(layoutItem)->iterator();
for (TQLayoutItem *itm = it.current(); itm; itm = ++it)
delete itm->widget();
delete layoutItem;