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 | |
parent | 44c98b497ff1cb8cddba10b56435f136a583cce2 (diff) | |
download | opie-4c1c6d7e8f8b9c207e88767808631b1780d099bf.zip opie-4c1c6d7e8f8b9c207e88767808631b1780d099bf.tar.gz opie-4c1c6d7e8f8b9c207e88767808631b1780d099bf.tar.bz2 |
remove old function
-rw-r--r-- | noncore/applets/notesapplet/notes.cpp | 4 | ||||
-rw-r--r-- | noncore/applets/notesapplet/notes.h | 1 |
2 files changed, 2 insertions, 3 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 @@ -403,17 +403,17 @@ void NotesControl::slotViewEdited() { // // 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); // } //=========================================================================== @@ -432,17 +432,17 @@ 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(); diff --git a/noncore/applets/notesapplet/notes.h b/noncore/applets/notesapplet/notes.h index a593881..28877ce 100644 --- a/noncore/applets/notesapplet/notes.h +++ b/noncore/applets/notesapplet/notes.h @@ -30,17 +30,16 @@ class QSpinBox; class QPushButton; class QMultiLineEdit; class QListBox; class QListBoxItem; class NotesControl : public QFrame { Q_OBJECT public: NotesControl( QWidget *parent=0, const char *name=0 ); - void performGrab(); QPixmap notes; QMultiLineEdit *view; QListBox *box; QPushButton *saveButton, *deleteButton, *newButton; QString FileNamePath; bool loaded, edited, doPopulate; void save(); |