diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:48:02 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-05 12:00:23 +0900 |
commit | 3f84b83e22ef17cc53110d2c31bf6f1b3d850971 (patch) | |
tree | 57a5efdc44eb1850db7a52801b72f6a034a9b89d /tdm | |
parent | e240ec46647a83839cc365b13f730d694aeb2686 (diff) | |
download | tdebase-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 'tdm')
-rw-r--r-- | tdm/kfrontend/kgreeter.cpp | 2 | ||||
-rw-r--r-- | tdm/kfrontend/kgverify.h | 2 |
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: |