Skip to content

Commit

Permalink
增加了qml TextEdit对gif图的支持
Browse files Browse the repository at this point in the history
  • Loading branch information
arjide committed Nov 6, 2014
1 parent 917d9aa commit 057ae05
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/qqstars/qqiteminfo.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef QQITEMINFO_H
#define QQITEMINFO_H

#include <QQuickItem>
#include <QtSql>
#include <QSettings>
#include <QObject>
Expand Down Expand Up @@ -134,7 +133,7 @@ class QQItemInfo:public QObject
enum QQItemType{
Friend,//好友
Group,//
Discu,//讨论组
Discu//讨论组
};

private:
Expand Down
2 changes: 1 addition & 1 deletion src/qqstars/qqstars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ QQCommand *QQCommand::getFirstQQCommand()
return firstQQCommand;
}

QQCommand::QQCommand(QQuickItem *parent) :
QQCommand::QQCommand( QObject *parent) :
FriendInfo(parent)
{
if(firstQQCommand==NULL)
Expand Down
4 changes: 3 additions & 1 deletion src/qqstars/qqstars.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#include <QDebug>
#include <QByteArray>
#include <QTimer>
#include <QQuickItem>
#include <QJSEngine>
#include "qqiteminfo.h"

class MyWindow;
Expand All @@ -31,7 +33,7 @@ class QQCommand : public FriendInfo
static QQCommand *firstQQCommand;
public:
static QQCommand *getFirstQQCommand();//返回第一个被创建的QQCommand对象
explicit QQCommand(QQuickItem *parent = 0);
explicit QQCommand( QObject *parent = 0);
enum LoginStatus{//登录状态
WaitLogin,//离线
Logining,//登录中
Expand Down

0 comments on commit 057ae05

Please sign in to comment.