summaryrefslogtreecommitdiffstats
path: root/krecipes/src/krecipes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/krecipes.cpp')
-rw-r--r--krecipes/src/krecipes.cpp62
1 files changed, 31 insertions, 31 deletions
diff --git a/krecipes/src/krecipes.cpp b/krecipes/src/krecipes.cpp
index 4d5e6e1..c6dcefe 100644
--- a/krecipes/src/krecipes.cpp
+++ b/krecipes/src/krecipes.cpp
@@ -95,20 +95,20 @@ Krecipes::Krecipes()
// allow the view to change the statusbar and caption
- connect( m_view, SIGNAL( signalChangeStatusbar( const TQString& ) ),
- this, SLOT( changeStatusbar( const TQString& ) ) );
- connect( m_view, SIGNAL( signalChangeCaption( const TQString& ) ),
- this, SLOT( changeCaption( const TQString& ) ) );
+ connect( m_view, TQ_SIGNAL( signalChangeStatusbar( const TQString& ) ),
+ this, TQ_SLOT( changeStatusbar( const TQString& ) ) );
+ connect( m_view, TQ_SIGNAL( signalChangeCaption( const TQString& ) ),
+ this, TQ_SLOT( changeCaption( const TQString& ) ) );
- connect( m_view, SIGNAL( panelShown( KrePanel, bool ) ), SLOT( updateActions( KrePanel, bool ) ) );
- connect( m_view, SIGNAL( panelShown( KrePanel, bool ) ), SLOT( updateActions( KrePanel, bool ) ) );
+ connect( m_view, TQ_SIGNAL( panelShown( KrePanel, bool ) ), TQ_SLOT( updateActions( KrePanel, bool ) ) );
+ connect( m_view, TQ_SIGNAL( panelShown( KrePanel, bool ) ), TQ_SLOT( updateActions( KrePanel, bool ) ) );
- connect( m_view, SIGNAL( recipeSelected(bool) ), SLOT( recipeSelected(bool) ) );
+ connect( m_view, TQ_SIGNAL( recipeSelected(bool) ), TQ_SLOT( recipeSelected(bool) ) );
// Enable/Disable the Save Button (Initialize disabled, and connect signal)
- connect( m_view, SIGNAL( enableSaveOption( bool ) ), this, SLOT( enableSaveOption( bool ) ) );
+ connect( m_view, TQ_SIGNAL( enableSaveOption( bool ) ), this, TQ_SLOT( enableSaveOption( bool ) ) );
enableSaveOption( false ); // Disables saving initially
recipeSelected( false ); //nothing is selected initially
@@ -163,74 +163,74 @@ void Krecipes::recipeSelected( bool selected )
void Krecipes::setupActions()
{
- printAction = KStdAction::print( this, SLOT( filePrint() ), actionCollection() );
- reloadAction = new TDEAction( i18n( "Reloa&d" ), "reload", Key_F5, m_view, SLOT( reloadDisplay() ), actionCollection(), "reload_action" );
+ printAction = KStdAction::print( this, TQ_SLOT( filePrint() ), actionCollection() );
+ reloadAction = new TDEAction( i18n( "Reloa&d" ), "reload", Key_F5, m_view, TQ_SLOT( reloadDisplay() ), actionCollection(), "reload_action" );
editAction = new TDEAction( i18n( "&Edit Recipe" ), "edit", CTRL + Key_E,
- m_view, SLOT( editRecipe() ),
+ m_view, TQ_SLOT( editRecipe() ),
actionCollection(), "edit_action" );
(void) new TDEAction( i18n( "&Measurement Converter" ), "", CTRL + Key_M,
- this, SLOT( conversionToolSlot() ),
+ this, TQ_SLOT( conversionToolSlot() ),
actionCollection(), "converter_action" );
TDEConfig *config = TDEGlobal::config();
config->setGroup("Advanced");
if ( config->readBoolEntry("UnhideMergeTools",false) ) {
( void ) new TDEAction( i18n( "&Merge Similar Categories..." ), "categories", CTRL + Key_M,
- this, SLOT( mergeSimilarCategories() ),
+ this, TQ_SLOT( mergeSimilarCategories() ),
actionCollection(), "merge_categories_action" );
( void ) new TDEAction( i18n( "&Merge Similar Ingredients..." ), "ingredients", CTRL + Key_M,
- this, SLOT( mergeSimilarIngredients() ),
+ this, TQ_SLOT( mergeSimilarIngredients() ),
actionCollection(), "merge_ingredients_action" );
}
- TDEAction *action = KStdAction::openNew( this, SLOT( fileNew() ), actionCollection() );
+ TDEAction *action = KStdAction::openNew( this, TQ_SLOT( fileNew() ), actionCollection() );
action->setText( i18n( "&New Recipe" ) );
- saveAction = KStdAction::save( this, SLOT( fileSave() ), actionCollection() );
+ saveAction = KStdAction::save( this, TQ_SLOT( fileSave() ), actionCollection() );
- KStdAction::quit( kapp, SLOT( quit() ), actionCollection() );
+ KStdAction::quit( kapp, TQ_SLOT( quit() ), actionCollection() );
- m_toolbarAction = KStdAction::showToolbar( this, SLOT( optionsShowToolbar() ), actionCollection() );
- m_statusbarAction = KStdAction::showStatusbar( this, SLOT( optionsShowStatusbar() ), actionCollection() );
+ m_toolbarAction = KStdAction::showToolbar( this, TQ_SLOT( optionsShowToolbar() ), actionCollection() );
+ m_statusbarAction = KStdAction::showStatusbar( this, TQ_SLOT( optionsShowStatusbar() ), actionCollection() );
- KStdAction::keyBindings( this, SLOT( optionsConfigureKeys() ), actionCollection() );
- KStdAction::configureToolbars( this, SLOT( optionsConfigureToolbars() ), actionCollection() );
- KStdAction::preferences( this, SLOT( optionsPreferences() ), actionCollection() );
+ KStdAction::keyBindings( this, TQ_SLOT( optionsConfigureKeys() ), actionCollection() );
+ KStdAction::configureToolbars( this, TQ_SLOT( optionsConfigureToolbars() ), actionCollection() );
+ KStdAction::preferences( this, TQ_SLOT( optionsPreferences() ), actionCollection() );
( void ) new TDEAction( i18n( "Import from File..." ), CTRL + Key_I,
- this, SLOT( import() ),
+ this, TQ_SLOT( import() ),
actionCollection(), "import_action" );
( void ) new TDEAction( i18n( "Import from Database..." ), 0,
- this, SLOT( kreDBImport() ),
+ this, TQ_SLOT( kreDBImport() ),
actionCollection(), "import_db_action" );
exportAction = new TDEAction( i18n( "Export..." ), 0,
- this, SLOT( fileExport() ),
+ this, TQ_SLOT( fileExport() ),
actionCollection(), "export_action" );
copyToClipboardAction = new TDEAction( i18n( "&Copy to Clipboard" ), "edit-copy",
CTRL + Key_C,
- this, SLOT( fileToClipboard() ),
+ this, TQ_SLOT( fileToClipboard() ),
actionCollection(), "copy_to_clipboard_action" );
( void ) new TDEAction( i18n( "Page Setup..." ), 0,
- this, SLOT( pageSetupSlot() ),
+ this, TQ_SLOT( pageSetupSlot() ),
actionCollection(), "page_setup_action" );
( void ) new TDEAction( i18n( "Print Setup..." ), 0,
- this, SLOT( printSetupSlot() ),
+ this, TQ_SLOT( printSetupSlot() ),
actionCollection(), "print_setup_action" );
( void ) new TDEAction( i18n( "Backup..." ), "krecipes_file", 0,
- this, SLOT( backupSlot() ),
+ this, TQ_SLOT( backupSlot() ),
actionCollection(), "backup_action" );
( void ) new TDEAction( i18n( "Restore..." ), 0,
- this, SLOT( restoreSlot() ),
+ this, TQ_SLOT( restoreSlot() ),
actionCollection(), "restore_action" );
updateActions( SelectP, true );
@@ -651,7 +651,7 @@ void Krecipes::optionsConfigureToolbars()
#endif
KEditToolbar dlg( actionCollection() );
- connect( &dlg, SIGNAL( newToolbarConfig() ), this, SLOT( newToolbarConfig() ) );
+ connect( &dlg, TQ_SIGNAL( newToolbarConfig() ), this, TQ_SLOT( newToolbarConfig() ) );
dlg.exec();
}