summaryrefslogtreecommitdiff
path: root/noncore/unsupported
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 /noncore/unsupported
parent4c0390976930423c4e05394563564ab00faf8009 (diff)
downloadopie-1725b536c8a5a939a481196cce1dc35af2d9a63a.zip
opie-1725b536c8a5a939a481196cce1dc35af2d9a63a.tar.gz
opie-1725b536c8a5a939a481196cce1dc35af2d9a63a.tar.bz2
Better look, crystal icons and path corrections
Diffstat (limited to 'noncore/unsupported') (more/less context) (ignore whitespace changes)
-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
4 files changed, 10 insertions, 10 deletions
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
@@ -158,12 +158,12 @@ void EmailClient::init()
composeButton->addTo(bar);
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" );
grid_2 = new QGridLayout( widget );
@@ -178,7 +178,7 @@ void EmailClient::init()
inboxView->setAllColumnsShowFocus(TRUE);
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" );
grid_3 = new QGridLayout( widget_2 );
@@ -191,7 +191,7 @@ void EmailClient::init()
outboxView->setAllColumnsShowFocus(TRUE);
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
@@ -29,7 +29,6 @@
#include <qlabel.h>
#include <qlineedit.h>
#include <qlistview.h>
-#include <qtabwidget.h>
#include <qaction.h>
#include <qlayout.h>
#include <qtooltip.h>
@@ -40,6 +39,7 @@
#include <qstatusbar.h>
#include <qdir.h>
#include <stdlib.h>
+#include <opie/otabwidget.h>
#include "emailhandler.h"
#include "emaillistitem.h"
@@ -138,7 +138,7 @@ private:
QPopupMenu *editAccountMenu;
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
@@ -34,7 +34,7 @@ SOURCES = emailclient.cpp \
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
-LIBS += -lqpe
+LIBS += -lqpe -lopie
# -lssl
MOC_DIR=qpeobj
OBJECTS_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
@@ -56,7 +56,7 @@ void ReadMail::init()
bar = new QToolBar(this);
//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()) );
@@ -70,13 +70,13 @@ void ReadMail::init()
nextButton->addTo(bar);
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() ) );
attatchmentsButton->addTo(bar);
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);
plainTextButton->addTo(viewMenu);