summaryrefslogtreecommitdiffstats
path: root/tdm
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-03 00:48:02 +0900
committerMichele Calgaro <[email protected]>2023-12-05 11:59:10 +0900
commit1390bece9a81780610a9aee6f7d543f72bf57d1a (patch)
tree2fd0b99061d4121dc8405c36ded3718dd2fe4420 /tdm
parenta1cbb16badbaa5cab1e96e8665a74cf0229b95d7 (diff)
downloadtdebase-1390bece9a81780610a9aee6f7d543f72bf57d1a.tar.gz
tdebase-1390bece9a81780610a9aee6f7d543f72bf57d1a.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdm')
-rw-r--r--tdm/kfrontend/kgreeter.cpp2
-rw-r--r--tdm/kfrontend/kgverify.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tdm/kfrontend/kgreeter.cpp b/tdm/kfrontend/kgreeter.cpp
index 4aa49eca5..19d27fe2f 100644
--- a/tdm/kfrontend/kgreeter.cpp
+++ b/tdm/kfrontend/kgreeter.cpp
@@ -393,7 +393,7 @@ KGreeter::insertUser( const TQImage &default_pix,
TQBuffer buf( fc );
buf.open( IO_ReadOnly );
TQImageIO ir;
- ir.setIODevice( TQT_TQIODEVICE(&buf) );
+ ir.setIODevice( &buf );
if (!ir.read()) {
LogInfo( "%s is no valid image\n", fn.data() );
continue;
diff --git a/tdm/kfrontend/kgverify.h b/tdm/kfrontend/kgverify.h
index fef509d17..405fa35ba 100644
--- a/tdm/kfrontend/kgverify.h
+++ b/tdm/kfrontend/kgverify.h
@@ -200,7 +200,7 @@ class KGStdVerify : public KGVerify {
const PluginList &pluginList,
KGreeterPlugin::Function func, KGreeterPlugin::Context ctx );
virtual ~KGStdVerify();
- TQLayout *getLayout() const { return TQT_TQLAYOUT(grid); }
+ TQLayout *getLayout() const { return grid; }
void selectPlugin( int id );
protected: