summaryrefslogtreecommitdiffstats
path: root/korganizer/kojournaleditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kojournaleditor.cpp')
-rw-r--r--korganizer/kojournaleditor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/kojournaleditor.cpp b/korganizer/kojournaleditor.cpp
index c7566cae..3570f6ec 100644
--- a/korganizer/kojournaleditor.cpp
+++ b/korganizer/kojournaleditor.cpp
@@ -20,8 +20,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include "kojournaleditor.h"
@@ -43,8 +43,8 @@
using namespace KCal;
-KOJournalEditor::KOJournalEditor( Calendar *calendar, TQWidget *parent ) :
- KOIncidenceEditor( i18n("Edit Journal Entry"), calendar, parent )
+KOJournalEditor::KOJournalEditor( Calendar *calendar, TQWidget *tqparent ) :
+ KOIncidenceEditor( i18n("Edit Journal Entry"), calendar, tqparent )
{
mJournal = 0;
}
@@ -120,7 +120,7 @@ void KOJournalEditor::setTexts( const TQString &summary, const TQString &descrip
{
if ( description.isEmpty() && summary.tqcontains("\n") ) {
mGeneral->setDescription( summary );
- int pos = summary.find( "\n" );
+ int pos = summary.tqfind( "\n" );
mGeneral->setSummary( summary.left( pos ) );
} else {
mGeneral->setSummary( summary );