Changeset 723d8fa


Ignore:
Timestamp:
04/17/14 08:45:36 (17 months ago)
Author:
JoshDW19 <joshms@…>
Branches:
master, enter/10, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1, releng/10.1.2, releng/10.2, stable/10
Children:
768b81c
Parents:
554eae8
Message:

Main program framework commit. Builds / runs.

Location:
lumina/lumina-config
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • lumina/lumina-config/lumina-config.pro

    r554eae8 r723d8fa  
    1414FORMS    += mainUI.ui 
    1515 
    16 RESOURCES+= lumina-config.qrc 
     16# RESOURCES+= lumina-config.qrc 
    1717 
    1818INCLUDEPATH += ../libLumina /usr/local/include 
    19 LIBS     += -L../libLumina -lLuminaUtils 
     19LIBS     += -L../libLumina -lLuminaUtils -lQtSolutions_SingleApplication-head 
    2020 
    2121TRANSLATIONS =  i18n/lumina-config_af.ts \ 
  • lumina/lumina-config/main.cpp

    r9b89bb9 r723d8fa  
    33#include <QtGui/QApplication> 
    44#include <QDebug> 
    5 #include "MainUI.h" 
     5#include "mainUI.h" 
     6#include <QFile> 
     7#include <QDir> 
    68 
    79#ifndef PREFIX 
     
    1416    if( a.isRunning() ) 
    1517      return !(a.sendMessage("show")); 
    16  
    1718     
    1819    QTranslator translator; 
  • lumina/lumina-config/mainUI.cpp

    r259ca8f r723d8fa  
    11#include "mainUI.h" 
    22#include "ui_mainUI.h" //the designer *.ui file 
     3#include <QDir> 
    34 
    4 MainUI::MainUI() : QMainWindow(), ui(new Ui::MainWindow()){ 
     5MainUI::MainUI() : QMainWindow(), ui(new Ui::MainUI()){ 
    56  ui->setupUi(this); //load the designer file 
     7  settings = new QSettings( QDir::homePath()+"/.lumina/settings/Lumina-DE/desktopsettings.conf"); 
    68         
    79} 
Note: See TracChangeset for help on using the changeset viewer.