summaryrefslogtreecommitdiffstats
path: root/xparts
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 11:29:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 11:45:40 +0900
commitfaf33629bb6562a6f43f930afafe4b22e9cdb60b (patch)
tree8fc6dc6d999a3a039ace28db2fe5b96712fa18e0 /xparts
parent0ff7d227c65fecb4fb7482ecd679acb594ef5cf7 (diff)
downloadtdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.tar.gz
tdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'xparts')
-rw-r--r--xparts/mozilla/kshell.cpp6
-rw-r--r--xparts/src/tde/xparthost_kpart.cpp4
-rw-r--r--xparts/xpart_notepad/shell_xparthost.cpp8
3 files changed, 9 insertions, 9 deletions
diff --git a/xparts/mozilla/kshell.cpp b/xparts/mozilla/kshell.cpp
index 6417973e..152469f3 100644
--- a/xparts/mozilla/kshell.cpp
+++ b/xparts/mozilla/kshell.cpp
@@ -22,7 +22,7 @@ public:
setCentralWidget( m_host->widget() );
- connect(m_host, TQT_SIGNAL( actionsInitialized() ), this, TQT_SLOT( mergeGUI() ) );
+ connect(m_host, TQ_SIGNAL( actionsInitialized() ), this, TQ_SLOT( mergeGUI() ) );
#if 1
m_partProcess = new TDEProcess;
@@ -31,10 +31,10 @@ public:
m_partProcess->start();
#endif
- KStdAction::quit( this, TQT_SLOT( close() ), actionCollection() );
+ KStdAction::quit( this, TQ_SLOT( close() ), actionCollection() );
TDESelectAction *s = new TDESelectAction( "http://www.kde.org" , 0,
actionCollection(), "location" );
- connect( s, TQT_SIGNAL(activated( const TQString& ) ), this, TQT_SLOT( slotOpenUrl( const TQString & ) ) );
+ connect( s, TQ_SIGNAL(activated( const TQString& ) ), this, TQ_SLOT( slotOpenUrl( const TQString & ) ) );
s->setEditable(true);
}
virtual ~ShellWindow()
diff --git a/xparts/src/tde/xparthost_kpart.cpp b/xparts/src/tde/xparthost_kpart.cpp
index 54bcb804..84848017 100644
--- a/xparts/src/tde/xparthost_kpart.cpp
+++ b/xparts/src/tde/xparthost_kpart.cpp
@@ -77,9 +77,9 @@ void XPartHost_KPart::createActions( const TQCString &xmlActions )
TQString type = e.attribute("type");
if(type.isEmpty())
- new TDEAction( name, 0, this, TQT_SLOT( actionActivated() ), actionCollection(), name.latin1() );
+ new TDEAction( name, 0, this, TQ_SLOT( actionActivated() ), actionCollection(), name.latin1() );
else if( type == "toggle" )
- new TDEToggleAction( name, 0, this, TQT_SLOT( actionActivated() ), actionCollection(), name.latin1() );
+ new TDEToggleAction( name, 0, this, TQ_SLOT( actionActivated() ), actionCollection(), name.latin1() );
kdDebug() << "action=" << name << " type=" << type << endl;
} else if ( e.tagName() == "XMLFile" ) {
TQString location = e.attribute("location");
diff --git a/xparts/xpart_notepad/shell_xparthost.cpp b/xparts/xpart_notepad/shell_xparthost.cpp
index 666c16a6..c6f35a87 100644
--- a/xparts/xpart_notepad/shell_xparthost.cpp
+++ b/xparts/xpart_notepad/shell_xparthost.cpp
@@ -19,7 +19,7 @@ ShellWindow::ShellWindow()
setCentralWidget( m_host->widget() );
- connect(m_host, TQT_SIGNAL( actionsInitialized() ), this, TQT_SLOT( mergeGUI() ) );
+ connect(m_host, TQ_SIGNAL( actionsInitialized() ), this, TQ_SLOT( mergeGUI() ) );
// Launch our XPart child.
m_partProcess = new TDEProcess;
@@ -28,11 +28,11 @@ ShellWindow::ShellWindow()
m_partProcess->start();
// Init our Gui
- (void) new TDEAction( "Hop", 0, this, TQT_SLOT(hop()), actionCollection(), "hop" );
- KStdAction::quit( this, TQT_SLOT( close() ), actionCollection() );
+ (void) new TDEAction( "Hop", 0, this, TQ_SLOT(hop()), actionCollection(), "hop" );
+ KStdAction::quit( this, TQ_SLOT( close() ), actionCollection() );
TDESelectAction *s = new TDESelectAction( "http://www.kde.org" , 0,
actionCollection(), "location" );
- connect( s, TQT_SIGNAL(activated( const TQString& ) ), this, TQT_SLOT( slotOpenUrl( const TQString & ) ) );
+ connect( s, TQ_SIGNAL(activated( const TQString& ) ), this, TQ_SLOT( slotOpenUrl( const TQString & ) ) );
s->setEditable(true);
kdDebug() << "KShell window created" << endl;