Changeset 60:cfa107cede67 in SMSSender


Ignore:
Timestamp:
Feb 2, 2010 1:31:24 PM (8 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
3.0
Convert:
svn:3639001d-8e34-449c-bb86-3782b86c4877/branches/3.0@59
Message:
  • Remplaced deprecated _activated with _triggered in vcmain
Location:
src/ui/VCMain
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/ui/VCMain/vcmain.cpp

    r56 r60  
    345345/* File menu */
    346346
    347 void VCMain::on_actionNewMessage_activated() {
     347void VCMain::on_actionNewMessage_triggered(bool checked) {
     348    Q_UNUSED(checked);
     349
    348350    clearMessage();
    349351}
     
    351353/* Edit menu */
    352354
    353 void VCMain::on_actionAccounts_activated() {
     355void VCMain::on_actionAccounts_triggered(bool checked) {
     356    Q_UNUSED(checked);
     357
    354358    VCAccountList* cl = new VCAccountList(this);
    355359    cl->show();
    356360}
    357361
    358 void VCMain::on_actionAddressBook_activated(){
     362void VCMain::on_actionAddressBook_triggered(bool checked){
     363    Q_UNUSED(checked);
     364
    359365    VCAddressBook* cl = new VCAddressBook(this);
    360366    cl->show();
    361367}
    362368
    363 void VCMain::on_actionPreferences_activated(){
    364         VCSettings* s = new VCSettings(this);
     369void VCMain::on_actionPreferences_triggered(bool checked){
     370    Q_UNUSED(checked);
     371
     372    VCSettings* s = new VCSettings(this);
    365373        s->show();
    366374}
     
    369377/* Help menu */
    370378
    371 void VCMain::on_actionAbout_activated(){
    372         //
     379void VCMain::on_actionAbout_triggered(bool checked){
     380    Q_UNUSED(checked);
     381
     382    // TODO: implement about...
    373383}
    374384
  • src/ui/VCMain/vcmain.h

    r56 r60  
    7676    void on_lstContacts_completer_changed(const QString& text);
    7777
    78     void on_actionNewMessage_activated();
     78    void on_actionNewMessage_triggered(bool checked);
    7979
    80     void on_actionAccounts_activated();
    81     void on_actionAddressBook_activated();
    82         void on_actionPreferences_activated();
    83         void on_actionAbout_activated();
     80    void on_actionAccounts_triggered(bool checked);
     81    void on_actionAddressBook_triggered(bool checked);
     82        void on_actionPreferences_triggered(bool checked);
     83        void on_actionAbout_triggered(bool checked);
    8484
    8585    void on_accountLoadStateChanged(IAccount* account, AccountLoadState state);
Note: See TracChangeset for help on using the changeset viewer.