diff options
Diffstat (limited to 'src/knutmainwindow.cpp')
-rw-r--r-- | src/knutmainwindow.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/knutmainwindow.cpp b/src/knutmainwindow.cpp index 2f2537f..4e4791f 100644 --- a/src/knutmainwindow.cpp +++ b/src/knutmainwindow.cpp @@ -588,7 +588,7 @@ void KNutMainWindow::hideConnectPB ( void ) { /*********************************************************************************************/ -//this TQT_SLOT is for older KDE only +//this slot is for older KDE only void KNutMainWindow::slotShowToolBar(void) { if(toolBar("mainToolBar")->isVisible()) toolBar("mainToolBar")->hide(); @@ -728,7 +728,7 @@ void KNutMainWindow::initToolBar ( void ) { TQLabel *upsNazev = new TQLabel ("UPS : ",toolBar("mainToolBar")); // upsNazev is connected on toolBaar, dosn't need to call desctructor toolBar ("mainToolBar")->insertWidget (0,upsNazev->sizeHint().width(),upsNazev); - toolBar ("mainToolBar")->insertCombo("",1,false, TQT_SIGNAL (activated (const TQString &)),this, TQT_SLOT (slotChangeUPS (const TQString &))); + toolBar ("mainToolBar")->insertCombo("",1,false, TQ_SIGNAL (activated (const TQString &)),this, TQ_SLOT (slotChangeUPS (const TQString &))); // bude se pouze vybirat-------------------^^^ KComboBox *combo = toolBar("mainToolBar")->getCombo(1); combo->clear(); @@ -741,16 +741,16 @@ void KNutMainWindow::initToolBar ( void ) { void KNutMainWindow::initAction ( void ) { // TDEAction and KStdAction must be to make before command createGUI, function initToolBar is runed after create GUI - m_quit = KStdAction::quit (this, TQT_SLOT (slotCloseKnutClient()), actionCollection()); + m_quit = KStdAction::quit (this, TQ_SLOT (slotCloseKnutClient()), actionCollection()); m_quit->setStatusText(i18n("Quits the application")); - m_preferencesUps = KStdAction::preferences (this, TQT_SLOT (slotPreferencesUps()), actionCollection(),"options_configure"); - new TDEAction(i18n("&Showing UPS variables and commands"),0,this, TQT_SLOT(slotPrintUPSVars()),actionCollection(),"printupsvars"); - new TDEAction(i18n("&Running instant commands"),0,this, TQT_SLOT(slotInstComms()),actionCollection(),"instcomms"); - new TDEAction(i18n("Setting R&W variables"),0,this, TQT_SLOT(slotRWVars()),actionCollection(),"rwvars"); + m_preferencesUps = KStdAction::preferences (this, TQ_SLOT (slotPreferencesUps()), actionCollection(),"options_configure"); + new TDEAction(i18n("&Showing UPS variables and commands"),0,this, TQ_SLOT(slotPrintUPSVars()),actionCollection(),"printupsvars"); + new TDEAction(i18n("&Running instant commands"),0,this, TQ_SLOT(slotInstComms()),actionCollection(),"instcomms"); + new TDEAction(i18n("Setting R&W variables"),0,this, TQ_SLOT(slotRWVars()),actionCollection(),"rwvars"); /////////////////// -// KStdAction::showToolbar (this, TQT_SLOT (slotShowToolBar()), actionCollection()); +// KStdAction::showToolbar (this, TQ_SLOT (slotShowToolBar()), actionCollection()); // setStandardToolBarMenuEnabled(true); since KDE version 3.1 // since version 3.1 @@ -760,25 +760,25 @@ void KNutMainWindow::initAction ( void ) { #if TDE_VERSION_MINOR >= 1 setStandardToolBarMenuEnabled(true); #else - KStdAction::showToolbar (this, TQT_SLOT (slotShowToolBar()), actionCollection()); + KStdAction::showToolbar (this, TQ_SLOT (slotShowToolBar()), actionCollection()); #endif #else - KStdAction::showToolbar (this, TQT_SLOT (slotShowToolBar()), actionCollection()); + KStdAction::showToolbar (this, TQ_SLOT (slotShowToolBar()), actionCollection()); #endif #else - KStdAction::showToolbar (this, TQT_SLOT (slotShowToolBar()), actionCollection()); + KStdAction::showToolbar (this, TQ_SLOT (slotShowToolBar()), actionCollection()); #endif #else - KStdAction::showToolbar (this, TQT_SLOT (slotShowToolBar()), actionCollection()); + KStdAction::showToolbar (this, TQ_SLOT (slotShowToolBar()), actionCollection()); #endif - KStdAction::showStatusbar (this, TQT_SLOT (slotShowStatusBar()), actionCollection()); + KStdAction::showStatusbar (this, TQ_SLOT (slotShowStatusBar()), actionCollection()); - m_descriptionAction = new TDEToggleAction(i18n("&Using descriptions"),0,this, TQT_SLOT(slotDescription()),actionCollection(),"use_description"); + m_descriptionAction = new TDEToggleAction(i18n("&Using descriptions"),0,this, TQ_SLOT(slotDescription()),actionCollection(),"use_description"); - KStdAction::keyBindings( this, TQT_SLOT(slotConfigureKeys()),actionCollection()); - new TDEAction (i18n("Reconnect"),"reload",Key_F5,this, TQT_SLOT(slotRefreshConnection()),actionCollection(),"reconnect"); + KStdAction::keyBindings( this, TQ_SLOT(slotConfigureKeys()),actionCollection()); + new TDEAction (i18n("Reconnect"),"reload",Key_F5,this, TQ_SLOT(slotRefreshConnection()),actionCollection(),"reconnect"); } void KNutMainWindow::initVars ( void ) { |