Browse Source

Rename KInstance and KAboutData to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 9 years ago
parent
commit
655931fdf8
  1. 4
      src/app/main.cpp
  2. 4
      src/part/part.cpp
  3. 4
      src/part/part.h

4
src/app/main.cpp

@ -16,9 +16,9 @@ static const KCmdLineOptions options[] =
{ 0, 0, 0 }
};
static KAboutData about(
static TDEAboutData about(
APP_NAME, I18N_NOOP( APP_PRETTYNAME ), APP_VERSION,
I18N_NOOP("Graphical disk-usage information"), KAboutData::License_GPL_V2,
I18N_NOOP("Graphical disk-usage information"), TDEAboutData::License_GPL_V2,
I18N_NOOP("(C )2006 Max Howell"), 0,
"http://www.methylblue.com/filelight/", "filelight@methylblue.com" );

4
src/part/part.cpp

@ -173,10 +173,10 @@ Part::configFilelight()
dialog->show(); //deletes itself
}
KAboutData*
TDEAboutData*
Part::createAboutData()
{
return new KAboutData( APP_NAME, I18N_NOOP( APP_PRETTYNAME ), APP_VERSION );
return new TDEAboutData( APP_NAME, I18N_NOOP( APP_PRETTYNAME ), APP_VERSION );
}
bool

4
src/part/part.h

@ -9,7 +9,7 @@
#include <kparts/part.h>
#include <kurl.h>
class KAboutData;
class TDEAboutData;
using KParts::StatusBarExtension;
namespace RadialMap { class Widget; }
class Directory;
@ -39,7 +39,7 @@ namespace Filelight
TQString prettyURL() const { return m_url.protocol() == "file" ? m_url.path() : m_url.prettyURL(); }
static KAboutData *createAboutData();
static TDEAboutData *createAboutData();
public slots:
virtual bool openURL( const KURL& );

Loading…
Cancel
Save