/***** * * TOra - An Oracle Toolkit for DBA's and developers * Copyright (C) 2003-2005 Quest Software, Inc * Portions Copyright (C) 2005 Other Contributors * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; only version 2 of * the License is valid for this program. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * As a special exception, you have permission to link this program * with the Oracle Client libraries and distribute executables, as long * as you follow the requirements of the GNU GPL in regard to all of the * software in the executable aside from Oracle client libraries. * * Specifically you are not permitted to link this program with the * Qt/UNIX, Qt/Windows or Qt Non Commercial products of TrollTech. * And you are not permitted to distribute binaries compiled against * these libraries without written consent from Quest Software, Inc. * Observe that this does not disallow linking to the Qt Free Edition. * * You may link this product with any GPL'd Qt library such as Qt/Free * * All trademarks belong to their respective owners. * *****/ #include #include #include #include #include "toabout.h" #include "toconf.h" #include "toabout.moc" #include "toaboutui.moc" #include "LICENSE.h" #include "icons/largelogo.xpm" #ifdef OAS #include "oasabout.h" #else # ifdef TOAD #include "toadabout.h" # else static const char *AboutText = "
\n" "Version %1 (http://tora.sourceforge.net)\n" "

\n" "© 2003-2005 Quest Software, Inc. " "(http://www.quest.com/).

\n" "Portions © 2005 other contributors

\n" "Written by Henrik Johnson with contributions by the Open Source community.

\n" "SourceForge project administered by Nathan Neulinger nneul@umr.edu

\n" "This program is available\n" "under the GNU General Public License.\n" "Uses the Qt library by TrollTech\n" "(http://www.trolltech.com/).

\n" "\n" "


\n" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" "GNU General Public License for more details." "
\n" "Development team (in alphabetical order):

\n" "

    \n" "
  • Alexey Danilchenko\n" "
  • Henrik Johnson\n" "
  • Ivan Brezina\n" "
  • Mike Johnson\n" "
  • Nathan Neulinger\n" "
  • Oliver Jehle\n" "
  • Raj Thukral\n" "
  • Thomas Porschberg\n" "
  • Volker Götz\n" "
\n" "Contributors (In alphabetical order):

\n" "

    \n" "
  • Alexander (Leo) Bergolth - Access to Oracle 7 database.\n" "
  • Volker Götz - Improved PostgreSQL support.\n" "
  • Oliver Jehle - Object caching to disc, SAP and much more.\n" "
  • Sergei Kuchin - Oracle Template Library.\n" "
  • Michael Meskes - Debian maintainer (http://www.debian.org/).\n" "
  • Selcuk Ozturk - Improved content editor.\n" "
  • Jeff Price - Endless feature requests and more.\n" "
  • Stefan Rindeskär - Improved PostgreSQL support.\n" "
  • Adam vonNieda - Improvements to RMAN monitoring from OracleTool (http://www.oracletool.com)\n" "
  • Guillaume Moulard - Log4PL/SQL documentation.\n" "
\n" "Other contributors:

\n" "Nuno Araujo,\n" "Ivan Brezina,\n" "Nathan Bryant,\n" "Robert Cheramy,\n" "Francesco Dandrea,\n" "Ferdinand Gassauer,\n" "Robert Ham,\n" "Rick Hall,\n" "Rico Hendriks,\n" "Frits Hoogland,\n" "Mihai Ibanescu,\n" "Bo Johansson,\n" "Olof Jönsson,\n" "Michael Kaes,\n" "Norbert Kiesel,\n" "Pawe=B3 Kucharczyk,\n" "Jacob Lauemølle,\n" "Laramie Leavitt,\n" "Paolo Magnoli,\n" "Vladimir Naprstek,\n" "Peter Nyborg,\n" "Frank Pavageau,\n" "Andreas Piesk,\n" "Gerard H. Pille,\n" "Thomas Porschberg,\n" "Jan Pruner,\n" "Jonas Rathert,\n" "Christopher R. Redinger,\n" "Erik Selberg,\n" "Dennis Selsky,\n" "Roman Stepanov,\n" "Petr Vanek,\n" "Daniel Vérité,\n" "Matthias Wolle,\n" "Joachim Zetzsche,\n" "Massimiliano Ziccardi,\n" "Raj Thukral...\n"; # endif #endif #ifndef TOAD static const char *QuoteText = "

People who think they know everything tend to irritate those of us who do.

\n" "
Oscar Wilde
\n" "

My taste is simple, the best.

\n" "
Oscar Wilde
\n" "

God bless the American legal system
\n" "A glories machine that turns stupidity into cold hard cash!

\n" "
The Drew Carey Show
\n" "

Working weeks come to its end, party time is here again.

\n" "
Come with me, Depeche Mode
\n" "

I want to run
I want to hide
I want to tear down the walls
\n" "That hold me inside

\n" "
Where the streets have no name, U2
\n" "

Got a letter from the government the other day.
\n" "Opened it and read it. It said they were suckers.

\n" "
Black Steel In The Hour Of Chaos, Public Enemy
\n" "

It's a small world and it smells funny
\n" "I'd buy another if it wasn't for the money

\n" "
Vision Thing, Sisters of Mercy
\n" "

I'm a 21:st century digital boy
\n" "I don't know how to live, but I got a lot of toys

\n" "
21:st century digital boy, Bad Religion\n" "
\n" "

When will the world listen to reason?
\n" "When will the truth come into season?
\n" "I have a feeling it will be a long time.

\n" "
It'll be a long time, Offspring\n" "
\n" "

Happiness isn't something you experience, it's something you remember.

\n" "
Oscar Levant\n" "
\n" "

I didn't believe in reincarnation in any of my other lives.
\n" "I don't see why I should have to believe in it in this one.

\n" "
Strange de Jim\n" "
\n" "

If a man has a strong faith he can indulge in the luxury of skepticism.

\n" "
Friedrich Nietzsche\n" "
\n" "

I'm a firm believer in the concept of a ruling class,
\n" "especially since I rule.

\n" "
The movie \"Clerks\"\n" "
\n" "

Stay alert! Trust no one! Keep your laser handy!

\n" "
Roleplaying game Paranoia\n" "
\n" "

The best definition of a gentleman is a man who can play the accordion -- but doesn't.

\n" "
Tom Crichton\n" "
\n" "

The trouble with being punctual is that nobody's there to appreciate it.

\n" "
Franklin P. Jones\n" "
\n" "

Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

\n" "
Albert Einstein\n" "
\n" "

If there's no light at the end of the tunnel, get down there and light the darn thing yourself!

\n" "
Lauri Watts\n" "
\n" "

Unix is the most user friendly system I know, the point is the it is really selective about who is indeed its friend.

\n" "
Luigi Genoni\n" "
\n" "

The difference between theory and practice, is that in theory, there is no difference between theory and practice.

\n" "
Richard Moore\n" "
\n" "

Your mind is like a parachute. It works best when open.

\n" "
Matthias Elter\n" "
\n" "

I might disagree with what you have to say,\n" "but I'll defend your right to say it to the death.

\n" "
Voltaire\n" "
\n" "

Software is like sex, it is better when it is free.

\n" "
Linus Torvalds\n" "
\n" "

The 3 great virtues of a programmer:
\n" "Laziness, Impatience, and Hubris.

\n" "
Larry Wall\n" "
\n" "

It's the mature and adult thing to do!
\n" "How does that affect me?

\n" "
Seinfeldt\n" "
\n" "

Men don't want children!
\n" "Any man who thinks or says he wants children is no longer a man
\n" "but a pussywhipped freak of nature.

\n" "
Bill Hicks, Rant in E-Minor\n" "
\n" "

Dates are for having fun and people should use them to get to know each other.
\n" "Even boys have something to say if you listen long enough.

\n" "
Lynette, age 8\n" "
\n" "

CNNESPNABCBCVTNT, but mostly BS

\n" "
Television, Disposable Heroes of Hiphoprasy\n" "
\n" "

What did you do yesterday?
\n" "I did absolutely nothing and it was everything I thought it would be.

\n" "
The movie \"Officespace\"\n" "
\n" "

Think about how stupid the average person is.
Then realise that half of them are more stupid than that.

\n" "
George Carlin\n" "
\n" "

I drink to make other people interesting.

\n" "
George Jean Nathan\n" "
\n" "

When everybody is out to get you, paranoid just seems like a good idea.

\n" "
Woody Allen\n" "
\n" "

How to relate to women:
\n" "Treat them like compilers that take simple statements and turn them into\n" "big productions.

\n" "
Userfriendly\n" "
\n" "

Communism doesn't work because people like to own stuff.

\n" "
Frank Zappa\n" "
\n" "

Sure there have been injuries and deaths in boxing,
\n" "but none of them serious.

\n" "
Boxer Alan Minter\n" "
\n" "

Plans are useless, but planning is indispensible.

\n" "
Dwight Eisenhower\n" "
\n" "

Life is a sexually transmittable desease with terminal outcome.

\n" "
Unknown\n" "
\n" "

I'm on a seafood diet.

\n" "So am I. When I see food I eat it.

\n" "
The Drew Carey Show\n" "
\n" "

I'm bi-sexual. Whenever I want sex I have to buy it.

\n" "
Splitting Heirs\n" "
\n" "

What do you think of western civilisation?
\n" "I think it would be a good idea.

\n" "
Muhatma Gandhi\n" "
\n" "

Failure is not an option, it comes bundled with the software.

\n" "
Unknown\n" "
\n" "

If you don't know where you are going you are never lost.

\n" "
Unknown\n" "
\n" "

If you're right 90% of the time, why quibble about the remaining 3%?

\n" "
Unknown\n" "
\n" "

Hiroshima '45 Chernobyl '86 Windows '95

\n" "
Unknown\n" "
\n" "

Acceptance testing: An unsuccessfull attempt to find bugs.

\n" "
Unknown\n" "
\n" "

Great minds discuss ideas,
\n" "Average minds discuss events,
\n" "Small minds discuss people.

\n" "
Unknown\n" "
\n" "

Don't take life to seriously, you'll never get out of it alive anyway.

\n" "
Unknown\n" "
\n" "

Light travels faster than sound.
\n" "That is why some people appear bright
\n" "until you hear them speak.

\n" "
Unknown\n" "
\n" "

Jag spenderade mina pengar pĺ sprit kvinnor och sĺng.
\n" "Resten slösade jag bort.

\n" "

(Roughly: I spent my money on women, drinking and singing..
\n" "The rest I squandered).

\n" "
Unknown Swede\n" "
\n" "

A hen is an egg's way of making another egg.

\n" "
Unknown\n" "
\n" "

Those who live by the sword, get shot by those who don't.

\n" "
Unknown\n" "
\n" "

\n" "
    \n" "
  • Make it idiot proof, and someone will make a better idiot.

    \n" "

  • I don't suffer from insanity. I enjoy every minute of it.

    \n" "

  • Press any key to continue or any other key to quit

    \n" "

  • The box said \"Requires Windows 95 or better.\" So I installed LINUX

    \n" "

  • <-- Your information went that way -->

    \n" "

  • Go away, or I will replace you with a very small shell script.

    \n" "

  • Do not meddle in the affairs of sysadmins, for they are suddle and quick to anger.\n" "
  • SELECT * FROM users WHERE clue > 0
    \n" "0 rows returned\n" "
\n" "

\n" "
Think Geek (http://www.thinkgeek.com/)\n" "
\n" "

\n" "
    \n" "
  • Luck can't last a lifetime unless you die young!

    \n" "

  • Misfortune: While good fortune often eludes you, this kind never misses.

    \n" "

  • For every winner, there are dozens of losers. Odds are you are one of them.

    \n" "

  • Failure: When your best just isn't good enough.

    \n" "

  • Quitters never win, winners never quit, but those who never win and never quit are idiots.

    \n" "

  • If you can't learn to do something well, learn to enjoy doing it poorly.

    \n" "

  • If at first you don't succeed, failure may be your style.

    \n" "

  • There are no stupid questions, but there are a lot of inquisitive idiots.

    \n" "

  • There is no joy greater than soaring high on the wings of your dreams,\n" " except mayby the joy of watching a dreamer who has nowhere to land but in the ocean of reality.

    \n" "

  • The only consistent feature of all of your dissatisfying relationships is you.

    \n" "

  • When you earnestly believe you can compensate for a lack of skill by doubling your efforts,\n" " there's no end to what you can't do.

    \n" "

  • Never underestimate the power of stupid people in large groups.

    \n" "

  • The downside of being better than everyone else is that people tend to assume you're pretentious.

    \n" "

  • In the battle between you and the world, bet on the world.

    \n" "

  • You'll always miss 100% of the shots you don't take, and, statistically speaking, 99% of the shots you do.

    \n" "

  • The secret to success is knowing who to blame for your failures.

    \n" "

  • When birds fly in the right formation, they need only exert half the effort.\n" " Even in nature, teamwork results in collective laziness.

    \n" "

  • It's amazing how much easier it is for a team to work together when no one has any idea where they're going.

    \n" "

  • Attitudes are contagious. Mine might kill you.

    \n" "

  • When people are free to do as they please, they usually imitate each other.

    \n" "

  • If we don't take care of the customer, mayby they'll stop bugging us.

    \n" "

  • It takes months to find a customer, but only seconds to lose one.\n" " The good news is we should run out of them in no time.

    \n" "

  • Mediocrity: It takes a lot less time, and most people won't notice the difference until it's too late.

    \n" "

  • Laziness: Success is a jurney, not a destination. So stop running.

    \n" "

  • Hard work often pays off after time, but laziness always pays off now.

    \n" "

  • The tallest blade of grass is the first to be cut by the lawnmower.\n" "
\n" "

\n" "
Despair INC (http://www.despair.com/)\n" "
"; #endif #define ABOUT_CAPTION TOAPPNAME " %1" void toAllocLogo(void) { static bool Alloced = false; if (!Alloced) { Alloced = true; QMimeSourceFactory::defaultFactory()->setPixmap(QString::fromLatin1("largelogo.xpm"), QPixmap(const_cast(largelogo_xpm))); } } toSplash::toSplash(QWidget *parent, const char *name, WFlags f) : QVBox(parent, name, f) { toAllocLogo(); setBackgroundColor(white); QLabel *logo = new QLabel(this, "Logo"); logo->setBackgroundColor(white); logo->setPixmap(QPixmap(const_cast(largelogo_xpm))); Label = new QLabel(tr("Loading plugins"), this); Label->setBackgroundColor(white); Progress = new QProgressBar(this, "Progress"); QWidget *d = QApplication::desktop(); move((d->width() - width()) / 2, (d->height() - height()) / 2); } toAbout::toAbout(int page, QWidget* parent, const char* name, bool modal, WFlags fl) : toAboutUI(parent, name, modal, fl) { toAllocLogo(); switch (page) { #ifndef TOAD case 2: setCaption(tr("Quotes")); TextView->setText(tr(QuoteText)); TextView->setPaper(QColor(255, 255, 255)); TextView->setTextFormat(RichText); CancelButton->hide(); break; #endif case 1: #if defined(TO_LICENSE) || defined(TOAD) setCaption(tr("End User License")); #else setCaption(tr("GNU General Public License")); #endif TextView->setText(tr(LicenseText)); TextView->setPaper(QColor(255, 255, 255)); TextView->setTextFormat(PlainText); if (parent) CancelButton->hide(); break; default: setCaption(tr(ABOUT_CAPTION).arg(QString::fromLatin1(TOVERSION))); QString buffer = tr(AboutText).arg(QString::fromLatin1(TOVERSION)); TextView->setText(buffer); #if defined(OAS) || defined(TOAD) TextView->setPaper(QColor(255, 255, 255)); #else TextView->setPaper(QColor(227, 184, 54)); #endif TextView->setTextFormat(RichText); CancelButton->hide(); break; } } const char *toAbout::aboutText(void) { toAllocLogo(); return AboutText; }