diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:23:16 +0900 |
commit | e234565531cd8c11949cc6aecf16179e75312458 (patch) | |
tree | 90b0cb6c9f6c2a04712bbfb73b531275d4f63976 /konq-plugins/sidebar | |
parent | be3456c5d953fb877340a51b2ef699be6b3c7c02 (diff) | |
download | tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.tar.gz tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22)
Diffstat (limited to 'konq-plugins/sidebar')
-rw-r--r-- | konq-plugins/sidebar/delicious/mainWidget.cpp | 50 | ||||
-rw-r--r-- | konq-plugins/sidebar/delicious/plugin.cpp | 8 | ||||
-rw-r--r-- | konq-plugins/sidebar/mediaplayer/controls.cpp | 4 | ||||
-rw-r--r-- | konq-plugins/sidebar/mediaplayer/mediawidget.cpp | 26 | ||||
-rw-r--r-- | konq-plugins/sidebar/mediaplayer/player.cpp | 2 | ||||
-rw-r--r-- | konq-plugins/sidebar/metabar/src/configdialog.cpp | 28 | ||||
-rw-r--r-- | konq-plugins/sidebar/metabar/src/defaultplugin.cpp | 6 | ||||
-rw-r--r-- | konq-plugins/sidebar/metabar/src/metabarfunctions.cpp | 2 | ||||
-rw-r--r-- | konq-plugins/sidebar/metabar/src/metabarwidget.cpp | 16 | ||||
-rw-r--r-- | konq-plugins/sidebar/metabar/src/serviceloader.cpp | 2 | ||||
-rw-r--r-- | konq-plugins/sidebar/metabar/src/settingsplugin.cpp | 4 | ||||
-rw-r--r-- | konq-plugins/sidebar/newsticker/norsswidget.cpp | 6 | ||||
-rw-r--r-- | konq-plugins/sidebar/newsticker/nspanel.cpp | 2 | ||||
-rw-r--r-- | konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp | 16 | ||||
-rw-r--r-- | konq-plugins/sidebar/newsticker/sidebar_news.cpp | 16 |
15 files changed, 94 insertions, 94 deletions
diff --git a/konq-plugins/sidebar/delicious/mainWidget.cpp b/konq-plugins/sidebar/delicious/mainWidget.cpp index 775d371..28a929f 100644 --- a/konq-plugins/sidebar/delicious/mainWidget.cpp +++ b/konq-plugins/sidebar/delicious/mainWidget.cpp @@ -52,28 +52,28 @@ MainWidget::MainWidget( TDEConfig * config, TQWidget * parent ) btnRefreshBookmarks->setIconSet( il->loadIconSet( "reload", TDEIcon::Small ) ); btnNew->setIconSet( il->loadIconSet( "bookmark_add", TDEIcon::Small ) ); - connect( ( TQWidget * ) btnRefreshTags, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotGetTags() ) ); + connect( ( TQWidget * ) btnRefreshTags, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotGetTags() ) ); - connect( ( TQWidget * ) btnRefreshBookmarks, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotGetBookmarks() ) ); + connect( ( TQWidget * ) btnRefreshBookmarks, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotGetBookmarks() ) ); - connect( ( TQWidget * ) btnNew, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotNewBookmark() ) ); + connect( ( TQWidget * ) btnNew, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotNewBookmark() ) ); - connect( lvBookmarks, TQT_SIGNAL( executed( TQListViewItem * ) ), - this, TQT_SLOT( slotBookmarkExecuted( TQListViewItem * ) ) ); - connect( lvBookmarks, TQT_SIGNAL( mouseButtonClicked ( int, TQListViewItem *, const TQPoint &, int ) ), - this, TQT_SLOT( slotBookmarkClicked( int, TQListViewItem *, const TQPoint &, int ) ) ); + connect( lvBookmarks, TQ_SIGNAL( executed( TQListViewItem * ) ), + this, TQ_SLOT( slotBookmarkExecuted( TQListViewItem * ) ) ); + connect( lvBookmarks, TQ_SIGNAL( mouseButtonClicked ( int, TQListViewItem *, const TQPoint &, int ) ), + this, TQ_SLOT( slotBookmarkClicked( int, TQListViewItem *, const TQPoint &, int ) ) ); - connect( lvTags, TQT_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ), - this, TQT_SLOT( slotTagsContextMenu( TQListViewItem *, const TQPoint &, int ) ) ); + connect( lvTags, TQ_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ), + this, TQ_SLOT( slotTagsContextMenu( TQListViewItem *, const TQPoint &, int ) ) ); - connect( lvBookmarks, TQT_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ), - this, TQT_SLOT( slotBookmarksContextMenu( TQListViewItem *, const TQPoint &, int ) ) ); + connect( lvBookmarks, TQ_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ), + this, TQ_SLOT( slotBookmarksContextMenu( TQListViewItem *, const TQPoint &, int ) ) ); m_updateTimer = new TQTimer( this ); - connect( m_updateTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotGetBookmarks() ) ); + connect( m_updateTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( slotGetBookmarks() ) ); slotGetTags(); } @@ -93,8 +93,8 @@ void MainWidget::slotGetTags() kdDebug() << k_funcinfo << endl; TDEIO::StoredTransferJob * job = TDEIO::storedGet( "http://del.icio.us/api/tags/get" ); - connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), - this, TQT_SLOT( slotFillTags( TDEIO::Job * ) ) ); + connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), + this, TQ_SLOT( slotFillTags( TDEIO::Job * ) ) ); } void MainWidget::slotFillTags( TDEIO::Job * job ) @@ -121,7 +121,7 @@ void MainWidget::slotFillTags( TDEIO::Job * job ) { TagListItem *item = new TagListItem( lvTags, tag.attribute( "tag" ), tag.attribute( "count" ).toInt() ); m_tags.append( tag.attribute( "tag" ) ); - connect( item, TQT_SIGNAL( signalItemChecked( TagListItem * ) ), TQT_SLOT( itemToggled() ) ); + connect( item, TQ_SIGNAL( signalItemChecked( TagListItem * ) ), TQ_SLOT( itemToggled() ) ); } } } @@ -134,8 +134,8 @@ void MainWidget::slotGetBookmarks() kdDebug() << k_funcinfo << url.url() << endl; TDEIO::StoredTransferJob * job = TDEIO::storedGet( url ); - connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), - this, TQT_SLOT( slotFillBookmarks( TDEIO::Job * ) ) ); + connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), + this, TQ_SLOT( slotFillBookmarks( TDEIO::Job * ) ) ); } void MainWidget::slotFillBookmarks( TDEIO::Job * job ) @@ -229,12 +229,12 @@ void MainWidget::slotTagsContextMenu( TQListViewItem *, const TQPoint & pos, int TQPopupMenu * tagMenu = new TQPopupMenu( this ); TQ_CHECK_PTR( tagMenu ); - tagMenu->insertItem( i18n( "Check All" ), this, TQT_SLOT( slotCheckAllTags() ) ); - tagMenu->insertItem( i18n( "Uncheck All" ), this, TQT_SLOT( slotUncheckAllTags() ) ); - tagMenu->insertItem( i18n( "Toggle All" ), this, TQT_SLOT( slotToggleTags() ) ); + tagMenu->insertItem( i18n( "Check All" ), this, TQ_SLOT( slotCheckAllTags() ) ); + tagMenu->insertItem( i18n( "Uncheck All" ), this, TQ_SLOT( slotUncheckAllTags() ) ); + tagMenu->insertItem( i18n( "Toggle All" ), this, TQ_SLOT( slotToggleTags() ) ); tagMenu->insertSeparator(); tagMenu->insertItem( TDEGlobal::iconLoader()->loadIconSet( "edit", TDEIcon::Small ), - i18n( "Rename Tag..." ), this, TQT_SLOT( slotRenameTag() ) ); + i18n( "Rename Tag..." ), this, TQ_SLOT( slotRenameTag() ) ); tagMenu->exec( pos ); } @@ -323,7 +323,7 @@ void MainWidget::slotBookmarksContextMenu( TQListViewItem *, const TQPoint & pos TQ_CHECK_PTR( menu ); menu->insertItem( TDEGlobal::iconLoader()->loadIconSet( "edit-delete", TDEIcon::Small ), - i18n( "Delete Bookmark" ), this, TQT_SLOT( slotDeleteBookmark() ) ); + i18n( "Delete Bookmark" ), this, TQ_SLOT( slotDeleteBookmark() ) ); menu->exec( pos ); } diff --git a/konq-plugins/sidebar/delicious/plugin.cpp b/konq-plugins/sidebar/delicious/plugin.cpp index f0783f2..5ab5263 100644 --- a/konq-plugins/sidebar/delicious/plugin.cpp +++ b/konq-plugins/sidebar/delicious/plugin.cpp @@ -35,10 +35,10 @@ KonqSidebarDelicious::KonqSidebarDelicious( TDEInstance *instance, TQObject *par { m_widget = new MainWidget( instance->config(), widgetParent ); - connect( m_widget, TQT_SIGNAL( signalURLClicked( const KURL &, const KParts::URLArgs & ) ), - this, TQT_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs & ) ) ); - connect( m_widget, TQT_SIGNAL( signalURLMidClicked( const KURL &, const KParts::URLArgs & ) ), - this, TQT_SIGNAL( createNewWindow( const KURL &, const KParts::URLArgs & ) ) ); + connect( m_widget, TQ_SIGNAL( signalURLClicked( const KURL &, const KParts::URLArgs & ) ), + this, TQ_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs & ) ) ); + connect( m_widget, TQ_SIGNAL( signalURLMidClicked( const KURL &, const KParts::URLArgs & ) ), + this, TQ_SIGNAL( createNewWindow( const KURL &, const KParts::URLArgs & ) ) ); } KonqSidebarDelicious::~KonqSidebarDelicious() diff --git a/konq-plugins/sidebar/mediaplayer/controls.cpp b/konq-plugins/sidebar/mediaplayer/controls.cpp index eb034ca..6b0dcd0 100644 --- a/konq-plugins/sidebar/mediaplayer/controls.cpp +++ b/konq-plugins/sidebar/mediaplayer/controls.cpp @@ -97,11 +97,11 @@ int SliderAction::plug( TQWidget *w, int index ) addContainer( toolBar, id ); - connect( toolBar, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) ); + connect( toolBar, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slotDestroyed() ) ); toolBar->setItemAutoSized( id, true ); if (w->inherits( "TDEToolBar" )) - connect(toolBar, TQT_SIGNAL(moved(TDEToolBar::BarPosition)), this, TQT_SLOT(toolbarMoved(TDEToolBar::BarPosition))); + connect(toolBar, TQ_SIGNAL(moved(TDEToolBar::BarPosition)), this, TQ_SLOT(toolbarMoved(TDEToolBar::BarPosition))); emit plugged(); diff --git a/konq-plugins/sidebar/mediaplayer/mediawidget.cpp b/konq-plugins/sidebar/mediaplayer/mediawidget.cpp index f0945a9..ab2e807 100644 --- a/konq-plugins/sidebar/mediaplayer/mediawidget.cpp +++ b/konq-plugins/sidebar/mediaplayer/mediawidget.cpp @@ -42,19 +42,19 @@ KSB_MediaWidget::KSB_MediaWidget(TQWidget *parent):KSB_MediaWidget_skel(parent) labelFont.setBold(true); time->setFont(labelFont); - connect(Play, TQT_SIGNAL(clicked()), player, TQT_SLOT(play())); - connect(Pause, TQT_SIGNAL(clicked()), player, TQT_SLOT(pause())); - connect(Stop, TQT_SIGNAL(clicked()), player, TQT_SLOT(stop())); - - connect(player, TQT_SIGNAL(timeout()), this, TQT_SLOT(playerTimeout())); - connect(player, TQT_SIGNAL(finished()), this, TQT_SLOT(playerFinished())); - connect(player, TQT_SIGNAL(playing()), this, TQT_SLOT(playing())); - connect(player, TQT_SIGNAL(paused()), this, TQT_SLOT(paused())); - connect(player, TQT_SIGNAL(stopped()), this, TQT_SLOT(stopped())); - connect(player, TQT_SIGNAL(empty()), this, TQT_SLOT(empty())); - - connect(Position, TQT_SIGNAL(userChanged(int)), this, TQT_SLOT(skipToWrapper(int))); - connect(this, TQT_SIGNAL(skipTo(unsigned long)), player, TQT_SLOT(skipTo(unsigned long))); + connect(Play, TQ_SIGNAL(clicked()), player, TQ_SLOT(play())); + connect(Pause, TQ_SIGNAL(clicked()), player, TQ_SLOT(pause())); + connect(Stop, TQ_SIGNAL(clicked()), player, TQ_SLOT(stop())); + + connect(player, TQ_SIGNAL(timeout()), this, TQ_SLOT(playerTimeout())); + connect(player, TQ_SIGNAL(finished()), this, TQ_SLOT(playerFinished())); + connect(player, TQ_SIGNAL(playing()), this, TQ_SLOT(playing())); + connect(player, TQ_SIGNAL(paused()), this, TQ_SLOT(paused())); + connect(player, TQ_SIGNAL(stopped()), this, TQ_SLOT(stopped())); + connect(player, TQ_SIGNAL(empty()), this, TQ_SLOT(empty())); + + connect(Position, TQ_SIGNAL(userChanged(int)), this, TQ_SLOT(skipToWrapper(int))); + connect(this, TQ_SIGNAL(skipTo(unsigned long)), player, TQ_SLOT(skipTo(unsigned long))); setAcceptDrops(true); pretty=""; diff --git a/konq-plugins/sidebar/mediaplayer/player.cpp b/konq-plugins/sidebar/mediaplayer/player.cpp index 26904cf..dffe4ee 100644 --- a/konq-plugins/sidebar/mediaplayer/player.cpp +++ b/konq-plugins/sidebar/mediaplayer/player.cpp @@ -36,7 +36,7 @@ Player::Player(TQObject *parent) { mEngine = new Engine; mLooping = false; - connect(&ticker, TQT_SIGNAL(timeout()), TQT_SLOT(tickerTimeout())); + connect(&ticker, TQ_SIGNAL(timeout()), TQ_SLOT(tickerTimeout())); ticker.start(500); stop(); } diff --git a/konq-plugins/sidebar/metabar/src/configdialog.cpp b/konq-plugins/sidebar/metabar/src/configdialog.cpp index 35816df..f198b9e 100644 --- a/konq-plugins/sidebar/metabar/src/configdialog.cpp +++ b/konq-plugins/sidebar/metabar/src/configdialog.cpp @@ -66,10 +66,10 @@ ConfigDialog::ConfigDialog(TQWidget *parent, const char *name) : TQDialog(parent setIcon(SmallIcon("metabar")); ok = new KPushButton(KStdGuiItem::ok(), this); - connect(ok, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept())); + connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept())); cancel = new KPushButton(KStdGuiItem::cancel(), this); - connect(cancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject())); + connect(cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject())); TQTabWidget *tab = new TQTabWidget(this); @@ -117,7 +117,7 @@ ConfigDialog::ConfigDialog(TQWidget *parent, const char *name) : TQDialog(parent install_theme = new KPushButton(i18n("Install New Theme..."), theme_group); install_theme->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Preferred); - connect(install_theme, TQT_SIGNAL(clicked()), this, TQT_SLOT(installTheme())); + connect(install_theme, TQ_SIGNAL(clicked()), this, TQ_SLOT(installTheme())); loadThemes(); @@ -125,23 +125,23 @@ ConfigDialog::ConfigDialog(TQWidget *parent, const char *name) : TQDialog(parent TQWidget *links = new TQWidget; link_create = new KPushButton(i18n("New..."), links); - connect(link_create, TQT_SIGNAL(clicked()), this, TQT_SLOT(createLink())); + connect(link_create, TQ_SIGNAL(clicked()), this, TQ_SLOT(createLink())); link_delete = new KPushButton(i18n("Delete"), links); - connect(link_delete, TQT_SIGNAL(clicked()), this, TQT_SLOT(deleteLink())); + connect(link_delete, TQ_SIGNAL(clicked()), this, TQ_SLOT(deleteLink())); link_edit = new KPushButton(i18n("Edit..."), links); - connect(link_edit, TQT_SIGNAL(clicked()), this, TQT_SLOT(editLink())); + connect(link_edit, TQ_SIGNAL(clicked()), this, TQ_SLOT(editLink())); link_up = new KPushButton(links); link_up->setIconSet(SmallIconSet("go-up")); link_up->setEnabled(false); - connect(link_up, TQT_SIGNAL(clicked()), this, TQT_SLOT(moveLinkUp())); + connect(link_up, TQ_SIGNAL(clicked()), this, TQ_SLOT(moveLinkUp())); link_down = new KPushButton(links); link_down->setIconSet(SmallIconSet("go-down")); link_down->setEnabled(false); - connect(link_down, TQT_SIGNAL(clicked()), this, TQT_SLOT(moveLinkDown())); + connect(link_down, TQ_SIGNAL(clicked()), this, TQ_SLOT(moveLinkDown())); link_list = new TDEListView(links); link_list->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding); @@ -149,8 +149,8 @@ ConfigDialog::ConfigDialog(TQWidget *parent, const char *name) : TQDialog(parent link_list->setItemsMovable(TRUE); link_list->addColumn(i18n("Name")); link_list->addColumn(i18n("Address")); - connect(link_list, TQT_SIGNAL(doubleClicked(TQListViewItem*)), this, TQT_SLOT(editLink(TQListViewItem*))); - connect(link_list, TQT_SIGNAL(selectionChanged()), TQT_SLOT(updateArrows())); + connect(link_list, TQ_SIGNAL(doubleClicked(TQListViewItem*)), this, TQ_SLOT(editLink(TQListViewItem*))); + connect(link_list, TQ_SIGNAL(selectionChanged()), TQ_SLOT(updateArrows())); TQWidget *actionPage = new TQWidget; @@ -311,10 +311,10 @@ void ConfigDialog::createLink() main->setIcon(SmallIcon("metabar")); KPushButton *ok = new KPushButton(KStdGuiItem::ok(), main); - connect(ok, TQT_SIGNAL(clicked()), main, TQT_SLOT(accept())); + connect(ok, TQ_SIGNAL(clicked()), main, TQ_SLOT(accept())); KPushButton *cancel = new KPushButton(KStdGuiItem::cancel(), main); - connect(cancel, TQT_SIGNAL(clicked()), main, TQT_SLOT(reject())); + connect(cancel, TQ_SIGNAL(clicked()), main, TQ_SLOT(reject())); TQLineEdit *name = new TQLineEdit(i18n("New link"), main); TQLineEdit *url = new TQLineEdit("file:/", main); @@ -394,10 +394,10 @@ void ConfigDialog::editLink(TQListViewItem *item) main->setIcon(SmallIcon("metabar")); KPushButton *ok = new KPushButton(KStdGuiItem::ok(), main); - connect(ok, TQT_SIGNAL(clicked()), main, TQT_SLOT(accept())); + connect(ok, TQ_SIGNAL(clicked()), main, TQ_SLOT(accept())); KPushButton *cancel = new KPushButton(KStdGuiItem::cancel(), main); - connect(cancel, TQT_SIGNAL(clicked()), main, TQT_SLOT(reject())); + connect(cancel, TQ_SIGNAL(clicked()), main, TQ_SLOT(reject())); TQLineEdit *name = new TQLineEdit(linkList[item]->name, main); TQLineEdit *url = new TQLineEdit(linkList[item]->url, main); diff --git a/konq-plugins/sidebar/metabar/src/defaultplugin.cpp b/konq-plugins/sidebar/metabar/src/defaultplugin.cpp index 3677663..79b1ea7 100644 --- a/konq-plugins/sidebar/metabar/src/defaultplugin.cpp +++ b/konq-plugins/sidebar/metabar/src/defaultplugin.cpp @@ -336,9 +336,9 @@ void DefaultPlugin::loadPreview(DOM::HTMLElement node) preview_job = TDEIO::filePreview(KURL::List(url), m_html->view()->width() - 30); - connect(preview_job, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), this, TQT_SLOT(slotSetPreview(const KFileItem*, const TQPixmap&))); - connect(preview_job, TQT_SIGNAL(failed(const KFileItem *)), this, TQT_SLOT(slotPreviewFailed(const KFileItem *))); - connect(preview_job, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(slotJobFinished(TDEIO::Job *))); + connect(preview_job, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), this, TQ_SLOT(slotSetPreview(const KFileItem*, const TQPixmap&))); + connect(preview_job, TQ_SIGNAL(failed(const KFileItem *)), this, TQ_SLOT(slotPreviewFailed(const KFileItem *))); + connect(preview_job, TQ_SIGNAL(result(TDEIO::Job *)), this, TQ_SLOT(slotJobFinished(TDEIO::Job *))); } m_functions->show("preview"); diff --git a/konq-plugins/sidebar/metabar/src/metabarfunctions.cpp b/konq-plugins/sidebar/metabar/src/metabarfunctions.cpp index 4f9cfd1..12cf134 100644 --- a/konq-plugins/sidebar/metabar/src/metabarfunctions.cpp +++ b/konq-plugins/sidebar/metabar/src/metabarfunctions.cpp @@ -35,7 +35,7 @@ MetabarFunctions::MetabarFunctions(TDEHTMLPart *html, TQObject *parent, const char* name) : TQObject(parent, name), m_html(html) { timer = new TQTimer(this); - connect(timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(animate())); + connect(timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(animate())); } MetabarFunctions::~MetabarFunctions() diff --git a/konq-plugins/sidebar/metabar/src/metabarwidget.cpp b/konq-plugins/sidebar/metabar/src/metabarwidget.cpp index 0645745..c66fc19 100644 --- a/konq-plugins/sidebar/metabar/src/metabarwidget.cpp +++ b/konq-plugins/sidebar/metabar/src/metabarwidget.cpp @@ -84,9 +84,9 @@ MetabarWidget::MetabarWidget(TQWidget *parent, const char *name) : TQWidget(pare config = new TDEConfig("metabarrc"); dir_watch = new KDirWatch(); - connect(dir_watch, TQT_SIGNAL(dirty(const TQString&)), this, TQT_SLOT(slotUpdateCurrentInfo(const TQString&))); - connect(dir_watch, TQT_SIGNAL(created(const TQString&)), this, TQT_SLOT(slotUpdateCurrentInfo(const TQString&))); - connect(dir_watch, TQT_SIGNAL(deleted(const TQString&)), this, TQT_SLOT(slotDeleteCurrentInfo(const TQString&))); + connect(dir_watch, TQ_SIGNAL(dirty(const TQString&)), this, TQ_SLOT(slotUpdateCurrentInfo(const TQString&))); + connect(dir_watch, TQ_SIGNAL(created(const TQString&)), this, TQ_SLOT(slotUpdateCurrentInfo(const TQString&))); + connect(dir_watch, TQ_SIGNAL(deleted(const TQString&)), this, TQ_SLOT(slotDeleteCurrentInfo(const TQString&))); html = new TDEHTMLPart(this, "metabarhtmlpart"); html->setJScriptEnabled(true); @@ -97,9 +97,9 @@ MetabarWidget::MetabarWidget(TQWidget *parent, const char *name) : TQWidget(pare html->view()->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding); html->view()->hide(); - connect(html->browserExtension(), TQT_SIGNAL(openURLRequest( const KURL &, const KParts::URLArgs & )), this, TQT_SLOT(handleURLRequest(const KURL &, const KParts::URLArgs &))); - connect(html, TQT_SIGNAL(completed()), this, TQT_SLOT(loadCompleted())); - connect(html, TQT_SIGNAL(popupMenu(const TQString &, const TQPoint &)), this, TQT_SLOT(slotShowPopup(const TQString&, const TQPoint &))); + connect(html->browserExtension(), TQ_SIGNAL(openURLRequest( const KURL &, const KParts::URLArgs & )), this, TQ_SLOT(handleURLRequest(const KURL &, const KParts::URLArgs &))); + connect(html, TQ_SIGNAL(completed()), this, TQ_SLOT(loadCompleted())); + connect(html, TQ_SIGNAL(popupMenu(const TQString &, const TQPoint &)), this, TQ_SLOT(slotShowPopup(const TQString&, const TQPoint &))); functions = new MetabarFunctions(html, this); @@ -118,10 +118,10 @@ MetabarWidget::MetabarWidget(TQWidget *parent, const char *name) : TQWidget(pare layout->addWidget(html->view()); popup = new TDEPopupMenu(0); - TDEAction *configAction = new TDEAction(i18n("Configure %1...").arg("Metabar"), "configure", TDEShortcut(), this, TQT_SLOT(slotShowConfig()), html->actionCollection(), "configure"); + TDEAction *configAction = new TDEAction(i18n("Configure %1...").arg("Metabar"), "configure", TDEShortcut(), this, TQ_SLOT(slotShowConfig()), html->actionCollection(), "configure"); configAction->plug(popup); - TDEAction *reloadAction = new TDEAction(i18n("Reload Theme"), "reload", TDEShortcut(), this, TQT_SLOT(setTheme()), html->actionCollection(), "reload"); + TDEAction *reloadAction = new TDEAction(i18n("Reload Theme"), "reload", TDEShortcut(), this, TQ_SLOT(setTheme()), html->actionCollection(), "reload"); reloadAction->plug(popup); setTheme(); diff --git a/konq-plugins/sidebar/metabar/src/serviceloader.cpp b/konq-plugins/sidebar/metabar/src/serviceloader.cpp index b5186ab..4749f53 100644 --- a/konq-plugins/sidebar/metabar/src/serviceloader.cpp +++ b/konq-plugins/sidebar/metabar/src/serviceloader.cpp @@ -168,7 +168,7 @@ void ServiceLoader::loadServices(const KFileItem item, DOM::DOMString &html, int for (TQValueList<KDEDesktopMimeType::Service>::iterator it = list.begin(); it != list.end(); ++it){ if(usePopup){ - TDEAction *action = new TDEAction((*it).m_strName, (*it).m_strIcon, TDEShortcut(), this, TQT_SLOT(runAction()), popup, idString.utf8()); + TDEAction *action = new TDEAction((*it).m_strName, (*it).m_strIcon, TDEShortcut(), this, TQ_SLOT(runAction()), popup, idString.utf8()); action->plug(popup); } else{ diff --git a/konq-plugins/sidebar/metabar/src/settingsplugin.cpp b/konq-plugins/sidebar/metabar/src/settingsplugin.cpp index 48b4afc..771668f 100644 --- a/konq-plugins/sidebar/metabar/src/settingsplugin.cpp +++ b/konq-plugins/sidebar/metabar/src/settingsplugin.cpp @@ -58,8 +58,8 @@ void SettingsPlugin::loadActions(DOM::HTMLElement node) if(url.path().endsWith("/")){ list_job = TDEIO::listDir(url, true, false); - connect(list_job, TQT_SIGNAL(entries(TDEIO::Job *, const TDEIO::UDSEntryList &)), this, TQT_SLOT(slotGotEntries(TDEIO::Job *, const TDEIO::UDSEntryList &))); - connect(list_job, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(slotJobFinished(TDEIO::Job *))); + connect(list_job, TQ_SIGNAL(entries(TDEIO::Job *, const TDEIO::UDSEntryList &)), this, TQ_SLOT(slotGotEntries(TDEIO::Job *, const TDEIO::UDSEntryList &))); + connect(list_job, TQ_SIGNAL(result(TDEIO::Job *)), this, TQ_SLOT(slotJobFinished(TDEIO::Job *))); m_functions->show("actions"); } diff --git a/konq-plugins/sidebar/newsticker/norsswidget.cpp b/konq-plugins/sidebar/newsticker/norsswidget.cpp index 86aa12c..a96adeb 100644 --- a/konq-plugins/sidebar/newsticker/norsswidget.cpp +++ b/konq-plugins/sidebar/newsticker/norsswidget.cpp @@ -44,7 +44,7 @@ namespace KSB_News { KPushButton *btn = new KPushButton(i18n("&Configure"), this); btn->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Minimum); - connect(btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotBtnClicked())); + connect(btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotBtnClicked())); topLayout->addWidget(btn, 0, TQt::AlignHCenter); topLayout->addStretch(); @@ -69,8 +69,8 @@ namespace KSB_News { // User edited the configuration - update your local copies of the // configuration data - connect(m_confdlg, TQT_SIGNAL(settingsChanged()), this, - TQT_SLOT(slotConfigure_okClicked())); + connect(m_confdlg, TQ_SIGNAL(settingsChanged()), this, + TQ_SLOT(slotConfigure_okClicked())); m_confdlg->show(); } diff --git a/konq-plugins/sidebar/newsticker/nspanel.cpp b/konq-plugins/sidebar/newsticker/nspanel.cpp index 707ba71..88dbe8c 100644 --- a/konq-plugins/sidebar/newsticker/nspanel.cpp +++ b/konq-plugins/sidebar/newsticker/nspanel.cpp @@ -86,7 +86,7 @@ namespace KSB_News { // updating of RSS documents m_timeoutinterval = 10 * 60 * 1000; // 10 mins m_timer = new TQTimer(this); - connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(refresh())); + connect(m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(refresh())); m_timer->start(m_timeoutinterval); refresh(); } diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp index 8ee0c78..bd1c35d 100644 --- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp +++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp @@ -84,19 +84,19 @@ namespace KSB_News { popup = new TDEPopupMenu(this); popup->insertItem(KStdGuiItem::configure().iconSet(), i18n("&Configure Newsticker..."), this, - TQT_SLOT(slotConfigure())); + TQ_SLOT(slotConfigure())); popup->insertItem(SmallIconSet("reload"), i18n("&Reload"), this, - TQT_SLOT(slotRefresh())); + TQ_SLOT(slotRefresh())); popup->insertItem(KStdGuiItem::close().iconSet(), - KStdGuiItem::close().text(), this, TQT_SLOT(slotClose())); + KStdGuiItem::close().text(), this, TQ_SLOT(slotClose())); popup->insertSeparator(); // help menu helpmenu = new TDEPopupMenu(this); helpmenu->insertItem(appIcon, i18n("&About Newsticker"), this, - TQT_SLOT(slotShowAbout())); + TQ_SLOT(slotShowAbout())); helpmenu->insertItem(i18n("&Report Bug..."), this, - TQT_SLOT(slotShowBugreport())); + TQ_SLOT(slotShowBugreport())); popup->insertItem(KStdGuiItem::help().iconSet(), KStdGuiItem::help().text(), helpmenu); @@ -115,7 +115,7 @@ namespace KSB_News { button->width() - 4 )); button->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Preferred)); - connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(buttonClicked())); + connect(button, TQ_SIGNAL(clicked()), this, TQ_SLOT(buttonClicked())); TQToolTip::add(button, nsp->title()); // eventFiler for the title button @@ -258,8 +258,8 @@ namespace KSB_News { // User edited the configuration - update your local copies of the // configuration data - connect(m_confdlg, TQT_SIGNAL(settingsChanged()), this, - TQT_SLOT(slotConfigure_okClicked())); + connect(m_confdlg, TQ_SIGNAL(settingsChanged()), this, + TQ_SLOT(slotConfigure_okClicked())); m_confdlg->show(); } diff --git a/konq-plugins/sidebar/newsticker/sidebar_news.cpp b/konq-plugins/sidebar/newsticker/sidebar_news.cpp index 6faaba5..f2c33fe 100644 --- a/konq-plugins/sidebar/newsticker/sidebar_news.cpp +++ b/konq-plugins/sidebar/newsticker/sidebar_news.cpp @@ -164,19 +164,19 @@ namespace KSB_News { if (! nspanel->listbox()) { TTListBox *listbox = new TTListBox(newswidget, "article_lb"); newswidget->addStackTab(nspanel, listbox); - connect(listbox, TQT_SIGNAL(executed(TQListBoxItem *)), - this, TQT_SLOT(slotArticleItemExecuted(TQListBoxItem *))); + connect(listbox, TQ_SIGNAL(executed(TQListBoxItem *)), + this, TQ_SLOT(slotArticleItemExecuted(TQListBoxItem *))); listbox->insertItem(i18n("Connecting..." )); nspanel->setListbox(listbox); } // listen to updates - connect(nspanel, TQT_SIGNAL(documentUpdated(NSPanel *)), - this, TQT_SLOT(updateArticles(NSPanel *))); - connect(nspanel, TQT_SIGNAL(documentUpdated(NSPanel *)), - this, TQT_SLOT(updateTitle(NSPanel *))); - connect(nspanel, TQT_SIGNAL(pixmapUpdated(NSPanel *)), - this, TQT_SLOT(updatePixmap(NSPanel *))); + connect(nspanel, TQ_SIGNAL(documentUpdated(NSPanel *)), + this, TQ_SLOT(updateArticles(NSPanel *))); + connect(nspanel, TQ_SIGNAL(documentUpdated(NSPanel *)), + this, TQ_SLOT(updateTitle(NSPanel *))); + connect(nspanel, TQ_SIGNAL(pixmapUpdated(NSPanel *)), + this, TQ_SLOT(updatePixmap(NSPanel *))); if (widgets->visibleWidget() != newswidget) widgets->raiseWidget(newswidget); |