@ -60,7 +60,7 @@
# endif
KonversationMainWindow : : KonversationMainWindow ( ) : K MainWindow( 0 , " main_window " , WStyle_ContextHelp | WType_TopLevel | WDestructiveClose )
KonversationMainWindow : : KonversationMainWindow ( ) : TDE MainWindow( 0 , " main_window " , WStyle_ContextHelp | WType_TopLevel | WDestructiveClose )
{
m_hasDirtySettings = false ;
m_closeApp = false ;
@ -123,98 +123,98 @@ KonversationMainWindow::KonversationMainWindow() : KMainWindow(0,"main_window",
KStdAction : : configureToolbars ( TQT_TQOBJECT ( this ) , TQT_SLOT ( configureToolbar ( ) ) , actionCollection ( ) ) ;
KStdAction : : keyBindings ( TQT_TQOBJECT ( this ) , TQT_SLOT ( openKeyBindings ( ) ) , actionCollection ( ) ) ;
K Action * preferencesAction = KStdAction : : preferences ( TQT_TQOBJECT ( this ) , TQT_SLOT ( openPrefsDialog ( ) ) , actionCollection ( ) ) ;
TDE Action * preferencesAction = KStdAction : : preferences ( TQT_TQOBJECT ( this ) , TQT_SLOT ( openPrefsDialog ( ) ) , actionCollection ( ) ) ;
# ifdef USE_KNOTIFY // options_configure_notifications
K Action * configureNotificationsAction = KStdAction : : configureNotifications ( TQT_TQOBJECT ( this ) , TQT_SLOT ( openNotifications ( ) ) , actionCollection ( ) ) ;
TDE Action * configureNotificationsAction = KStdAction : : configureNotifications ( TQT_TQOBJECT ( this ) , TQT_SLOT ( openNotifications ( ) ) , actionCollection ( ) ) ;
# endif
K Action* action ;
TDE Action* action ;
( new K Action( i18n ( " &Server List... " ) , " server " , K Shortcut( " F2 " ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( openServerList ( ) ) ,
( new TDE Action( i18n ( " &Server List... " ) , " server " , TDE Shortcut( " F2 " ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( openServerList ( ) ) ,
actionCollection ( ) , " open_server_list " ) ) - > setToolTip ( i18n ( " Manage networks and servers " ) ) ;
( new K Action( i18n ( " Quick &Connect... " ) , " connect_creating " , K Shortcut( " F7 " ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( openQuickConnectDialog ( ) ) ,
( new TDE Action( i18n ( " Quick &Connect... " ) , " connect_creating " , TDE Shortcut( " F7 " ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( openQuickConnectDialog ( ) ) ,
actionCollection ( ) , " quick_connect_dialog " ) ) - > setToolTip ( i18n ( " Type in the address of a new IRC server to connect to " ) ) ;
action = new K Action( i18n ( " &Reconnect " ) , " connect_creating " , 0 , m_viewContainer , TQT_SLOT ( reconnectFrontServer ( ) ) , actionCollection ( ) , " reconnect_server " ) ;
action = new TDE Action( i18n ( " &Reconnect " ) , " connect_creating " , 0 , m_viewContainer , TQT_SLOT ( reconnectFrontServer ( ) ) , actionCollection ( ) , " reconnect_server " ) ;
action - > setEnabled ( false ) ;
action - > setToolTip ( i18n ( " Reconnect to the current server. " ) ) ;
action = new K Action( i18n ( " &Disconnect " ) , " connect_no " , 0 , m_viewContainer , TQT_SLOT ( disconnectFrontServer ( ) ) , actionCollection ( ) , " disconnect_server " ) ;
action = new TDE Action( i18n ( " &Disconnect " ) , " connect_no " , 0 , m_viewContainer , TQT_SLOT ( disconnectFrontServer ( ) ) , actionCollection ( ) , " disconnect_server " ) ;
action - > setEnabled ( false ) ;
action - > setToolTip ( i18n ( " Disconnect from the current server. " ) ) ;
( new K Action( i18n ( " &Identities... " ) , " identity " , K Shortcut( " F8 " ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( openIdentitiesDialog ( ) ) ,
( new TDE Action( i18n ( " &Identities... " ) , " identity " , TDE Shortcut( " F8 " ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( openIdentitiesDialog ( ) ) ,
actionCollection ( ) , " identities_dialog " ) ) - > setToolTip ( i18n ( " Manage your nick, away and other identity settings " ) ) ;
new K ToggleAction( i18n ( " &Watched Nicks Online " ) , " kontact_contacts " , K Shortcut( " F4 " ) , m_viewContainer , TQT_SLOT ( openNicksOnlinePanel ( ) ) , actionCollection ( ) , " open_nicksonline_window " ) ;
new K ToggleAction( i18n ( " &DCC Status " ) , " 2rightarrow " , K Shortcut( " F9 " ) , m_viewContainer , TQT_SLOT ( toggleDccPanel ( ) ) , actionCollection ( ) , " open_dccstatus_window " ) ;
action = new K Action( i18n ( " &Open Logfile " ) , " history " , K Shortcut( " Ctrl+O " ) , m_viewContainer , TQT_SLOT ( openLogFile ( ) ) , actionCollection ( ) , " open_logfile " ) ;
new TDE ToggleAction( i18n ( " &Watched Nicks Online " ) , " kontact_contacts " , TDE Shortcut( " F4 " ) , m_viewContainer , TQT_SLOT ( openNicksOnlinePanel ( ) ) , actionCollection ( ) , " open_nicksonline_window " ) ;
new TDE ToggleAction( i18n ( " &DCC Status " ) , " 2rightarrow " , TDE Shortcut( " F9 " ) , m_viewContainer , TQT_SLOT ( toggleDccPanel ( ) ) , actionCollection ( ) , " open_dccstatus_window " ) ;
action = new TDE Action( i18n ( " &Open Logfile " ) , " history " , TDE Shortcut( " Ctrl+O " ) , m_viewContainer , TQT_SLOT ( openLogFile ( ) ) , actionCollection ( ) , " open_logfile " ) ;
action - > setEnabled ( false ) ;
action - > setToolTip ( i18n ( " Open the known history for this channel in a new tab " ) ) ;
action = new K Action( i18n ( " &Channel Settings... " ) , " edit " , m_viewContainer , TQT_SLOT ( openChannelSettings ( ) ) , actionCollection ( ) , " channel_settings " ) ;
action = new TDE Action( i18n ( " &Channel Settings... " ) , " edit " , m_viewContainer , TQT_SLOT ( openChannelSettings ( ) ) , actionCollection ( ) , " channel_settings " ) ;
action - > setEnabled ( false ) ;
action - > setToolTip ( i18n ( " Open the channel settings dialog for this tab " ) ) ;
KToggleAction* channelListAction = new K ToggleAction( i18n ( " Channel &List " ) , " view_text " , K Shortcut( " F5 " ) , m_viewContainer , TQT_SLOT ( openChannelList ( ) ) , actionCollection ( ) , " open_channel_list " ) ;
TDEToggleAction* channelListAction = new TDE ToggleAction( i18n ( " Channel &List " ) , " view_text " , TDE Shortcut( " F5 " ) , m_viewContainer , TQT_SLOT ( openChannelList ( ) ) , actionCollection ( ) , " open_channel_list " ) ;
channelListAction - > setEnabled ( false ) ;
channelListAction - > setToolTip ( i18n ( " Show a list of all the known channels on this server " ) ) ;
action = new K ToggleAction( i18n ( " &URL Catcher " ) , " enhanced_browsing " , K Shortcut( " F6 " ) , m_viewContainer , TQT_SLOT ( addUrlCatcher ( ) ) , actionCollection ( ) , " open_url_catcher " ) ;
action = new TDE ToggleAction( i18n ( " &URL Catcher " ) , " enhanced_browsing " , TDE Shortcut( " F6 " ) , m_viewContainer , TQT_SLOT ( addUrlCatcher ( ) ) , actionCollection ( ) , " open_url_catcher " ) ;
action - > setToolTip ( i18n ( " List all URLs that have been mentioned recently in a new tab " ) ) ;
if ( kapp - > authorize ( " shell_access " ) )
{
action = new K Action( i18n ( " New &Konsole " ) , " openterm " , 0 , m_viewContainer , TQT_SLOT ( addKonsolePanel ( ) ) , actionCollection ( ) , " open_konsole " ) ;
action = new TDE Action( i18n ( " New &Konsole " ) , " openterm " , 0 , m_viewContainer , TQT_SLOT ( addKonsolePanel ( ) ) , actionCollection ( ) , " open_konsole " ) ;
action - > setToolTip ( i18n ( " Open a terminal in a new tab " ) ) ;
}
// Actions to navigate through the different pages
KShortcut nextShortcut = K StdAccel: : tabNext ( ) ;
TDEShortcut nextShortcut = TDE StdAccel: : tabNext ( ) ;
nextShortcut . setSeq ( 1 , KKeySequence ( " Alt+Right " ) ) ;
KShortcut prevShortcut = K StdAccel: : tabPrev ( ) ;
TDEShortcut prevShortcut = TDE StdAccel: : tabPrev ( ) ;
prevShortcut . setSeq ( 1 , KKeySequence ( " Alt+Left " ) ) ;
action = new K Action( i18n ( " &Next Tab " ) , TQApplication : : reverseLayout ( ) ? " previous " : " next " ,
action = new TDE Action( i18n ( " &Next Tab " ) , TQApplication : : reverseLayout ( ) ? " previous " : " next " ,
TQApplication : : reverseLayout ( ) ? prevShortcut : nextShortcut ,
m_viewContainer , TQT_SLOT ( showNextView ( ) ) , actionCollection ( ) , " next_tab " ) ;
action - > setEnabled ( false ) ;
action = new K Action( i18n ( " &Previous Tab " ) , TQApplication : : reverseLayout ( ) ? " next " : " previous " ,
action = new TDE Action( i18n ( " &Previous Tab " ) , TQApplication : : reverseLayout ( ) ? " next " : " previous " ,
TQApplication : : reverseLayout ( ) ? nextShortcut : prevShortcut ,
m_viewContainer , TQT_SLOT ( showPreviousView ( ) ) , actionCollection ( ) , " previous_tab " ) ;
action - > setEnabled ( false ) ;
action = new K Action( i18n ( " Close &Tab " ) , " tab_remove " , K Shortcut( " Ctrl+w " ) , m_viewContainer , TQT_SLOT ( closeCurrentView ( ) ) , actionCollection ( ) , " close_tab " ) ;
action = new TDE Action( i18n ( " Close &Tab " ) , " tab_remove " , TDE Shortcut( " Ctrl+w " ) , m_viewContainer , TQT_SLOT ( closeCurrentView ( ) ) , actionCollection ( ) , " close_tab " ) ;
action - > setEnabled ( false ) ;
action = new K Action( i18n ( " Next Active Tab " ) , 0 , K Shortcut( " Ctrl+Alt+Space " ) , m_viewContainer , TQT_SLOT ( showNextActiveView ( ) ) ,
action = new TDE Action( i18n ( " Next Active Tab " ) , 0 , TDE Shortcut( " Ctrl+Alt+Space " ) , m_viewContainer , TQT_SLOT ( showNextActiveView ( ) ) ,
actionCollection ( ) , " next_active_tab " ) ;
action - > setEnabled ( false ) ;
if ( Preferences : : tabPlacement ( ) = = PreferencesBase : : Left )
{
action = new K Action( i18n ( " Move Tab Up " ) , " 1uparrow " , K Shortcut( " Alt+Shift+Left " ) ,
action = new TDE Action( i18n ( " Move Tab Up " ) , " 1uparrow " , TDE Shortcut( " Alt+Shift+Left " ) ,
m_viewContainer , TQT_SLOT ( moveViewLeft ( ) ) , actionCollection ( ) , " move_tab_left " ) ;
action - > setEnabled ( false ) ;
action - > setToolTip ( " Move this tab " ) ;
action = new K Action( i18n ( " Move Tab Down " ) , " 1downarrow " , K Shortcut( " Alt+Shift+Right " ) ,
action = new TDE Action( i18n ( " Move Tab Down " ) , " 1downarrow " , TDE Shortcut( " Alt+Shift+Right " ) ,
m_viewContainer , TQT_SLOT ( moveViewRight ( ) ) , actionCollection ( ) , " move_tab_right " ) ;
action - > setEnabled ( false ) ;
action - > setToolTip ( " Move this tab " ) ;
}
else
{
K Action* action2 ;
TDE Action* action2 ;
if ( TQApplication : : reverseLayout ( ) )
{
action2 = new K Action( i18n ( " Move Tab Right " ) , " 1rightarrow " , K Shortcut( " Alt+Shift+Right " ) ,
action2 = new TDE Action( i18n ( " Move Tab Right " ) , " 1rightarrow " , TDE Shortcut( " Alt+Shift+Right " ) ,
m_viewContainer , TQT_SLOT ( moveViewLeft ( ) ) , actionCollection ( ) , " move_tab_left " ) ;
action = new K Action( i18n ( " Move Tab Left " ) , " 1leftarrow " , K Shortcut( " Alt+Shift+Left " ) ,
action = new TDE Action( i18n ( " Move Tab Left " ) , " 1leftarrow " , TDE Shortcut( " Alt+Shift+Left " ) ,
m_viewContainer , TQT_SLOT ( moveViewRight ( ) ) , actionCollection ( ) , " move_tab_right " ) ;
}
else
{
action = new K Action( i18n ( " Move Tab Left " ) , " 1leftarrow " , K Shortcut( " Alt+Shift+Left " ) ,
action = new TDE Action( i18n ( " Move Tab Left " ) , " 1leftarrow " , TDE Shortcut( " Alt+Shift+Left " ) ,
m_viewContainer , TQT_SLOT ( moveViewLeft ( ) ) , actionCollection ( ) , " move_tab_left " ) ;
action2 = new K Action( i18n ( " Move Tab Right " ) , " 1rightarrow " , K Shortcut( " Alt+Shift+Right " ) ,
action2 = new TDE Action( i18n ( " Move Tab Right " ) , " 1rightarrow " , TDE Shortcut( " Alt+Shift+Right " ) ,
m_viewContainer , TQT_SLOT ( moveViewRight ( ) ) , actionCollection ( ) , " move_tab_right " ) ;
}
@ -224,16 +224,16 @@ KonversationMainWindow::KonversationMainWindow() : KMainWindow(0,"main_window",
action2 - > setToolTip ( " Move this tab " ) ;
}
action = new K Action( i18n ( " Rejoin Channel " ) , 0 , m_viewContainer , TQT_SLOT ( rejoinChannel ( ) ) , actionCollection ( ) , " rejoin_channel " ) ;
action = new TDE Action( i18n ( " Rejoin Channel " ) , 0 , m_viewContainer , TQT_SLOT ( rejoinChannel ( ) ) , actionCollection ( ) , " rejoin_channel " ) ;
action - > setEnabled ( false ) ;
action = new K ToggleAction( i18n ( " Enable Notifications " ) , 0 , 0 , m_viewContainer , TQT_SLOT ( toggleViewNotifications ( ) ) , actionCollection ( ) , " tab_notifications " ) ;
action = new TDE ToggleAction( i18n ( " Enable Notifications " ) , 0 , 0 , m_viewContainer , TQT_SLOT ( toggleViewNotifications ( ) ) , actionCollection ( ) , " tab_notifications " ) ;
action - > setEnabled ( false ) ;
action = new K ToggleAction( i18n ( " Join on Connect " ) , 0 , 0 , m_viewContainer , TQT_SLOT ( toggleAutoJoin ( ) ) , actionCollection ( ) , " tab_autojoin " ) ;
action = new TDE ToggleAction( i18n ( " Join on Connect " ) , 0 , 0 , m_viewContainer , TQT_SLOT ( toggleAutoJoin ( ) ) , actionCollection ( ) , " tab_autojoin " ) ;
action - > setEnabled ( false ) ;
KSelectAction* selectAction = new K SelectAction( i18n ( " Set Encoding " ) , " charset " , 0 , actionCollection ( ) , " tab_encoding " ) ;
TDESelectAction* selectAction = new TDE SelectAction( i18n ( " Set Encoding " ) , " charset " , 0 , actionCollection ( ) , " tab_encoding " ) ;
selectAction - > setEditable ( false ) ;
TQStringList encodingDescs = Konversation : : IRCCharsets : : self ( ) - > availableEncodingDescriptiveNames ( ) ;
encodingDescs . prepend ( i18n ( " Default " ) ) ;
@ -246,26 +246,26 @@ KonversationMainWindow::KonversationMainWindow() : KMainWindow(0,"main_window",
for ( uint i = 1 ; i < = 10 ; + + i )
{
KAction* tabSelectionAction = new K Action( i18n ( " Go to Tab %1 " ) . arg ( i ) , 0 , K Shortcut( TQString ( " Alt+%1 " ) . arg ( i % 10 ) ) ,
TDEAction* tabSelectionAction = new TDE Action( i18n ( " Go to Tab %1 " ) . arg ( i ) , 0 , TDE Shortcut( TQString ( " Alt+%1 " ) . arg ( i % 10 ) ) ,
tabSelectionMapper , TQT_SLOT ( map ( ) ) , actionCollection ( ) , TQString ( " go_to_tab_%1 " ) . arg ( i ) . local8Bit ( ) ) ;
tabSelectionMapper - > setMapping ( tabSelectionAction , i - 1 ) ;
}
action = new K Action( i18n ( " Clear &Marker Lines " ) , 0 , K Shortcut( " CTRL+SHIFT+R " ) , m_viewContainer , TQT_SLOT ( clearViewLines ( ) ) , actionCollection ( ) , " clear_lines " ) ;
action = new TDE Action( i18n ( " Clear &Marker Lines " ) , 0 , TDE Shortcut( " CTRL+SHIFT+R " ) , m_viewContainer , TQT_SLOT ( clearViewLines ( ) ) , actionCollection ( ) , " clear_lines " ) ;
action - > setToolTip ( i18n ( " Clear marker lines in the current tab " ) ) ;
action - > setEnabled ( false ) ;
action = new K Action( i18n ( " &Clear Window " ) , 0 , K Shortcut( " Ctrl+L " ) , m_viewContainer , TQT_SLOT ( clearView ( ) ) , actionCollection ( ) , " clear_window " ) ;
action = new TDE Action( i18n ( " &Clear Window " ) , 0 , TDE Shortcut( " Ctrl+L " ) , m_viewContainer , TQT_SLOT ( clearView ( ) ) , actionCollection ( ) , " clear_window " ) ;
action - > setToolTip ( i18n ( " Clear the contents of the current tab " ) ) ;
action - > setEnabled ( false ) ;
action = new K Action( i18n ( " Clear &All Windows " ) , 0 , K Shortcut( " CTRL+SHIFT+L " ) , m_viewContainer , TQT_SLOT ( clearAllViews ( ) ) , actionCollection ( ) , " clear_tabs " ) ;
action = new TDE Action( i18n ( " Clear &All Windows " ) , 0 , TDE Shortcut( " CTRL+SHIFT+L " ) , m_viewContainer , TQT_SLOT ( clearAllViews ( ) ) , actionCollection ( ) , " clear_tabs " ) ;
action - > setToolTip ( i18n ( " Clear the contents of all open tabs " ) ) ;
action - > setEnabled ( false ) ;
KToggleAction* awayAction = new K ToggleAction( i18n ( " Global Away " ) , K Shortcut( " Ctrl+Shift+A " ) , actionCollection ( ) , " toggle_away " ) ;
TDEToggleAction* awayAction = new TDE ToggleAction( i18n ( " Global Away " ) , TDE Shortcut( " Ctrl+Shift+A " ) , actionCollection ( ) , " toggle_away " ) ;
connect ( awayAction , TQT_SIGNAL ( toggled ( bool ) ) , static_cast < KonversationApplication * > ( kapp ) - > getAwayManager ( ) , TQT_SLOT ( toggleGlobalAway ( bool ) ) ) ;
awayAction - > setEnabled ( false ) ;
action = new K Action( i18n ( " &Join Channel... " ) , " add " , K Shortcut( " Ctrl+J " ) , m_viewContainer , TQT_SLOT ( showJoinChannelDialog ( ) ) , actionCollection ( ) , " join_channel " ) ;
action = new TDE Action( i18n ( " &Join Channel... " ) , " add " , TDE Shortcut( " Ctrl+J " ) , m_viewContainer , TQT_SLOT ( showJoinChannelDialog ( ) ) , actionCollection ( ) , " join_channel " ) ;
action - > setEnabled ( false ) ;
action - > setToolTip ( " Join a new channel on this server " ) ;
@ -276,21 +276,21 @@ KonversationMainWindow::KonversationMainWindow() : KMainWindow(0,"main_window",
action = KStdAction : : findPrev ( m_viewContainer , TQT_SLOT ( findPrevText ( ) ) , actionCollection ( ) ) ;
action - > setEnabled ( false ) ;
action = new K Action( i18n ( " &IRC Color... " ) , " colorize " , CTRL + Key_K , m_viewContainer , TQT_SLOT ( insertIRCColor ( ) ) , actionCollection ( ) , " irc_colors " ) ;
action = new TDE Action( i18n ( " &IRC Color... " ) , " colorize " , CTRL + Key_K , m_viewContainer , TQT_SLOT ( insertIRCColor ( ) ) , actionCollection ( ) , " irc_colors " ) ;
action - > setToolTip ( i18n ( " Set the color of your current IRC message " ) ) ;
action - > setEnabled ( false ) ;
action = new K Action( i18n ( " &Marker Line " ) , 0 , K Shortcut( " Ctrl+R " ) , m_viewContainer , TQT_SLOT ( insertMarkerLine ( ) ) , actionCollection ( ) , " insert_marker_line " ) ;
action = new TDE Action( i18n ( " &Marker Line " ) , 0 , TDE Shortcut( " Ctrl+R " ) , m_viewContainer , TQT_SLOT ( insertMarkerLine ( ) ) , actionCollection ( ) , " insert_marker_line " ) ;
action - > setToolTip ( i18n ( " Insert a horizontal line into the current tab that only you can see " ) ) ;
action - > setEnabled ( false ) ;
action = new K Action( i18n ( " Special &Character... " ) , " char " , K Shortcut( " Alt+Shift+C " ) , m_viewContainer , TQT_SLOT ( insertCharacter ( ) ) , actionCollection ( ) , " insert_character " ) ;
action = new TDE Action( i18n ( " Special &Character... " ) , " char " , TDE Shortcut( " Alt+Shift+C " ) , m_viewContainer , TQT_SLOT ( insertCharacter ( ) ) , actionCollection ( ) , " insert_character " ) ;
action - > setToolTip ( i18n ( " Insert any character into your current IRC message " ) ) ;
action - > setEnabled ( false ) ;
action = new K Action( i18n ( " Close &All Open Queries " ) , 0 , K Shortcut( " F11 " ) , m_viewContainer , TQT_SLOT ( closeQueries ( ) ) , actionCollection ( ) , " close_queries " ) ;
action = new TDE Action( i18n ( " Close &All Open Queries " ) , 0 , TDE Shortcut( " F11 " ) , m_viewContainer , TQT_SLOT ( closeQueries ( ) ) , actionCollection ( ) , " close_queries " ) ;
action - > setEnabled ( false ) ;
KToggleAction* toggleChannelNickListsAction = new K ToggleAction( i18n ( " Hide Nicklist " ) , 0 ,
K Shortcut( " Ctrl+H " ) , m_viewContainer , TQT_SLOT ( toggleChannelNicklists ( ) ) , actionCollection ( ) , " hide_nicknamelist " ) ;
TDEToggleAction* toggleChannelNickListsAction = new TDE ToggleAction( i18n ( " Hide Nicklist " ) , 0 ,
TDE Shortcut( " Ctrl+H " ) , m_viewContainer , TQT_SLOT ( toggleChannelNicklists ( ) ) , actionCollection ( ) , " hide_nicknamelist " ) ;
if ( ! Preferences : : showNickList ( ) )
toggleChannelNickListsAction - > setChecked ( true ) ;
@ -299,7 +299,7 @@ KonversationMainWindow::KonversationMainWindow() : KMainWindow(0,"main_window",
connect ( TQT_TQOBJECT ( this ) , TQT_SIGNAL ( endNotification ( ) ) , m_trayIcon , TQT_SLOT ( endNotification ( ) ) ) ;
connect ( KonversationApplication : : instance ( ) , TQT_SIGNAL ( iconChanged ( int ) ) , m_trayIcon , TQT_SLOT ( updateAppearance ( ) ) ) ;
connect ( m_trayIcon , TQT_SIGNAL ( quitSelected ( ) ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( quitProgram ( ) ) ) ;
K PopupMenu * trayMenu = m_trayIcon - > contextMenu ( ) ;
TDE PopupMenu * trayMenu = m_trayIcon - > contextMenu ( ) ;
# ifdef USE_KNOTIFY
configureNotificationsAction - > plug ( trayMenu ) ;
# endif
@ -413,21 +413,21 @@ void KonversationMainWindow::hideEvent(TQHideEvent *e)
m_statusBar - > clearMainLabelTempText ( ) ;
K MainWindow: : hideEvent ( e ) ;
TDE MainWindow: : hideEvent ( e ) ;
}
void KonversationMainWindow : : showEvent ( TQShowEvent * e )
{
emit cancelRememberLine ( ) ;
K MainWindow: : showEvent ( e ) ;
TDE MainWindow: : showEvent ( e ) ;
}
void KonversationMainWindow : : leaveEvent ( TQEvent * e )
{
m_statusBar - > clearMainLabelTempText ( ) ;
K MainWindow: : leaveEvent ( e ) ;
TDE MainWindow: : leaveEvent ( e ) ;
}
bool KonversationMainWindow : : event ( TQEvent * e )
@ -445,7 +445,7 @@ bool KonversationMainWindow::event(TQEvent* e)
emit triggerRememberLine ( ) ;
}
return K MainWindow: : event ( e ) ;
return TDE MainWindow: : event ( e ) ;
}
void KonversationMainWindow : : settingsChangedSlot ( )