summaryrefslogtreecommitdiff
authorgroucho <groucho>2003-04-07 07:35:39 (UTC)
committer groucho <groucho>2003-04-07 07:35:39 (UTC)
commit1725b536c8a5a939a481196cce1dc35af2d9a63a (patch) (side-by-side diff)
tree1e4c80853f2b484dd4193827225eafc1bd632330
parent4c0390976930423c4e05394563564ab00faf8009 (diff)
downloadopie-1725b536c8a5a939a481196cce1dc35af2d9a63a.zip
opie-1725b536c8a5a939a481196cce1dc35af2d9a63a.tar.gz
opie-1725b536c8a5a939a481196cce1dc35af2d9a63a.tar.bz2
Better look, crystal icons and path corrections
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mailit/emailclient.cpp8
-rw-r--r--noncore/net/mailit/emailclient.h4
-rw-r--r--noncore/net/mailit/mailit.pro2
-rw-r--r--noncore/net/mailit/readmail.cpp6
-rw-r--r--noncore/unsupported/mailit/emailclient.cpp8
-rw-r--r--noncore/unsupported/mailit/emailclient.h4
-rw-r--r--noncore/unsupported/mailit/mailit.pro2
-rw-r--r--noncore/unsupported/mailit/readmail.cpp6
8 files changed, 20 insertions, 20 deletions
diff --git a/noncore/net/mailit/emailclient.cpp b/noncore/net/mailit/emailclient.cpp
index 2e82623..fc4276b 100644
--- a/noncore/net/mailit/emailclient.cpp
+++ b/noncore/net/mailit/emailclient.cpp
@@ -159,10 +159,10 @@ void EmailClient::init()
composeButton->addTo(mail);
- cancelButton = new QAction(tr("Cancel transfer"), Resource::loadPixmap("reset"), QString::null, 0, this, 0);
+ cancelButton = new QAction(tr("Cancel transfer"), Resource::loadPixmap("close"), QString::null, 0, this, 0);
connect(cancelButton, SIGNAL(activated()), this, SLOT(cancel()) );
cancelButton->addTo(mail);
cancelButton->setEnabled(FALSE);
- mailboxView = new QTabWidget( this, "mailboxView" );
+ mailboxView = new OTabWidget( this, "mailboxView" );
QWidget* widget = new QWidget( mailboxView, "widget" );
@@ -179,5 +179,5 @@ void EmailClient::init()
grid_2->addWidget( inboxView, 2, 0 );
- mailboxView->insertTab( widget, tr( "Inbox" ) );
+ mailboxView->addTab( widget, "mailit/inbox", tr( "Inbox" ) );
QWidget* widget_2 = new QWidget( mailboxView, "widget_2" );
@@ -192,5 +192,5 @@ void EmailClient::init()
grid_3->addWidget( outboxView, 0, 0 );
- mailboxView->insertTab( widget_2, tr( "Outbox" ) );
+ mailboxView->addTab( widget_2,"mailit/outbox", tr( "Outbox" ) );
setCentralWidget(mailboxView);
diff --git a/noncore/net/mailit/emailclient.h b/noncore/net/mailit/emailclient.h
index 135bfaa..80457f9 100644
--- a/noncore/net/mailit/emailclient.h
+++ b/noncore/net/mailit/emailclient.h
@@ -30,5 +30,4 @@
#include <qlineedit.h>
#include <qlistview.h>
-#include <qtabwidget.h>
#include <qaction.h>
#include <qlayout.h>
@@ -41,4 +40,5 @@
#include <qdir.h>
#include <stdlib.h>
+#include <opie/otabwidget.h>
#include "emailhandler.h"
@@ -139,5 +139,5 @@ private:
QPopupMenu *deleteAccountMenu;
- QTabWidget* mailboxView;
+ OTabWidget* mailboxView;
QListView* inboxView;
QListView* outboxView;
diff --git a/noncore/net/mailit/mailit.pro b/noncore/net/mailit/mailit.pro
index d51126a..a404884 100644
--- a/noncore/net/mailit/mailit.pro
+++ b/noncore/net/mailit/mailit.pro
@@ -35,5 +35,5 @@ SOURCES = emailclient.cpp \
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
-LIBS += -lqpe
+LIBS += -lqpe -lopie
# -lssl
MOC_DIR=qpeobj
diff --git a/noncore/net/mailit/readmail.cpp b/noncore/net/mailit/readmail.cpp
index 4954f34..2011ecf 100644
--- a/noncore/net/mailit/readmail.cpp
+++ b/noncore/net/mailit/readmail.cpp
@@ -57,5 +57,5 @@ void ReadMail::init()
//reply dependant on viewing inbox
- replyButton = new QAction( tr( "Reply" ), Resource::loadPixmap( "pass" ),
+ replyButton = new QAction( tr( "Reply" ), Resource::loadPixmap( "mailit/reply" ),
QString::null, 0, this, 0 );
connect(replyButton, SIGNAL(activated()), this, SLOT(reply()) );
@@ -71,5 +71,5 @@ void ReadMail::init()
nextButton->addTo(viewMenu);
- attatchmentsButton = new QAction( tr( "Attatchments" ), Resource::loadPixmap( "fileopen" ), QString::null, 0, this, 0 );
+ attatchmentsButton = new QAction( tr( "Attatchments" ), Resource::loadPixmap( "mailit/attach" ), QString::null, 0, this, 0 );
connect( attatchmentsButton, SIGNAL( activated() ), this,
SLOT( viewAttatchments() ) );
@@ -77,5 +77,5 @@ void ReadMail::init()
attatchmentsButton->addTo(viewMenu);
- plainTextButton = new QAction( tr( "Text Format" ), Resource::loadPixmap( "new" ), QString::null, 0, this, 0, TRUE);
+ plainTextButton = new QAction( tr( "Text Format" ), Resource::loadPixmap( "DocsIcon" ), QString::null, 0, this, 0, TRUE);
connect( plainTextButton, SIGNAL( activated() ), this, SLOT( shiftText() ) );
plainTextButton->addTo(bar);
diff --git a/noncore/unsupported/mailit/emailclient.cpp b/noncore/unsupported/mailit/emailclient.cpp
index 2e82623..fc4276b 100644
--- a/noncore/unsupported/mailit/emailclient.cpp
+++ b/noncore/unsupported/mailit/emailclient.cpp
@@ -159,10 +159,10 @@ void EmailClient::init()
composeButton->addTo(mail);
- cancelButton = new QAction(tr("Cancel transfer"), Resource::loadPixmap("reset"), QString::null, 0, this, 0);
+ cancelButton = new QAction(tr("Cancel transfer"), Resource::loadPixmap("close"), QString::null, 0, this, 0);
connect(cancelButton, SIGNAL(activated()), this, SLOT(cancel()) );
cancelButton->addTo(mail);
cancelButton->setEnabled(FALSE);
- mailboxView = new QTabWidget( this, "mailboxView" );
+ mailboxView = new OTabWidget( this, "mailboxView" );
QWidget* widget = new QWidget( mailboxView, "widget" );
@@ -179,5 +179,5 @@ void EmailClient::init()
grid_2->addWidget( inboxView, 2, 0 );
- mailboxView->insertTab( widget, tr( "Inbox" ) );
+ mailboxView->addTab( widget, "mailit/inbox", tr( "Inbox" ) );
QWidget* widget_2 = new QWidget( mailboxView, "widget_2" );
@@ -192,5 +192,5 @@ void EmailClient::init()
grid_3->addWidget( outboxView, 0, 0 );
- mailboxView->insertTab( widget_2, tr( "Outbox" ) );
+ mailboxView->addTab( widget_2,"mailit/outbox", tr( "Outbox" ) );
setCentralWidget(mailboxView);
diff --git a/noncore/unsupported/mailit/emailclient.h b/noncore/unsupported/mailit/emailclient.h
index 135bfaa..80457f9 100644
--- a/noncore/unsupported/mailit/emailclient.h
+++ b/noncore/unsupported/mailit/emailclient.h
@@ -30,5 +30,4 @@
#include <qlineedit.h>
#include <qlistview.h>
-#include <qtabwidget.h>
#include <qaction.h>
#include <qlayout.h>
@@ -41,4 +40,5 @@
#include <qdir.h>
#include <stdlib.h>
+#include <opie/otabwidget.h>
#include "emailhandler.h"
@@ -139,5 +139,5 @@ private:
QPopupMenu *deleteAccountMenu;
- QTabWidget* mailboxView;
+ OTabWidget* mailboxView;
QListView* inboxView;
QListView* outboxView;
diff --git a/noncore/unsupported/mailit/mailit.pro b/noncore/unsupported/mailit/mailit.pro
index d51126a..a404884 100644
--- a/noncore/unsupported/mailit/mailit.pro
+++ b/noncore/unsupported/mailit/mailit.pro
@@ -35,5 +35,5 @@ SOURCES = emailclient.cpp \
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
-LIBS += -lqpe
+LIBS += -lqpe -lopie
# -lssl
MOC_DIR=qpeobj
diff --git a/noncore/unsupported/mailit/readmail.cpp b/noncore/unsupported/mailit/readmail.cpp
index 4954f34..2011ecf 100644
--- a/noncore/unsupported/mailit/readmail.cpp
+++ b/noncore/unsupported/mailit/readmail.cpp
@@ -57,5 +57,5 @@ void ReadMail::init()
//reply dependant on viewing inbox
- replyButton = new QAction( tr( "Reply" ), Resource::loadPixmap( "pass" ),
+ replyButton = new QAction( tr( "Reply" ), Resource::loadPixmap( "mailit/reply" ),
QString::null, 0, this, 0 );
connect(replyButton, SIGNAL(activated()), this, SLOT(reply()) );
@@ -71,5 +71,5 @@ void ReadMail::init()
nextButton->addTo(viewMenu);
- attatchmentsButton = new QAction( tr( "Attatchments" ), Resource::loadPixmap( "fileopen" ), QString::null, 0, this, 0 );
+ attatchmentsButton = new QAction( tr( "Attatchments" ), Resource::loadPixmap( "mailit/attach" ), QString::null, 0, this, 0 );
connect( attatchmentsButton, SIGNAL( activated() ), this,
SLOT( viewAttatchments() ) );
@@ -77,5 +77,5 @@ void ReadMail::init()
attatchmentsButton->addTo(viewMenu);
- plainTextButton = new QAction( tr( "Text Format" ), Resource::loadPixmap( "new" ), QString::null, 0, this, 0, TRUE);
+ plainTextButton = new QAction( tr( "Text Format" ), Resource::loadPixmap( "DocsIcon" ), QString::null, 0, this, 0, TRUE);
connect( plainTextButton, SIGNAL( activated() ), this, SLOT( shiftText() ) );
plainTextButton->addTo(bar);