summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/kbbmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/gui/kbbmainwindow.cpp')
-rw-r--r--kbugbuster/gui/kbbmainwindow.cpp96
1 files changed, 48 insertions, 48 deletions
diff --git a/kbugbuster/gui/kbbmainwindow.cpp b/kbugbuster/gui/kbbmainwindow.cpp
index e1805632..57c1ec30 100644
--- a/kbugbuster/gui/kbbmainwindow.cpp
+++ b/kbugbuster/gui/kbbmainwindow.cpp
@@ -113,20 +113,20 @@ KBBMainWindow::KBBMainWindow( const TQCString &initialPackage,
m_progressBar->setMinimumWidth( 150 );
m_progressBar->setMaximumHeight( statusBar()->fontMetrics().height() + 6 );
statusBar()->addWidget( m_progressBar );
- connect( m_mainWidget, TQT_SIGNAL( resetProgressBar() ),
- m_progressBar, TQT_SLOT( reset() ) );
- connect( m_mainWidget, TQT_SIGNAL( searchPackage() ),
- this, TQT_SLOT( searchPackage() ) );
- connect( m_mainWidget, TQT_SIGNAL( searchBugNumber() ),
- this, TQT_SLOT( searchBugNumber() ) );
+ connect( m_mainWidget, TQ_SIGNAL( resetProgressBar() ),
+ m_progressBar, TQ_SLOT( reset() ) );
+ connect( m_mainWidget, TQ_SIGNAL( searchPackage() ),
+ this, TQ_SLOT( searchPackage() ) );
+ connect( m_mainWidget, TQ_SIGNAL( searchBugNumber() ),
+ this, TQ_SLOT( searchBugNumber() ) );
- connect( BugSystem::self(), TQT_SIGNAL( infoMessage( const TQString & ) ),
- TQT_SLOT( slotStatusMsg( const TQString & ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( infoMessage( const TQString & ) ),
+ TQ_SLOT( slotStatusMsg( const TQString & ) ) );
- connect( BugSystem::self(), TQT_SIGNAL( infoMessage( const TQString & ) ),
- TQT_SLOT( slotStatusMsg( const TQString & ) ) );
- connect( BugSystem::self(), TQT_SIGNAL( infoPercent( unsigned long ) ),
- TQT_SLOT( slotSetPercent( unsigned long ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( infoMessage( const TQString & ) ),
+ TQ_SLOT( slotStatusMsg( const TQString & ) ) );
+ connect( BugSystem::self(), TQ_SIGNAL( infoPercent( unsigned long ) ),
+ TQ_SLOT( slotSetPercent( unsigned long ) ) );
m_mainWidget->readConfig();
}
@@ -145,60 +145,60 @@ void KBBMainWindow::initActions()
{
// Prepare and create XML GUI
fileQuit = KStdAction::quit( this,
- TQT_SLOT( close() ), actionCollection() );
+ TQ_SLOT( close() ), actionCollection() );
fileQuit->setToolTip( i18n( "Quit KBugBuster" ) );
- new TDEAction( i18n("See &Pending Changes"), "contents", 0, this, TQT_SLOT( slotListChanges() ),
+ new TDEAction( i18n("See &Pending Changes"), "contents", 0, this, TQ_SLOT( slotListChanges() ),
actionCollection(), "file_seechanges" );
- new TDEAction( i18n("&Submit Changes"), "mail-send", 0, this, TQT_SLOT( slotSubmit() ),
+ new TDEAction( i18n("&Submit Changes"), "mail-send", 0, this, TQ_SLOT( slotSubmit() ),
actionCollection(), "file_submit" );
- reloadpacklist = new TDEAction( i18n("Reload &Product List"), "reload", CTRL+TQt::Key_F5, m_mainWidget, TQT_SLOT( slotReloadPackageList() ),
+ reloadpacklist = new TDEAction( i18n("Reload &Product List"), "reload", CTRL+TQt::Key_F5, m_mainWidget, TQ_SLOT( slotReloadPackageList() ),
actionCollection(), "reload_packagelist" );
- reloadpack= new TDEAction( i18n("Reload Bug &List (for current product)"), "reload", TQt::Key_F5, m_mainWidget, TQT_SLOT( slotReloadPackage() ),
+ reloadpack= new TDEAction( i18n("Reload Bug &List (for current product)"), "reload", TQt::Key_F5, m_mainWidget, TQ_SLOT( slotReloadPackage() ),
actionCollection(), "reload_package" );
- reloadbug = new TDEAction( i18n("Reload Bug &Details (for current bug)"), "reload", SHIFT+TQt::Key_F5, m_mainWidget, TQT_SLOT( slotReloadBug() ),
+ reloadbug = new TDEAction( i18n("Reload Bug &Details (for current bug)"), "reload", SHIFT+TQt::Key_F5, m_mainWidget, TQ_SLOT( slotReloadBug() ),
actionCollection(), "reload_bug" );
- loadMyBugs = new TDEAction( i18n( "Load &My Bugs List" ), 0, m_mainWidget, TQT_SLOT( slotLoadMyBugs() ),
+ loadMyBugs = new TDEAction( i18n( "Load &My Bugs List" ), 0, m_mainWidget, TQ_SLOT( slotLoadMyBugs() ),
actionCollection(), "load_my_bugs" );
- reloadall = new TDEAction( i18n("Load All Bug Details (for current product)"), TQt::Key_F6, m_mainWidget, TQT_SLOT( slotRetrieveAllBugDetails() ), actionCollection(), "load_allbugs" );
- new TDEAction( i18n("Extract &Attachments"), "document-save", TQt::Key_F4, m_mainWidget, TQT_SLOT( slotExtractAttachments() ),
+ reloadall = new TDEAction( i18n("Load All Bug Details (for current product)"), TQt::Key_F6, m_mainWidget, TQ_SLOT( slotRetrieveAllBugDetails() ), actionCollection(), "load_allbugs" );
+ new TDEAction( i18n("Extract &Attachments"), "document-save", TQt::Key_F4, m_mainWidget, TQ_SLOT( slotExtractAttachments() ),
actionCollection(), "extract_attachments" );
- new TDEAction( i18n("Clear Cache"), 0, this, TQT_SLOT( clearCache() ),
+ new TDEAction( i18n("Clear Cache"), 0, this, TQ_SLOT( clearCache() ),
actionCollection(), "clear_cache" );
new TDEAction( i18n("&Search by Product..."), "goto", CTRL+TQt::Key_P, this,
- TQT_SLOT( searchPackage() ), actionCollection(), "search_package" );
+ TQ_SLOT( searchPackage() ), actionCollection(), "search_package" );
new TDEAction( i18n("Search by Bug &Number..."), "filefind", CTRL+TQt::Key_N, this,
- TQT_SLOT( searchBugNumber() ), actionCollection(), "search_bugnumber" );
+ TQ_SLOT( searchBugNumber() ), actionCollection(), "search_bugnumber" );
// For now "Description" searches by title. Maybe later we can have a
// full-text search interfacing bugs.trinitydesktop.org and rename the current one to "By Title".
new TDEAction( i18n("Search by &Description...") ,"edit-find", CTRL+TQt::Key_D, this,
- TQT_SLOT( searchDescription() ), actionCollection(), "search_description" );
+ TQ_SLOT( searchDescription() ), actionCollection(), "search_description" );
// new TDEAction( i18n("&Merge"), "view_remove", CTRL+TQt::Key_M, m_mainWidget,
-// TQT_SLOT( mergeBugs() ), actionCollection(), "cmd_merge" );
+// TQ_SLOT( mergeBugs() ), actionCollection(), "cmd_merge" );
// new TDEAction( i18n("&Unmerge"), "view_top_bottom", CTRL+SHIFT+TQt::Key_M, m_mainWidget,
-// TQT_SLOT( unmergeBugs() ), actionCollection(), "cmd_unmerge" );
+// TQ_SLOT( unmergeBugs() ), actionCollection(), "cmd_unmerge" );
new TDEAction( i18n("C&lose..."), "edittrash", CTRL+TQt::Key_L, m_mainWidget,
- TQT_SLOT( closeBug() ), actionCollection(), "cmd_close" );
+ TQ_SLOT( closeBug() ), actionCollection(), "cmd_close" );
// new TDEAction( i18n("Clos&e Silently"), "edittrash", CTRL+TQt::Key_E, m_mainWidget,
-// TQT_SLOT( closeBugSilently() ), actionCollection(), "cmd_close_silently" );
+// TQ_SLOT( closeBugSilently() ), actionCollection(), "cmd_close_silently" );
new TDEAction( i18n("Re&open"), "idea", CTRL+TQt::Key_O, m_mainWidget,
- TQT_SLOT( reopenBug() ), actionCollection(), "cmd_reopen" );
+ TQ_SLOT( reopenBug() ), actionCollection(), "cmd_reopen" );
// new TDEAction( i18n("Re&assign..."), "folder-new", CTRL+TQt::Key_A, m_mainWidget,
-// TQT_SLOT( reassignBug() ), actionCollection(), "cmd_reassign" );
+// TQ_SLOT( reassignBug() ), actionCollection(), "cmd_reassign" );
// new TDEAction( i18n("Change &Title..."), "format-text-underline", CTRL+TQt::Key_T, m_mainWidget,
-// TQT_SLOT( titleBug() ), actionCollection(), "cmd_title" );
+// TQ_SLOT( titleBug() ), actionCollection(), "cmd_title" );
// new TDEAction( i18n("Change &Severity..."), "edit", CTRL+TQt::Key_S, m_mainWidget,
-// TQT_SLOT( severityBug() ), actionCollection(), "cmd_severity" );
+// TQ_SLOT( severityBug() ), actionCollection(), "cmd_severity" );
new TDEAction( i18n("&Reply..."), "mail-reply-all",CTRL+TQt::Key_R , m_mainWidget,
- TQT_SLOT( replyBug() ), actionCollection(), "cmd_reply" );
+ TQ_SLOT( replyBug() ), actionCollection(), "cmd_reply" );
new TDEAction( i18n("Reply &Privately..."), "mail-reply-sender", CTRL+TQt::Key_I, m_mainWidget,
- TQT_SLOT( replyPrivateBug() ), actionCollection(), "cmd_replyprivate" );
+ TQ_SLOT( replyPrivateBug() ), actionCollection(), "cmd_replyprivate" );
- KStdAction::showMenubar(this, TQT_SLOT( slotToggleMenubar() ), actionCollection() );
+ KStdAction::showMenubar(this, TQ_SLOT( slotToggleMenubar() ), actionCollection() );
#if KDE_IS_VERSION( 3, 1, 90 )
createStandardStatusBarAction();
setStandardToolBarMenuEnabled(true);
@@ -206,7 +206,7 @@ void KBBMainWindow::initActions()
m_disconnectedAction = new TDEToggleAction( i18n("&Disconnected Mode"), 0,
this,
- TQT_SLOT( slotDisconnectedAction() ),
+ TQ_SLOT( slotDisconnectedAction() ),
actionCollection(),
"settings_disconnected" );
m_disconnectedAction->setChecked( BugSystem::self()->disconnected() );
@@ -215,16 +215,16 @@ void KBBMainWindow::initActions()
m_pamBookmarks = new TDEActionMenu( i18n( "&Bookmarks" ), "bookmark", actionCollection(), "bookmarks" );
m_pBookmarkMenu = new KBookmarkMenu( KBBBookmarkManager::self(), this, m_pamBookmarks->popupMenu(), actionCollection(), true );
- KStdAction::preferences( this, TQT_SLOT(preferences()), actionCollection() );
+ KStdAction::preferences( this, TQ_SLOT(preferences()), actionCollection() );
- TDEToggleAction *toggleTmp = new TDEToggleAction( i18n("Show Closed Bugs"), "application-x-trash", 0, this, TQT_SLOT( slotToggleDone() ),
+ TDEToggleAction *toggleTmp = new TDEToggleAction( i18n("Show Closed Bugs"), "application-x-trash", 0, this, TQ_SLOT( slotToggleDone() ),
actionCollection(), "cmd_toggle_done" );
#if KDE_IS_VERSION( 3, 2, 90 )
toggleTmp->setCheckedState(i18n("Hide Closed Bugs"));
#endif
toggleTmp->setChecked( KBBPrefs::instance()->mShowClosedBugs );
- toggleTmp =new TDEToggleAction( i18n("Show Wishes"), "bookmark", 0, this, TQT_SLOT( slotToggleWishes() ),
+ toggleTmp =new TDEToggleAction( i18n("Show Wishes"), "bookmark", 0, this, TQ_SLOT( slotToggleWishes() ),
actionCollection(), "cmd_toggle_wishes" );
#if KDE_IS_VERSION( 3, 2, 90 )
toggleTmp->setCheckedState(i18n("Hide Wishes"));
@@ -233,7 +233,7 @@ void KBBMainWindow::initActions()
mSelectServerAction = new TDESelectAction( i18n( "Select Server" ), 0, 0,
this,
- TQT_SLOT( slotSelectServer() ),
+ TQ_SLOT( slotSelectServer() ),
actionCollection(),
"select_server" );
@@ -241,10 +241,10 @@ void KBBMainWindow::initActions()
if ( KBBPrefs::instance()->mDebugMode ) {
new TDEAction( i18n("Show Last Server Response..."), 0 , this,
- TQT_SLOT( showLastResponse() ), actionCollection(),
+ TQ_SLOT( showLastResponse() ), actionCollection(),
"debug_lastresponse" );
new TDEAction( i18n("Show Bug HTML Source..."), 0 , this,
- TQT_SLOT( showBugSource() ), actionCollection(),
+ TQ_SLOT( showBugSource() ), actionCollection(),
"debug_showbugsource" );
}
@@ -308,7 +308,7 @@ void KBBMainWindow::openBookmarkURL( const TQString & url )
}
}
-// --- TQT_SLOT IMPLEMENTATIONS -------------------------------------------------
+// --- SLOT IMPLEMENTATIONS -------------------------------------------------
void KBBMainWindow::slotDisconnectedAction()
{
@@ -432,10 +432,10 @@ void KBBMainWindow::preferences()
{
if (!mPreferencesDialog) {
mPreferencesDialog = new PreferencesDialog(this);
- connect( mPreferencesDialog, TQT_SIGNAL( configChanged() ),
- TQT_SLOT( setupSelectServerAction() ) );
- connect( mPreferencesDialog, TQT_SIGNAL( configChanged() ),
- m_mainWidget, TQT_SLOT( slotReloadPackage() ) );
+ connect( mPreferencesDialog, TQ_SIGNAL( configChanged() ),
+ TQ_SLOT( setupSelectServerAction() ) );
+ connect( mPreferencesDialog, TQ_SIGNAL( configChanged() ),
+ m_mainWidget, TQ_SLOT( slotReloadPackage() ) );
}
mPreferencesDialog->show();
mPreferencesDialog->raise();