[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdepim/korganizer
From:       Martin Koller <m.koller () surfeu ! at>
Date:       2007-03-03 16:18:15
Message-ID: 1172938695.799485.2948.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 638869 by mkoller:

BUG: 141136

make "Edit Categories" button open the editor again.


 M  +3 -0      koeditorgeneral.cpp  
 M  +3 -0      koeventeditor.cpp  
 M  +3 -0      kotodoeditor.cpp  


--- branches/KDE/3.5/kdepim/korganizer/koeditorgeneral.cpp #638868:638869
@@ -236,6 +236,9 @@
   KPIM::CategorySelectDialog *categoryDialog = new KPIM::CategorySelectDialog( \
KOPrefs::instance(), mCategoriesButton	 );  KOGlobals::fitDialogToScreen( \
categoryDialog );  categoryDialog->setSelected( mCategories );
+
+  connect(categoryDialog, SIGNAL(editCategories()), this, \
SIGNAL(openCategoryDialog())); +
   if ( categoryDialog->exec() ) {
     setCategories( categoryDialog->selectedCategories() );
   }
--- branches/KDE/3.5/kdepim/korganizer/koeventeditor.cpp #638868:638869
@@ -91,6 +91,9 @@
 
   connect( mGeneral, SIGNAL( focusReceivedSignal() ),
            SIGNAL( focusReceivedSignal() ) );
+
+  connect( mGeneral, SIGNAL( openCategoryDialog() ),
+           SIGNAL( editCategories() ) );
 }
 
 void KOEventEditor::reload()
--- branches/KDE/3.5/kdepim/korganizer/kotodoeditor.cpp #638868:638869
@@ -76,6 +76,9 @@
            mRecurrence, SLOT( setDateTimeStr( const QString & ) ) );
   connect( mGeneral, SIGNAL( signalDateTimeChanged( const QDateTime &, const \
                QDateTime & ) ),
            mRecurrence, SLOT( setDateTimes( const QDateTime &, const QDateTime & ) ) \
); +
+  connect( mGeneral, SIGNAL( openCategoryDialog() ),
+           SIGNAL( editCategories() ) );
 }
 
 void KOTodoEditor::reload()


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic