summaryrefslogtreecommitdiff
path: root/noncore
authorzecke <zecke>2002-11-03 11:11:28 (UTC)
committer zecke <zecke>2002-11-03 11:11:28 (UTC)
commite84a1bc31c336df5aea13ac23a47bc15b6ca2e8d (patch) (side-by-side diff)
tree65c0a66d7fce49f012549fcfb97724c074a38511 /noncore
parentd26f82ea57c70fd0e77eb192f7e133c5f76c2f0f (diff)
downloadopie-e84a1bc31c336df5aea13ac23a47bc15b6ca2e8d.zip
opie-e84a1bc31c336df5aea13ac23a47bc15b6ca2e8d.tar.gz
opie-e84a1bc31c336df5aea13ac23a47bc15b6ca2e8d.tar.bz2
patch by jowenn no default arguments....
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/comm/keypebble/kvncbookmarkdlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/comm/keypebble/kvncbookmarkdlg.cpp b/noncore/comm/keypebble/kvncbookmarkdlg.cpp
index 1e2f3c3..8556d49 100644
--- a/noncore/comm/keypebble/kvncbookmarkdlg.cpp
+++ b/noncore/comm/keypebble/kvncbookmarkdlg.cpp
@@ -1,69 +1,69 @@
#include <qframe.h>
#include <qvbox.h>
#include <qcheckbox.h>
#include <qspinbox.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qwhatsthis.h>
#include <qfile.h>
#include <qdir.h>
#include <qstring.h>
#include <qapplication.h>
#include <qlineedit.h>
#include <qtextstream.h>
#include <qpushbutton.h>
#include <qlistbox.h>
#include <qpe/config.h>
#include <qpe/global.h>
#include "krfbserver.h"
#include "kvncbookmarkdlg.h"
-KVNCBookmarkDlg::KVNCBookmarkDlg( QWidget * parent=0, const char * name=0, WFlags f=0 )
+KVNCBookmarkDlg::KVNCBookmarkDlg( QWidget * parent, const char * name, WFlags f )
: KVNCBookmarkDlgBase( parent, name,f)
{
readBookmarks();
refresh();
}
KVNCBookmarkDlg::~KVNCBookmarkDlg()
{
}
void KVNCBookmarkDlg::addBookmark(KRFBServer * server)
{
if (server) {
servers.append(server);
bookmarkList->insertItem(server->name);
writeBookmarks();
refresh();
}
}
void KVNCBookmarkDlg::deleteBookmark(QString name)
{
KRFBServer * server=0;
for ( server=servers.first(); server != 0; server=servers.next() ) {
if (server->name==name) {
servers.remove(servers.at());
writeBookmarks();
refresh();
return;
}
}
}
KRFBServer *KVNCBookmarkDlg::getServer(QString name)
{
KRFBServer * server=0;
for ( server=servers.first(); server != 0; server=servers.next() ) {
if (server->name==name)
return server;
}
return 0;
}
/*
Note that the degree of protection offered by the encryption here is