author | llornkcor <llornkcor> | 2002-09-27 18:09:40 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-09-27 18:09:40 (UTC) |
commit | 4c1c6d7e8f8b9c207e88767808631b1780d099bf (patch) (side-by-side diff) | |
tree | b7616c5293ad422294ea106dc058bf91bfc36ea8 /noncore/applets/notesapplet/notes.cpp | |
parent | 44c98b497ff1cb8cddba10b56435f136a583cce2 (diff) | |
download | opie-4c1c6d7e8f8b9c207e88767808631b1780d099bf.zip opie-4c1c6d7e8f8b9c207e88767808631b1780d099bf.tar.gz opie-4c1c6d7e8f8b9c207e88767808631b1780d099bf.tar.bz2 |
remove old function
Diffstat (limited to 'noncore/applets/notesapplet/notes.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/notesapplet/notes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/applets/notesapplet/notes.cpp b/noncore/applets/notesapplet/notes.cpp index 2d38e97..76cb6c1 100644 --- a/noncore/applets/notesapplet/notes.cpp +++ b/noncore/applets/notesapplet/notes.cpp @@ -399,25 +399,25 @@ void NotesControl::slotViewEdited() { // qDebug("copy"); // QClipboard *cb = QApplication::clipboard(); // QString text; // // Copy text from the clipboard (paste) // text = cb->text(); // } // if(e->key() == Key_X) { //cut // } // if(e->key() == Key_V) { //paste // QClipboard *cb = QApplication::clipboard(); // QString text; -// view +// //view // cb->setText(); // } // break; // }; // QWidget::keyReleaseEvent(e); // } //=========================================================================== NotesApplet::NotesApplet( QWidget *parent, const char *name ) : QWidget( parent, name ) { setFixedHeight( 18 ); @@ -428,25 +428,25 @@ NotesApplet::NotesApplet( QWidget *parent, const char *name ) NotesApplet::~NotesApplet() { } void NotesApplet::mousePressEvent( QMouseEvent *) { if( !vc->isHidden()) { vc->doPopulate=false; vc->save(); vc->close(); } else { // vc = new NotesControl; // QPoint curPos = mapToGlobal( rect().topLeft() ); vc->show(); - vc->move( 5, 18); + vc->move( 2, 28); vc->doPopulate=true; vc->populateBox(); vc->doPopulate=false; vc->loaded=false; vc->load(); // this->setFocus(); vc->view->setFocus(); } } void NotesApplet::paintEvent( QPaintEvent* ) { |