diff options
Diffstat (limited to 'tdm/kfrontend')
-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: |