diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 13:10:18 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-20 19:37:16 +0900 |
commit | d3656a49e67074e23e8df5daef0f585199b0a8da (patch) | |
tree | a4f8ca60d997f3342a31a8901e11cdb89ab5f270 /umbrello/umbrello/enum.cpp | |
parent | 34281174eaef4065e90b49b327f3763b04dd5854 (diff) | |
download | tdesdk-d3656a49e67074e23e8df5daef0f585199b0a8da.tar.gz tdesdk-d3656a49e67074e23e8df5daef0f585199b0a8da.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b0c86264e0cd10a0d3a47de3b05be453d9417bcd)
Diffstat (limited to 'umbrello/umbrello/enum.cpp')
-rw-r--r-- | umbrello/umbrello/enum.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/umbrello/umbrello/enum.cpp b/umbrello/umbrello/enum.cpp index 90682d51..fefdf808 100644 --- a/umbrello/umbrello/enum.cpp +++ b/umbrello/umbrello/enum.cpp @@ -102,7 +102,7 @@ UMLObject* UMLEnum::addEnumLiteral(const TQString &name, Uml::IDType id) { m_List.append(literal); UMLObject::emitModified(); emit enumLiteralAdded(literal); - connect(literal,TQT_SIGNAL(modified()),this,TQT_SIGNAL(modified())); + connect(literal,TQ_SIGNAL(modified()),this,TQ_SIGNAL(modified())); return literal; } @@ -114,7 +114,7 @@ bool UMLEnum::addEnumLiteral(UMLEnumLiteral* literal, IDChangeLog* Log /* = 0*/) m_List.append(literal); UMLObject::emitModified(); emit enumLiteralAdded(literal); - connect(literal,TQT_SIGNAL(modified()),this,TQT_SIGNAL(modified())); + connect(literal,TQ_SIGNAL(modified()),this,TQ_SIGNAL(modified())); return true; } else if (Log) { Log->removeChangeByNewID( literal->getID() ); @@ -135,7 +135,7 @@ bool UMLEnum::addEnumLiteral(UMLEnumLiteral* literal, int position) { } UMLObject::emitModified(); emit enumLiteralAdded(literal); - connect(literal,TQT_SIGNAL(modified()),this,TQT_SIGNAL(modified())); + connect(literal,TQ_SIGNAL(modified()),this,TQ_SIGNAL(modified())); return true; } return false; @@ -150,7 +150,7 @@ int UMLEnum::removeEnumLiteral(UMLEnumLiteral* literal) { UMLObject::emitModified(); // If we are deleting the object, then we don't need to disconnect..this is done auto-magically // for us by TQObject. -b.t. - // disconnect(a,TQT_SIGNAL(modified()),this,TQT_SIGNAL(modified())); + // disconnect(a,TQ_SIGNAL(modified()),this,TQ_SIGNAL(modified())); delete literal; return m_List.count(); } |