@ -323,7 +323,7 @@ void KSystemLog::setupActions() {
//TODO Find a solution to display at the right place this action (see Akregator interface)
filterBarAction = new KToggleAction ( i18n ( " Show &Filter Bar " ) , TQString ( ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleFilterBar ( ) ) , actionCollection ( ) , " toggle_filter_bar " ) ;
# if defined( KDE_MAKE_VERSION) && TDE_VERSION >= K DE_MAKE_VERSION(3,3,0)
# if defined( TDE_MAKE_VERSION) && TDE_VERSION >= T DE_MAKE_VERSION(3,3,0)
filterBarAction - > setEnabled ( true ) ;
# else
filterBarAction - > setEnabled ( false ) ;
@ -393,7 +393,7 @@ void KSystemLog::setupActions() {
void KSystemLog : : setupLogActions ( ) {
//Define a macro allowing the connection of the signal from log action to the slotLogAction object
# if defined( KDE_MAKE_VERSION) && TDE_VERSION >= K DE_MAKE_VERSION(3,4,0)
# if defined( TDE_MAKE_VERSION) && TDE_VERSION >= T DE_MAKE_VERSION(3,4,0)
# define CONNECTED_SLOT(action) connect(action, TQT_SIGNAL(activated(KAction::ActivationReason, TQt::ButtonState)), slotLogAction, TQT_SLOT(slotLogAction(KAction::ActivationReason, TQt::ButtonState)));
# else
# define CONNECTED_SLOT(action) connect(action, TQT_SIGNAL(activated()), slotLogAction, TQT_SLOT(slotLogAction()));
@ -678,7 +678,7 @@ LogManager* KSystemLog::newTab() {
tabs - > insertTab ( manager - > getView ( ) , SmallIcon ( NO_MODE_ICON ) , i18n ( " No Log " ) ) ;
# if defined( KDE_MAKE_VERSION) && TDE_VERSION >= K DE_MAKE_VERSION(3,4,0)
# if defined( TDE_MAKE_VERSION) && TDE_VERSION >= T DE_MAKE_VERSION(3,4,0)
if ( tabs - > count ( ) > 1 ) {
tabs - > setTabBarHidden ( false ) ;
}
@ -776,7 +776,7 @@ void KSystemLog::closeTab() {
}
*/
# if defined( KDE_MAKE_VERSION) && TDE_VERSION >= K DE_MAKE_VERSION(3,4,0)
# if defined( TDE_MAKE_VERSION) && TDE_VERSION >= T DE_MAKE_VERSION(3,4,0)
if ( tabs - > count ( ) = = 1 ) {
tabs - > setTabBarHidden ( true ) ;
}
@ -937,7 +937,7 @@ KToggleAction* KSystemLog::getLogAction(const char* name) {
return ( static_cast < KToggleAction * > ( actionCollection ( ) - > action ( name ) ) ) ;
}
# if defined( KDE_MAKE_VERSION) && TDE_VERSION >= K DE_MAKE_VERSION(3,4,0)
# if defined( TDE_MAKE_VERSION) && TDE_VERSION >= T DE_MAKE_VERSION(3,4,0)
void KSystemLog : : logActionClicked ( const TQObject * sender , KAction : : ActivationReason reason , TQt : : ButtonState state ) {
# else
void KSystemLog : : logActionClicked ( const TQObject * sender ) {
@ -954,7 +954,7 @@ void KSystemLog::logActionClicked(const TQObject* sender) {
//TODO Be sure that the + is the right symbol to combine TQt Constants
//If the user uses the middle button OR left button + shift OR left button + control : = it opens the log in a new tab
# if defined( KDE_MAKE_VERSION) && TDE_VERSION >= K DE_MAKE_VERSION(3,4,0)
# if defined( TDE_MAKE_VERSION) && TDE_VERSION >= T DE_MAKE_VERSION(3,4,0)
if ( state = = Qt : : MidButton | | ( state = = TQt : : ControlButton + Qt : : LeftButton ) | | ( state = = TQt : : ShiftButton + Qt : : LeftButton ) )
newTab ( ) ;
# endif