summaryrefslogtreecommitdiffstats
path: root/kig/modes
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 11:49:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-19 10:25:42 +0900
commit69e4de2f4cee257151ca13b207dc677b2d958fed (patch)
tree01cb14d87074092f48260fe4db758dcb89917d98 /kig/modes
parent0d9cc39b25fa93369504fbbf3ea91f01fb376aab (diff)
downloadtdeedu-69e4de2f4cee257151ca13b207dc677b2d958fed.tar.gz
tdeedu-69e4de2f4cee257151ca13b207dc677b2d958fed.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kig/modes')
-rw-r--r--kig/modes/linkslabel.cpp2
-rw-r--r--kig/modes/macrowizard.cpp8
-rw-r--r--kig/modes/popup.cpp40
-rw-r--r--kig/modes/textlabelwizard.cpp12
-rw-r--r--kig/modes/typesdialog.cpp6
5 files changed, 34 insertions, 34 deletions
diff --git a/kig/modes/linkslabel.cpp b/kig/modes/linkslabel.cpp
index 6d9c2f2f..a9d0fa59 100644
--- a/kig/modes/linkslabel.cpp
+++ b/kig/modes/linkslabel.cpp
@@ -112,7 +112,7 @@ void LinksLabel::applyEdit( LinksLabelEditBuf& buf )
i->second, this );
p->urllabels.push_back( l );
p->layout->addWidget( l );
- connect( l, TQT_SIGNAL( leftClickedURL() ), TQT_SLOT( urlClicked() ) );
+ connect( l, TQ_SIGNAL( leftClickedURL() ), TQ_SLOT( urlClicked() ) );
}
else
{
diff --git a/kig/modes/macrowizard.cpp b/kig/modes/macrowizard.cpp
index c6b8f36c..e4c02aa0 100644
--- a/kig/modes/macrowizard.cpp
+++ b/kig/modes/macrowizard.cpp
@@ -27,10 +27,10 @@
MacroWizard::MacroWizard( TQWidget* parent, DefineMacroMode* m )
: MacroWizardBase( parent, "Define Macro Wizard", false ), mmode( m )
{
- connect( KLineEdit2, TQT_SIGNAL( textChanged( const TQString& ) ),
- this, TQT_SLOT( nameTextChanged( const TQString& ) ) );
- connect( this, TQT_SIGNAL( helpClicked() ), this,
- TQT_SLOT( slotHelpClicked() ) );
+ connect( KLineEdit2, TQ_SIGNAL( textChanged( const TQString& ) ),
+ this, TQ_SLOT( nameTextChanged( const TQString& ) ) );
+ connect( this, TQ_SIGNAL( helpClicked() ), this,
+ TQ_SLOT( slotHelpClicked() ) );
}
MacroWizard::~MacroWizard()
diff --git a/kig/modes/popup.cpp b/kig/modes/popup.cpp
index a9c74915..0a7e0265 100644
--- a/kig/modes/popup.cpp
+++ b/kig/modes/popup.cpp
@@ -190,7 +190,7 @@ NormalModePopupObjects::NormalModePopupObjects( KigPart& part,
{
bool empty = objs.empty();
bool single = objs.size() == 1;
- connect( this, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( toplevelMenuSlot( int ) ) );
+ connect( this, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( toplevelMenuSlot( int ) ) );
TQString title;
if ( empty )
@@ -246,24 +246,24 @@ NormalModePopupObjects::NormalModePopupObjects( KigPart& part,
for ( uint i = 0; i < NumberOfMenus; ++i )
mmenus[i] = new TQPopupMenu( this );
- connect( mmenus[TransformMenu], TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( transformMenuSlot( int ) ) );
- connect( mmenus[TestMenu], TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( testMenuSlot( int ) ) );
- connect( mmenus[ConstructMenu], TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( constructMenuSlot( int ) ) );
- connect( mmenus[StartMenu], TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( startMenuSlot( int ) ) );
- connect( mmenus[ShowMenu], TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( showMenuSlot( int ) ) );
- connect( mmenus[SetColorMenu], TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( setColorMenuSlot( int ) ) );
- connect( mmenus[SetSizeMenu], TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( setSizeMenuSlot( int ) ) );
- connect( mmenus[SetStyleMenu], TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( setStyleMenuSlot( int ) ) );
- connect( mmenus[SetCoordinateSystemMenu], TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( setCoordinateSystemMenuSlot( int ) ) );
+ connect( mmenus[TransformMenu], TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( transformMenuSlot( int ) ) );
+ connect( mmenus[TestMenu], TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( testMenuSlot( int ) ) );
+ connect( mmenus[ConstructMenu], TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( constructMenuSlot( int ) ) );
+ connect( mmenus[StartMenu], TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( startMenuSlot( int ) ) );
+ connect( mmenus[ShowMenu], TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( showMenuSlot( int ) ) );
+ connect( mmenus[SetColorMenu], TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( setColorMenuSlot( int ) ) );
+ connect( mmenus[SetSizeMenu], TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( setSizeMenuSlot( int ) ) );
+ connect( mmenus[SetStyleMenu], TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( setStyleMenuSlot( int ) ) );
+ connect( mmenus[SetCoordinateSystemMenu], TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( setCoordinateSystemMenuSlot( int ) ) );
for ( int i = 0; i <= NumberOfMenus; ++i )
{
@@ -1187,7 +1187,7 @@ ObjectChooserPopup::ObjectChooserPopup( const TQPoint& p, KigWidget& view,
i );
}
- connect( this, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( actionActivatedSlot( int ) ) );
+ connect( this, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( actionActivatedSlot( int ) ) );
}
ObjectChooserPopup::~ObjectChooserPopup()
diff --git a/kig/modes/textlabelwizard.cpp b/kig/modes/textlabelwizard.cpp
index c92068de..84d86adb 100644
--- a/kig/modes/textlabelwizard.cpp
+++ b/kig/modes/textlabelwizard.cpp
@@ -29,12 +29,12 @@
TextLabelWizard::TextLabelWizard( TQWidget* parent, TextLabelModeBase* mode )
: TextLabelWizardBase( parent, "TextLabelWizard", false ), mmode( mode )
{
- connect( labelTextInput, TQT_SIGNAL( textChanged() ),
- TQT_SLOT( textChanged() ) );
- connect( myCustomWidget1, TQT_SIGNAL( linkClicked( int ) ),
- TQT_SLOT( linkClicked( int ) ) );
- connect( this, TQT_SIGNAL( helpClicked() ),
- this, TQT_SLOT( slotHelpClicked() ) );
+ connect( labelTextInput, TQ_SIGNAL( textChanged() ),
+ TQ_SLOT( textChanged() ) );
+ connect( myCustomWidget1, TQ_SIGNAL( linkClicked( int ) ),
+ TQ_SLOT( linkClicked( int ) ) );
+ connect( this, TQ_SIGNAL( helpClicked() ),
+ this, TQ_SLOT( slotHelpClicked() ) );
labelTextInput->setFocus();
}
diff --git a/kig/modes/typesdialog.cpp b/kig/modes/typesdialog.cpp
index d8219308..2c1235df 100644
--- a/kig/modes/typesdialog.cpp
+++ b/kig/modes/typesdialog.cpp
@@ -81,10 +81,10 @@ TypesDialog::TypesDialog( TQWidget* parent, KigPart& part )
loadAllMacros();
popup = new TQPopupMenu( this );
- popup->insertItem( SmallIcon( "edit" ), i18n( "&Edit..." ), this, TQT_SLOT( editType() ) );
- popup->insertItem( SmallIcon( "edit-delete" ), i18n( "&Delete" ), this, TQT_SLOT( deleteType() ) );
+ popup->insertItem( SmallIcon( "edit" ), i18n( "&Edit..." ), this, TQ_SLOT( editType() ) );
+ popup->insertItem( SmallIcon( "edit-delete" ), i18n( "&Delete" ), this, TQ_SLOT( deleteType() ) );
popup->insertSeparator();
- popup->insertItem( SmallIcon( "fileexport" ), i18n( "E&xport..." ), this, TQT_SLOT( exportType() ) );
+ popup->insertItem( SmallIcon( "fileexport" ), i18n( "E&xport..." ), this, TQ_SLOT( exportType() ) );
// saving types
part.saveTypes();